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: 9336289 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 038356077F for ; Fri, 16 Sep 2016 17:44:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA9192A052 for ; Fri, 16 Sep 2016 17:44:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF4E72A057; Fri, 16 Sep 2016 17:44:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BD5D02A052 for ; Fri, 16 Sep 2016 17:44:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bkxAV-00064C-Ga; Fri, 16 Sep 2016 17:43:19 +0000 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bkx99-0004vU-IR for linux-arm-kernel@lists.infradead.org; Fri, 16 Sep 2016 17:41:57 +0000 Received: by mail-wm0-x22b.google.com with SMTP id b187so49005733wme.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=nBr2RD9z/IFTGx+wQV7jBG2BiQwoMs8iSS5Su63jUFiaxeIH8DjICBVmbHxoGOaydy yHY1417zpNpUZGwtT0KuR22SfxBEDa4dUOE26FYu5aMqymh05ZZJ7kd55/h4wG/dndmv FKbck4wDEvpysn8NO6Tm8uSSR8oSwfNOvYzHlQowNS8uH8kwas1KX5LKNIXD5u1EeFNh IkN/rorle+78HHjXjcraR1k5Z8p9p85jj4Z5rdLsQB1/tf7chlRuSiE12Yt8f3WXA4G0 AMCB/5WUNWDTQIwQF6oBtyETBmB2yvQ/3L1s4blRhlh970NsSvDKvCkSarGoPtuF89+t Y8yg== X-Gm-Message-State: AE9vXwNZ/72pQnw33StFX7Sl4jnG5izofuTk6s0gLiEqSB7SHS2iKYVNrbo9+BFzaH+kye9S 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160916_104155_930356_EDAB1AAE X-CRM114-Status: GOOD ( 10.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds defines for internal voltage regulators used to switch voltage levels on gpio/mpp pads. Signed-off-by: Srinivas Kandagatla Acked-by: Linus Walleij --- include/dt-bindings/pinctrl/qcom,pmic-gpio.h | 4 ++++ include/dt-bindings/pinctrl/qcom,pmic-mpp.h | 6 ++++++ 2 files changed, 10 insertions(+) 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