From patchwork Wed Dec 17 16:45:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 42386 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 77A2426C8F for ; Wed, 17 Dec 2014 16:46:08 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id ex7sf6552539wid.11 for ; Wed, 17 Dec 2014 08:46:07 -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=MdFnqxytiCYhkhvwgXpIbbVIQWgy3YBD2L/xce5fm3v1KopwKXGTPBkA+pLwRipqxp o9ocb+Dk7NdtH+W0M5qe6oZEoMN1gSyLJ/Nywx8rERWaz8F2LTqBtCY9IJBIwDLk8E3F v/g0JJJAB7FE0B+wTJ8DPKgo8XGTklTzDjDjtjs50ApY5zWM6TSDtBVfrmN3KOWzvRYO Tdf4f/Fz1Z51fpe/zs0+/MS1WnUIGOMJZo6pJYvZEMuYBpdgeFi5Gbw+X3o8nkm2fURC qz2Ovdcn84oZ5tadM48/tO166m3mWCTwzmvrbWVFWcU8hd1XWhJ9kpTyjVS9me24tEP/ 47vA== X-Gm-Message-State: ALoCoQlkNi/ItS23gJTk8npyryifYxIH01m7GKL2YU/xQcBguiKYc/zr+1bs6RQ8SHS1D/fKt7E/ X-Received: by 10.112.219.199 with SMTP id pq7mr541368lbc.9.1418834767739; Wed, 17 Dec 2014 08:46:07 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.104 with SMTP id kx8ls1049939lac.82.gmail; Wed, 17 Dec 2014 08:46:07 -0800 (PST) X-Received: by 10.112.129.228 with SMTP id nz4mr41815694lbb.8.1418834767557; Wed, 17 Dec 2014 08:46:07 -0800 (PST) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id kt4si4380702lac.71.2014.12.17.08.46.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Dec 2014 08:46:07 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id gd6so13636110lab.17 for ; Wed, 17 Dec 2014 08:46:07 -0800 (PST) X-Received: by 10.112.130.132 with SMTP id oe4mr41757794lbb.82.1418834767426; Wed, 17 Dec 2014 08:46:07 -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 ru5csp1422033lbb; Wed, 17 Dec 2014 08:46:06 -0800 (PST) X-Received: by 10.66.146.193 with SMTP id te1mr73057548pab.154.1418834765048; Wed, 17 Dec 2014 08:46:05 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qu3si6461469pbc.58.2014.12.17.08.46.04; Wed, 17 Dec 2014 08:46:05 -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 S1751335AbaLQQpr (ORCPT + 27 others); Wed, 17 Dec 2014 11:45:47 -0500 Received: from mail-yk0-f178.google.com ([209.85.160.178]:56870 "EHLO mail-yk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751245AbaLQQpo (ORCPT ); Wed, 17 Dec 2014 11:45:44 -0500 Received: by mail-yk0-f178.google.com with SMTP id 20so7042528yks.9 for ; Wed, 17 Dec 2014 08:45:43 -0800 (PST) X-Received: by 10.236.40.100 with SMTP id e64mr18982974yhb.109.1418834743582; Wed, 17 Dec 2014 08:45:43 -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 t3sm2460839yhp.19.2014.12.17.08.45.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Dec 2014 08:45:43 -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, linux@roeck-us.net, arnd@arndb.de Subject: [PATCH 1/8] mfd: dt-bindings: Provide human readable defines for LPC mode choosing Date: Wed, 17 Dec 2014 16:45:20 +0000 Message-Id: <1418834727-1602-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1418834727-1602-1-git-send-email-lee.jones@linaro.org> References: <1418834727-1602-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.215.44 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__ */