From patchwork Fri Sep 16 17:41:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 76413 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp613138qgf; Fri, 16 Sep 2016 10:41:59 -0700 (PDT) X-Received: by 10.66.149.138 with SMTP id ua10mr7110729pab.146.1474047719261; Fri, 16 Sep 2016 10:41:59 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8si11222909pan.201.2016.09.16.10.41.59; Fri, 16 Sep 2016 10:41:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936216AbcIPRlu (ORCPT + 7 others); Fri, 16 Sep 2016 13:41:50 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:38486 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936178AbcIPRlk (ORCPT ); Fri, 16 Sep 2016 13:41:40 -0400 Received: by mail-wm0-f48.google.com with SMTP id 1so54723595wmz.1 for ; Fri, 16 Sep 2016 10:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EGzVuX797pOQKISqKmt6zC0f4ByrvXJLkDogrdnWe/s=; b=c2BsyjQMWMFswdwB/G2JLpLWTKWebctbc/pZ1d9n15W+F1hWpPoE6CtPmJmSX6OeHc wuKK5vYUp5FTGvhQJm2n4YHJWT73QcpFuAiZTE4PWohHRQcGmdl26SN1KVDkQlcj80LM zg7IGGoa94YGN+ZEppl0tSOr93rCHwT5Ahmag= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EGzVuX797pOQKISqKmt6zC0f4ByrvXJLkDogrdnWe/s=; b=KDRw/LGRdkugKWYHsgT78fEFMzPnLho4ipPBK1a8D28Ct44AhuxqrobTdaxjyTEASJ 30KSuQwtzXFNQs6jdh0FExoKbni41ExB6GM/2TbWy7FPOcDC12HNQ7aNjIokhpiHvMor 5QA4zdiQ8b2I3X1BRFyXTBc1d+61A3EQUZcu7XKNZdpdTVhSdkLcitAs07yyL0FtjGw1 GiOAqOO6cgTmkDRr163/kLFoIbcV8f8Y0cXMh5lsn1wNWxUHghr2ThiM1wUqNRaafZxn gCcRb9vgQeij3hAUq+6gq4ciqyS3H1lUwYoa+BKsd4p0DJ9Fcfke6725eAfTkA+bk2D4 3Brg== X-Gm-Message-State: AE9vXwNJTrSjG2mOLXUQ+5+nN4n6XV5lkiWDDrV1V7h8juBwGBJ5O+MIrZeo0S84j18DRATZ X-Received: by 10.28.43.129 with SMTP id r123mr9196707wmr.1.1474047693558; Fri, 16 Sep 2016 10:41:33 -0700 (PDT) Received: from localhost.localdomain (host-2-103-180-164.as13285.net. [2.103.180.164]) by smtp.gmail.com with ESMTPSA id 137sm8365642wmi.16.2016.09.16.10.41.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Sep 2016 10:41:32 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linus.walleij@linaro.org, Srinivas Kandagatla Subject: [PATCH 1/2] pinctrl: pm8994: add pad voltage regulator defines Date: Fri, 16 Sep 2016 18:41:20 +0100 Message-Id: <1474047681-6821-2-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474047681-6821-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1474047681-6821-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds defines for internal voltage regulators used to switch voltage levels on gpio/mpp pads. Signed-off-by: Srinivas Kandagatla --- include/dt-bindings/pinctrl/qcom,pmic-gpio.h | 4 ++++ include/dt-bindings/pinctrl/qcom,pmic-mpp.h | 6 ++++++ 2 files changed, 10 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Linus Walleij diff --git a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h index aafa76c..d33f17c 100644 --- a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h +++ b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h @@ -89,6 +89,10 @@ #define PMA8084_GPIO_S4 2 #define PMA8084_GPIO_L6 3 +#define PM8994_GPIO_VPH 0 +#define PM8994_GPIO_S4 2 +#define PM8994_GPIO_L12 3 + /* To be used with "function" */ #define PMIC_GPIO_FUNC_NORMAL "normal" #define PMIC_GPIO_FUNC_PAIRED "paired" diff --git a/include/dt-bindings/pinctrl/qcom,pmic-mpp.h b/include/dt-bindings/pinctrl/qcom,pmic-mpp.h index a15c170..2e360d8f 100644 --- a/include/dt-bindings/pinctrl/qcom,pmic-mpp.h +++ b/include/dt-bindings/pinctrl/qcom,pmic-mpp.h @@ -65,6 +65,12 @@ #define PMA8084_MPP_S4 2 #define PMA8084_MPP_L6 3 +#define PM8994_MPP_VPH 0 +/* Only supported for MPP_05-MPP_08 */ +#define PM8994_MPP_L19 1 +#define PM8994_MPP_S4 2 +#define PM8994_MPP_L12 3 + /* * Analog Input - Set the source for analog input. * To be used with "qcom,amux-route" property