From patchwork Thu Jan 22 11:55:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 431785 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pa0-x23e.google.com (mail-pa0-x23e.google.com [IPv6:2607:f8b0:400e:c03::23e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id CF3431402AF for ; Thu, 22 Jan 2015 22:56:39 +1100 (AEDT) Received: by mail-pa0-f62.google.com with SMTP id fa1sf178501pad.7 for ; Thu, 22 Jan 2015 03:56:38 -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=XOtn+6DKo6ibCIUyj6zVBDi06QULaANKrnSbtRHzqZKKpwSMajTQJGCut4dBa7CaBo RPienfi0sn0idxuWDiZGx2mtQ+a3kQi5QcHUz2CcV0DnQStPcrQviYye32zp80i5nEBS KImgxtzRLgDzpYuGgJQMreJZ8Oo/lfbLHEtk58yQEdGbPjllDxlE6EbOr4gI0l6E1BsC ezCMBet6p8B4FQCENjH5Mz2ShD6QkzjqD3i2OEqbbRkMkJPWqDnZK1rhv24cBxaHfUGu LzcgYtjnQENlIV9zVKiqHHMg3LXm8UV1zMhJgPOkhuHotyqfRUEK4+t0TFouWmha4/Ob 295Q== 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=gHBwqpH6ggmt96pvuI/M4WGtu4xrqLqoALf9266DG/E9K0RRl5FDls394h5TvZ5paO O2SnVjP1d83I1Bty+jj7mMi8lG1GP22jGMROhMVOnOVQd3P6xyEp1tBRp0UoJwG+5WdJ VOaikaz9zqmipGEeNrI4ONEPEocv0gR2EUeLFjVwZ5rgrbwLHX4QsUp76NcJQ5LOmhr9 sDHCRz1ds3hgCkmkTTAIcrTC2WICsq8AsZXmaWN8r2WKkR/q+PHHWt8UosqdISYR2qsw 1DfRtZF0D7Na44vWK1MbjhRY887f8rUsTQtBXloHEeaEAuIYHRUUi4QoiVjoy/TAcSVA 6aFg== X-Received: by 10.182.33.38 with SMTP id o6mr4980obi.16.1421927797916; Thu, 22 Jan 2015 03:56:37 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.182.241.231 with SMTP id wl7ls200885obc.16.gmail; Thu, 22 Jan 2015 03:56:37 -0800 (PST) X-Received: by 10.182.79.168 with SMTP id k8mr682788obx.49.1421927797613; Thu, 22 Jan 2015 03:56:37 -0800 (PST) Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com. [209.85.213.177]) by gmr-mx.google.com with ESMTPS id x16si422840igx.0.2015.01.22.03.56.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 03:56:37 -0800 (PST) Received-SPF: pass (google.com: domain of lee.jones@linaro.org designates 209.85.213.177 as permitted sender) client-ip=209.85.213.177; Received: by mail-ig0-f177.google.com with SMTP id z20so143684igj.4 for ; Thu, 22 Jan 2015 03:56:37 -0800 (PST) X-Gm-Message-State: ALoCoQnLra6a0ezwcwmJCsGUV8N5Tu4Tk4lqqIe0F0xH+HDyalE2Mz472U0hKV16QFE65XExX/sp X-Received: by 10.43.75.69 with SMTP id yz5mr2347347icb.90.1421927797506; Thu, 22 Jan 2015 03:56:37 -0800 (PST) Received: from localhost.localdomain (host109-148-235-13.range109-148.btcentralplus.com. [109.148.235.13]) by mx.google.com with ESMTPSA id cj7sm2404231igb.10.2015.01.22.03.56.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Jan 2015 03:56:36 -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 Subject: [rtc-linux] [PATCH v2 1/9] mfd: dt-bindings: Provide human readable defines for LPC mode choosing Date: Thu, 22 Jan 2015 11:55:59 +0000 Message-Id: <1421927767-28889-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1421927767-28889-1-git-send-email-lee.jones@linaro.org> References: <1421927767-28889-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.213.177 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 --- 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__ */