From patchwork Mon Dec 15 11:25:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 42231 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3DF3621772 for ; Mon, 15 Dec 2014 11:27:34 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id p9sf7083492lbv.9 for ; Mon, 15 Dec 2014 03:27:33 -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=IqpIHNgmcQM0FTCcOE5Gv+ySsCQR6gmjaPHtmYXdkqg=; b=kb+AFefbtaEBhESrJNWOyWEMAsqN/E1bjTQSBBAVUbnq72igLNj9clf4XOmX2oGgCB CrnUe0dZ56BnUXwIAosw/IqskDCA7jeQzqIb+aTbIHrxfiGC4s6V2lBDGdDgYpjvYdKi uQVYnwtH+jt4M3O1UAjxRtaaJvc5b5Cp3TPtWJn6SKPVsJ0Vj9UGZiUSkX6CFVbLG8LH NhHLjc05pVDmE0J2XBPeWbQ3XQxlMbdh+bYB4Fmn098rNLclRRj3tVAfvAD1Q7QQTerg dD90Q4+lTXke3RFpilKA1vn5GUF723xYDRdM8dfHuHSqQHtOgfGXq+rbjx42jJFLyB71 nzHA== X-Gm-Message-State: ALoCoQnooWIUj50IIZAx/54vBZCM87Y+RrBURqP+nTRDrrAQlvSfTHx7EyuhaQYFIbSBMeSqWHKK X-Received: by 10.112.204.71 with SMTP id kw7mr228861lbc.13.1418642853207; Mon, 15 Dec 2014 03:27:33 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.98 with SMTP id d2ls721509lae.19.gmail; Mon, 15 Dec 2014 03:27:33 -0800 (PST) X-Received: by 10.152.234.35 with SMTP id ub3mr29988481lac.70.1418642852999; Mon, 15 Dec 2014 03:27:32 -0800 (PST) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id m1si10161404lam.44.2014.12.15.03.27.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Dec 2014 03:27:32 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by mail-lb0-f169.google.com with SMTP id p9so9056131lbv.28 for ; Mon, 15 Dec 2014 03:27:32 -0800 (PST) X-Received: by 10.152.5.226 with SMTP id v2mr18717492lav.34.1418642852863; Mon, 15 Dec 2014 03:27:32 -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.142.69 with SMTP id ru5csp684418lbb; Mon, 15 Dec 2014 03:27:32 -0800 (PST) X-Received: by 10.66.139.234 with SMTP id rb10mr49960991pab.146.1418642851008; Mon, 15 Dec 2014 03:27:31 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si11388102pdo.181.2014.12.15.03.27.30 for ; Mon, 15 Dec 2014 03:27:30 -0800 (PST) Received-SPF: none (google.com: linux-kernel-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 S1752164AbaLOL1Z (ORCPT + 27 others); Mon, 15 Dec 2014 06:27:25 -0500 Received: from mail-yk0-f175.google.com ([209.85.160.175]:40595 "EHLO mail-yk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750865AbaLOLZ6 (ORCPT ); Mon, 15 Dec 2014 06:25:58 -0500 Received: by mail-yk0-f175.google.com with SMTP id 200so4827322ykr.34 for ; Mon, 15 Dec 2014 03:25:58 -0800 (PST) X-Received: by 10.236.7.52 with SMTP id 40mr21561978yho.172.1418642758036; Mon, 15 Dec 2014 03:25:58 -0800 (PST) Received: from localhost.localdomain (host109-148-232-11.range109-148.btcentralplus.com. [109.148.232.11]) by mx.google.com with ESMTPSA id y67sm5772300yhc.11.2014.12.15.03.25.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Dec 2014 03:25:57 -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, a.zummo@towertech.it, rtc-linux@googlegroups.com, wim@iguana.be, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 4/8] mfd: dt-bindings: Provide human readable defines for LPC mode choosing Date: Mon, 15 Dec 2014 11:25:34 +0000 Message-Id: <1418642738-17407-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1418642738-17407-1-git-send-email-lee.jones@linaro.org> References: <1418642738-17407-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.217.169 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: , 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__ */