From patchwork Tue Mar 24 09:25:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 46229 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f198.google.com (mail-we0-f198.google.com [74.125.82.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CE303214B0 for ; Tue, 24 Mar 2015 09:28:45 +0000 (UTC) Received: by wesw62 with SMTP id w62sf14618278wes.0 for ; Tue, 24 Mar 2015 02:28:45 -0700 (PDT) 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=G+dLS0D33Et/nTAo255WHAogcz/xY8l4jF3U+88Yym4=; b=mM5Rce0mvz4TMrIFG2snXbbCOExLlMVYX8c3M8CWtolm66eunCAFdxb7qr1LC0x3ec gMDd9eYzRQT6rcGsiXQQkXTSRaPh0F/WBY7IvbZ1d3782G/AVp0zxbiLq/RMIyvmoCYI XeXmh4v6wZbex08vXQoaFpYACuzE2WFaRYTcQln+Pj9iLQPQXJ7vjfSSJc9FKvBnoTpG o7hG6Jz9ZmUZf01kuFjRrivXfHkAZKCA2hqZPscfmWG+yDepcIwaMr9pwhf14odmPxGi zxMHAY2HA1in9a5tNw7oTHzjfHUmiBXvA3z49jfqArVpxaigZOhwiRXvH7AooXLO+hwd /zSA== X-Gm-Message-State: ALoCoQmdSGJY48z1AGXT3Xg0bAwo+eaVJ3GP9vKr7TcVn+TAQDgRJDociLqwl7qgk2k1s/G70wwl X-Received: by 10.180.23.229 with SMTP id p5mr1693126wif.2.1427189325173; Tue, 24 Mar 2015 02:28:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.121.70 with SMTP id li6ls731345lab.44.gmail; Tue, 24 Mar 2015 02:28:44 -0700 (PDT) X-Received: by 10.112.17.68 with SMTP id m4mr2969647lbd.50.1427189324936; Tue, 24 Mar 2015 02:28:44 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id kx13si2506463lbb.152.2015.03.24.02.28.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Mar 2015 02:28:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by laae1 with SMTP id e1so22447814laa.2 for ; Tue, 24 Mar 2015 02:28:44 -0700 (PDT) X-Received: by 10.152.206.70 with SMTP id lm6mr2951876lac.35.1427189324814; Tue, 24 Mar 2015 02:28:44 -0700 (PDT) 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.57.201 with SMTP id k9csp1330319lbq; Tue, 24 Mar 2015 02:28:43 -0700 (PDT) X-Received: by 10.66.149.230 with SMTP id ud6mr6091198pab.126.1427189317820; Tue, 24 Mar 2015 02:28:37 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id ql2si4748356pac.138.2015.03.24.02.28.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Mar 2015 02:28:37 -0700 (PDT) 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 1YaL6o-00080J-DZ; Tue, 24 Mar 2015 09:26:50 +0000 Received: from mail-wi0-f170.google.com ([209.85.212.170]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YaL6B-0007iW-Ex for linux-arm-kernel@lists.infradead.org; Tue, 24 Mar 2015 09:26:12 +0000 Received: by wibgn9 with SMTP id gn9so89466617wib.1 for ; Tue, 24 Mar 2015 02:25:48 -0700 (PDT) X-Received: by 10.194.21.193 with SMTP id x1mr6096773wje.144.1427189148632; Tue, 24 Mar 2015 02:25:48 -0700 (PDT) Received: from localhost.localdomain ([81.134.86.34]) by mx.google.com with ESMTPSA id pm6sm2549370wic.20.2015.03.24.02.25.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Mar 2015 02:25:47 -0700 (PDT) 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 v6 1/9] mfd: dt-bindings: Provide human readable defines for LPC mode choosing Date: Tue, 24 Mar 2015 09:25:32 +0000 Message-Id: <1427189140-1935-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427189140-1935-1-git-send-email-lee.jones@linaro.org> References: <1427189140-1935-1-git-send-email-lee.jones@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150324_022611_681259_C021109A X-CRM114-Status: UNSURE ( 9.29 ) 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.170 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.212.170 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.46 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. Reviewed-by: Guenter Roeck 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__ */