From patchwork Wed Feb 25 13:52:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 45066 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7E4F92142A for ; Wed, 25 Feb 2015 13:55:13 +0000 (UTC) Received: by labge10 with SMTP id ge10sf3015597lab.3 for ; Wed, 25 Feb 2015 05:55:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=yaGe1XcwtyKWaIG68bV/yTAVyUshuZG70+/WvDA14To=; b=JgSKUFAh26Uj3QwuXU1ZS8pHptlgaUuGsTk2k4oQLItz9mOvJzuYE8s40+CwYAlJZt Qx2N5VizX177MJMhI63ae46ChJHJYLDduyEebNmaGnii4QTNDwfNvOFFmSWt1r+HGFfh qszArBxePg+zzV/7MOAWpmqDZlju2ERe5BhjXHpjebs6MqPptfQ5He1/90Cq0/hGfsfh nGyxMTdm39V4tlJOeGdNGeHdkIg8J6datZ1rhu58cldrQreO/Jyj07NClj+DYlBmnQm6 8ODhQrhAzqr0XoNNcqtJIeQssBBoswDynmIqo8VZzg9adtzO0kRxRHlXL1P5Atd7FP+M 183g== X-Gm-Message-State: ALoCoQli6EWIH+cPNXOSpprCGxRZSIVbWyqxXGsF50ljdtg6XbxSeVSPE8puIohQJ+hVB9rbMDYy X-Received: by 10.194.221.65 with SMTP id qc1mr498433wjc.7.1424872511967; Wed, 25 Feb 2015 05:55:11 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.130 with SMTP id v2ls659270lae.98.gmail; Wed, 25 Feb 2015 05:55:11 -0800 (PST) X-Received: by 10.152.205.4 with SMTP id lc4mr2897832lac.60.1424872511670; Wed, 25 Feb 2015 05:55:11 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id ny6si28615703lbb.61.2015.02.25.05.55.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 05:55:11 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by labge10 with SMTP id ge10so3933920lab.12 for ; Wed, 25 Feb 2015 05:55:11 -0800 (PST) X-Received: by 10.112.57.139 with SMTP id i11mr2901244lbq.106.1424872511531; Wed, 25 Feb 2015 05:55:11 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp2631919lbj; Wed, 25 Feb 2015 05:55:10 -0800 (PST) X-Received: by 10.68.241.164 with SMTP id wj4mr5499798pbc.53.1424872509560; Wed, 25 Feb 2015 05:55:09 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id xi4si8350201pbb.109.2015.02.25.05.55.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 05:55:09 -0800 (PST) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQcPC-0001hz-8v; Wed, 25 Feb 2015 13:53:38 +0000 Received: from mail-wi0-f176.google.com ([209.85.212.176]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQcOe-0001QN-L3 for linux-arm-kernel@lists.infradead.org; Wed, 25 Feb 2015 13:53:05 +0000 Received: by mail-wi0-f176.google.com with SMTP id h11so33468881wiw.3 for ; Wed, 25 Feb 2015 05:52:42 -0800 (PST) X-Received: by 10.194.200.233 with SMTP id jv9mr6407521wjc.51.1424872361932; Wed, 25 Feb 2015 05:52:41 -0800 (PST) Received: from localhost.localdomain (host109-148-232-70.range109-148.btcentralplus.com. [109.148.232.70]) by mx.google.com with ESMTPSA id v7sm64937727wju.22.2015.02.25.05.52.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 05:52:41 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, 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: [PATCH v4 1/9] mfd: dt-bindings: Provide human readable defines for LPC mode choosing Date: Wed, 25 Feb 2015 13:52:21 +0000 Message-Id: <1424872349-4155-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424872349-4155-1-git-send-email-lee.jones@linaro.org> References: <1424872349-4155-1-git-send-email-lee.jones@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150225_055304_863663_DEDEFA8B X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.176 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.212.176 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: lee.jones@linaro.org, kernel@stlinux.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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 --- 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__ */