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: 43505 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C928D218DB for ; Thu, 22 Jan 2015 11:56:53 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id n3sf1415923wiv.0 for ; Thu, 22 Jan 2015 03:56:53 -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=DbyAHi5NG1EpOeudi7CT/QeQnqb+wHapI/m0NxlWWs0=; b=iBJJKX2qQuqEbjYUnYd5wnWCSM3hOPDMpWC0FAD6nrm36xbytfipjosAL8P0eQV4pj wQqiscOA+lbpfPYf4Ut95PMh2olaXuHdebtyvgW7Or+Kzp/yQk96BgTVqIGjXmi0pnfw oZYzza8UL/eYV5P4OKzokrGY6ok/AtqUIrjFWpGmUHm8vE9hJiN+0wy2+LJLl3En/LWU RsqN1phJPpZDVyqq/5/0wk5mjQ0MWDuZapzykT87YFHf6+xPSksQM0i/SQniBgLwNkek +4THPeIqus9qxzpNG4JyhpYYUqBLHyjDalXOmio79op+nIO/0p5tUzWv0Yj2rV+URJSE kOPw== X-Gm-Message-State: ALoCoQnqiH413YbiswP8/m4T1V88J94p+vpD1M0I1aqFn6oboJ4TQpl/Ckw/aZMJ9zVJhCRaWjw2 X-Received: by 10.180.87.72 with SMTP id v8mr1667087wiz.3.1421927813124; Thu, 22 Jan 2015 03:56:53 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.104 with SMTP id kx8ls148309lac.82.gmail; Thu, 22 Jan 2015 03:56:52 -0800 (PST) X-Received: by 10.152.205.104 with SMTP id lf8mr1081936lac.94.1421927812969; Thu, 22 Jan 2015 03:56:52 -0800 (PST) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id lc9si21914028lac.54.2015.01.22.03.56.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 03:56:52 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by mail-lb0-f177.google.com with SMTP id p9so1085059lbv.8 for ; Thu, 22 Jan 2015 03:56:52 -0800 (PST) X-Received: by 10.152.182.235 with SMTP id eh11mr1086020lac.9.1421927812849; Thu, 22 Jan 2015 03:56:52 -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.9.200 with SMTP id c8csp236009lbb; Thu, 22 Jan 2015 03:56:52 -0800 (PST) X-Received: by 10.70.128.173 with SMTP id np13mr1489187pdb.15.1421927811144; Thu, 22 Jan 2015 03:56:51 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dt7si7515868pdb.77.2015.01.22.03.56.50; Thu, 22 Jan 2015 03:56:51 -0800 (PST) Received-SPF: none (google.com: devicetree-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 S1751676AbbAVL4n (ORCPT + 5 others); Thu, 22 Jan 2015 06:56:43 -0500 Received: from mail-ig0-f182.google.com ([209.85.213.182]:44338 "EHLO mail-ig0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814AbbAVL4i (ORCPT ); Thu, 22 Jan 2015 06:56:38 -0500 Received: by mail-ig0-f182.google.com with SMTP id r10so1894729igi.3 for ; Thu, 22 Jan 2015 03:56:37 -0800 (PST) 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: [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> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.177 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__ */