From patchwork Wed Mar 4 18:06:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 446350 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-we0-x23f.google.com (mail-we0-x23f.google.com [IPv6:2a00:1450:400c:c03::23f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 94C43140146 for ; Thu, 5 Mar 2015 05:06:48 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="2048-bit key; unprotected key" header.d=googlegroups.com header.i=@googlegroups.com header.b=Eo1O5Js6; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: by wesk11 with SMTP id k11sf12231825wes.3 for ; Wed, 04 Mar 2015 10:06:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:content-type:precedence:mailing-list:list-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe; bh=lx5F+xl09LBo0ObGLZKKJyyIzshWXhLDs4Owkjh48es=; b=Eo1O5Js6IuBX0BDEM9RKWZmr3e7n+lhHom4P6s4W7vi/QyC4lqaz3rzUMKPb45/Sz/ s8IJ+NWdAupadink6MSCxpPW1HpzHnnyjZBf3ahVM65/2lNKGCnpB9gSMpNRTO84Z6NP Lqe+kUa3ZOBAvVSx6sYVUUAB1Rs1M5hfKjW5C7kNupF8VIGxAFRtA8SzXwT7ODDRV0Ph 6HZyA4/ABhMFmyQyVkTaNBk8AoB6Nmo/K/2VwbmM9U2MebKFa9PHKS9qvsfYeAT7Tq9o 5puksgxQehq1tusD8BGkpIbqR+7Dm/rhylwyRu6SZ3Fs7fP0LBRbmhXAWqvgEvCOqrz/ +ngQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:content-type:precedence :mailing-list:list-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe; bh=lx5F+xl09LBo0ObGLZKKJyyIzshWXhLDs4Owkjh48es=; b=K613tM5DYwgqMP4NNwAZVMT+H2F2CBvxn9nqzKEJH6dLEaGuhojQrhuYuSSaDRb3kP y+yCkMmMbXJ5ojC9xEQW97w8vJ7NmjWB302rGhyKp3puIXMwo7VcdIzMsR9LqO74qVPz drhzN5PQWMOUG+VDXSIq50Eo24ksvP48ZFs/fmeSKpNa+1nXNuvCDOcnKBvCjKp+o7HF 0mhYkvArT5csTOfAQioLfyDn5EYgwUHQyq0VXMrC/hi6ECTdnrt2JCe43BHigXNzIOzZ lYLd44sAvD8vp9TlcqBVklHys+Qg9dv2NIlMPsSuZ6vuZGBcEfzso3n/Kqw2gV61pIMW bx6A== X-Received: by 10.180.221.44 with SMTP id qb12mr93480wic.14.1425492406469; Wed, 04 Mar 2015 10:06:46 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.180.11.97 with SMTP id p1ls178867wib.51.gmail; Wed, 04 Mar 2015 10:06:46 -0800 (PST) X-Received: by 10.180.11.34 with SMTP id n2mr1358095wib.2.1425492406132; Wed, 04 Mar 2015 10:06:46 -0800 (PST) Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com. [209.85.212.169]) by gmr-mx.google.com with ESMTPS id o3si1155708wib.2.2015.03.04.10.06.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2015 10:06:46 -0800 (PST) Received-SPF: pass (google.com: domain of lee.jones@linaro.org designates 209.85.212.169 as permitted sender) client-ip=209.85.212.169; Received: by mail-wi0-f169.google.com with SMTP id ex7so30748424wid.1 for ; Wed, 04 Mar 2015 10:06:46 -0800 (PST) X-Gm-Message-State: ALoCoQkZ4IQV6ucw2MrQn+6DKrjGcl6gwIr+5aPMeWYc2d7wKqSFQTmjfMOtaYk1ktz56SesVGZz X-Received: by 10.194.85.129 with SMTP id h1mr10292091wjz.147.1425492406026; Wed, 04 Mar 2015 10:06:46 -0800 (PST) Received: from localhost.localdomain (host81-134-85-168.in-addr.btopenworld.com. [81.134.85.168]) by mx.google.com with ESMTPSA id g5sm6993664wjr.19.2015.03.04.10.06.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Mar 2015 10:06:45 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, rtc-linux@googlegroups.com, wim@iguana.be, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux@roeck-us.net, david.paris@st.com, a.zummo@towertech.it Subject: [rtc-linux] [PATCH v5 1/9] mfd: dt-bindings: Provide human readable defines for LPC mode choosing Date: Wed, 4 Mar 2015 18:06:30 +0000 Message-Id: <1425492398-27340-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1425492398-27340-1-git-send-email-lee.jones@linaro.org> References: <1425492398-27340-1-git-send-email-lee.jones@linaro.org> X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of lee.jones@linaro.org designates 209.85.212.169 as permitted sender) smtp.mail=lee.jones@linaro.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , ST's Low Power Controller can currently operate in two supported modes; Watchdog and Real Time Clock. These defines will aid engineers to easily identify the selected mode. Signed-off-by: Lee Jones Reviewed-by: Guenter Roeck --- include/dt-bindings/mfd/st-lpc.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/dt-bindings/mfd/st-lpc.h diff --git a/include/dt-bindings/mfd/st-lpc.h b/include/dt-bindings/mfd/st-lpc.h new file mode 100644 index 0000000..e3e6c75 --- /dev/null +++ b/include/dt-bindings/mfd/st-lpc.h @@ -0,0 +1,15 @@ +/* + * This header provides shared DT/Driver defines for ST's LPC device + * + * Copyright (C) 2014 STMicroelectronics -- All Rights Reserved + * + * Author: Lee Jones for STMicroelectronics + */ + +#ifndef __DT_BINDINGS_ST_LPC_H__ +#define __DT_BINDINGS_ST_LPC_H__ + +#define ST_LPC_MODE_RTC 0 +#define ST_LPC_MODE_WDT 1 + +#endif /* __DT_BINDINGS_ST_LPC_H__ */