From patchwork Thu Apr 9 14:47:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 46952 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2B8F321416 for ; Thu, 9 Apr 2015 14:50:53 +0000 (UTC) Received: by labgx2 with SMTP id gx2sf27733155lab.1 for ; Thu, 09 Apr 2015 07:50:52 -0700 (PDT) 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=9zM71AIHJL15/KOTRxzsWWLMAOvXBiYMrHB5K+eN2/U=; b=Geu52u/cKHAlHkX6A2kswqaNI8qCYG8//rp2jHf1i31es1O5/jz9+uHAFe5rGqeU8Q QTkFetI+dMgDjUbWZZQXEmoDAOKQuNGcUt9LTGm/AirpaGG6pvNiQ/YV9ZhyoctjqIHI ZvRkVcL2ROTlvThYrQIUyLPA+v8aERQxlWEtSkKXbqquAbQNb+L6bxyWimBxNjK7Ckic vt0i28nHXq0JZvN0hg6cfSYGGtOwb3vandH55fHw4oN+X86XFjF/uHEmpPlEvlj2i/I5 BGb60Q8RMd6jtplxi5imQh12eK6YjIKbffNLhreSp0kmZwkfz06J9wpkdY1yo5812U7h YPeg== X-Gm-Message-State: ALoCoQnUAPzZb/eleE5aZXgB7N9Svjo+g29Cyf2RgqVf/I3gTYOJjPwxQtjZ6RXfBZaPzlwB39CN X-Received: by 10.152.5.168 with SMTP id t8mr12215lat.3.1428591052148; Thu, 09 Apr 2015 07:50:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.4 with SMTP id ls4ls329934lac.73.gmail; Thu, 09 Apr 2015 07:50:51 -0700 (PDT) X-Received: by 10.152.8.78 with SMTP id p14mr4861025laa.19.1428591051910; Thu, 09 Apr 2015 07:50:51 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id l5si11637080lbt.73.2015.04.09.07.50.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2015 07:50:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbcga7 with SMTP id ga7so43381250lbc.1 for ; Thu, 09 Apr 2015 07:50:51 -0700 (PDT) X-Received: by 10.112.29.36 with SMTP id g4mr29179148lbh.56.1428591051676; Thu, 09 Apr 2015 07:50:51 -0700 (PDT) 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.67.65 with SMTP id l1csp518748lbt; Thu, 9 Apr 2015 07:50:50 -0700 (PDT) X-Received: by 10.70.109.197 with SMTP id hu5mr56208957pdb.98.1428591049950; Thu, 09 Apr 2015 07:50:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kp10si21443064pbc.202.2015.04.09.07.50.45; Thu, 09 Apr 2015 07:50:49 -0700 (PDT) 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 S1755798AbbDIOul (ORCPT + 27 others); Thu, 9 Apr 2015 10:50:41 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:33075 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755240AbbDIOrn (ORCPT ); Thu, 9 Apr 2015 10:47:43 -0400 Received: by wgin8 with SMTP id n8so122745165wgi.0 for ; Thu, 09 Apr 2015 07:47:42 -0700 (PDT) X-Received: by 10.194.159.105 with SMTP id xb9mr61119059wjb.156.1428590861929; Thu, 09 Apr 2015 07:47:41 -0700 (PDT) Received: from localhost.localdomain ([81.134.86.156]) by mx.google.com with ESMTPSA id gt4sm20465371wib.21.2015.04.09.07.47.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Apr 2015 07:47:41 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, wim@iguana.be, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux@roeck-us.net, a.zummo@towertech.it, david.paris@st.com Subject: [PATCH v7 1/9] mfd: dt-bindings: Provide human readable defines for LPC mode choosing Date: Thu, 9 Apr 2015 15:47:26 +0100 Message-Id: <1428590854-14095-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428590854-14095-1-git-send-email-lee.jones@linaro.org> References: <1428590854-14095-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.182 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. Reviewed-by: Guenter Roeck 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__ */