Message ID | 1425492398-27340-2-git-send-email-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDA7X7F2WUEBB5MU3WTQKGQED5LNNNQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1F5B92055F for <linaro@patches.linaro.org>; Wed, 4 Mar 2015 18:09:59 +0000 (UTC) Received: by labhs14 with SMTP id hs14sf20351517lab.0 for <linaro@patches.linaro.org>; Wed, 04 Mar 2015 10:09:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=hP4gP5jD3XEuiiiDYnP28TDPhKC6urYLQIV9Z9uzpMY=; b=FSD6TuTRtBeKoFMqmwPyikxWwA03XMqkc0XOjMbNOwE3ZGhJJqh3KzCubbBlvYVMsm Uo1pnpMB9lGxuu5CqWt08Mdxj+jGoKMimUesxbIoG9qrBTLAw81xiTJlFjL/aq5YDAIz iLcqcn+yrCzBqbA4Q3eBSRxkTfAL8p3SP3F9uJIuMgWA1Qz97Iuf3QvPkxqzI/eG/1Lk cOWLC/Z0A4tuEocMCKFtDI/rgXBmmfAHXPb4fgS1yZb4eOXG57u0ofT2wK/0HErd71OD oAVHuKet0SBgdvw9UP+f8zt5oFRUMPlC2lInjsA/yGi6YKWAPD5Y2DcvNbaGedTSJKip QO1w== X-Gm-Message-State: ALoCoQl/l63ZO7UMQMlCuOmj6mcEetPqpokZsN8+uh4oCOcXBgI0j1R2M6OHpwmp55IoPFtVvWrG X-Received: by 10.180.101.101 with SMTP id ff5mr4068357wib.5.1425492598035; Wed, 04 Mar 2015 10:09:58 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.14 with SMTP id t14ls220026laz.61.gmail; Wed, 04 Mar 2015 10:09:57 -0800 (PST) X-Received: by 10.112.141.34 with SMTP id rl2mr4680667lbb.26.1425492597877; Wed, 04 Mar 2015 10:09:57 -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 m5si2907048laj.177.2015.03.04.10.09.57 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2015 10:09:57 -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 ge10so46261312lab.12 for <patchwork-forward@linaro.org>; Wed, 04 Mar 2015 10:09:57 -0800 (PST) X-Received: by 10.112.172.229 with SMTP id bf5mr4548553lbc.72.1425492597704; Wed, 04 Mar 2015 10:09:57 -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 h5csp1381390lbj; Wed, 4 Mar 2015 10:09:56 -0800 (PST) X-Received: by 10.66.136.17 with SMTP id pw17mr8917792pab.33.1425492594526; Wed, 04 Mar 2015 10:09:54 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mj8si5988676pab.130.2015.03.04.10.09.53 for <patch@linaro.org>; Wed, 04 Mar 2015 10:09:54 -0800 (PST) Received-SPF: none (google.com: linux-watchdog-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759400AbbCDSJw (ORCPT <rfc822;patch@linaro.org>); Wed, 4 Mar 2015 13:09:52 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:42024 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758241AbbCDSGr (ORCPT <rfc822;linux-watchdog@vger.kernel.org>); Wed, 4 Mar 2015 13:06:47 -0500 Received: by wesw62 with SMTP id w62so48056532wes.9 for <linux-watchdog@vger.kernel.org>; Wed, 04 Mar 2015 10:06:46 -0800 (PST) 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 <lee.jones@linaro.org> 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: [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> Sender: linux-watchdog-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-watchdog@vger.kernel.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 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
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 <lee.jones@linaro.org> 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__ */
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 <lee.jones@linaro.org> --- include/dt-bindings/mfd/st-lpc.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/dt-bindings/mfd/st-lpc.h