From patchwork Fri Sep 16 17:41:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 9336287 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 32B0E6077F for ; Fri, 16 Sep 2016 17:44:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26BBF2A056 for ; Fri, 16 Sep 2016 17:44:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 193A82A057; Fri, 16 Sep 2016 17:44:10 +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 B74592A052 for ; Fri, 16 Sep 2016 17:44:09 +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 1bkx9w-0005gf-JN; Fri, 16 Sep 2016 17:42:44 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bkx9A-0004wT-SU for linux-arm-kernel@lists.infradead.org; Fri, 16 Sep 2016 17:41:59 +0000 Received: by mail-wm0-x235.google.com with SMTP id k186so54480218wmd.0 for ; Fri, 16 Sep 2016 10:41:36 -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=m8DrNrPK6NDfZ3itBBqiZhOYekcsuq2nU6ClUbsMwac=; b=b7jXy/1oQVUpQD6VAg7MrGqE5ZbygDzUEkXVUU+X0qG7Uj0qZ4kCIGJA6+MHByRuU0 5MWvP9CmLlHSG+8VYs5UtUwLq6u+Xw+rtNzMxDeydZHFv3mQk2rq2PtW+El5f9hGEb6t YW9bk+SRknrE47i/LHNhkxkSZ1caUINA2xjcc= 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=m8DrNrPK6NDfZ3itBBqiZhOYekcsuq2nU6ClUbsMwac=; b=Hp6Ge0hKFj+hqWMlmZepHEF7csnx8AuNSow0vwe5RfsaSFX/ceCUHh/iart9FpQX5F 6baCLCBRq3bcbqOlU/2yhWTsQ1GxhVt8l5N/CdfvG0MCYvrFMWiDKenlJYBIczeISAhx 8ex54yebISVufvbZku/MXSftGQ3+0GuIWVW0z2tyPKJS+QF+Im5/A3W7Un17viaPr2Im o79w72C9rVVZwSLzt2MGFG5yL0axu2Gyu30bVM+qMGlFem2qPRqdkkxq6gDqxWcHLyDV scQJk37FB2wXe06Z2iAEp+hhBST7Ekt3eoMezU+paGAPMsqeuOloBtdNOqM5kK7Invto bbvA== X-Gm-Message-State: AE9vXwMmQrNfhZhvvvlIr+8QDPPZ2u+dINl6MC7kXijOyld4oZMmmwe6rwFPEtibfpEskSDa X-Received: by 10.194.44.69 with SMTP id c5mr13879539wjm.80.1474047695069; Fri, 16 Sep 2016 10:41:35 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Sep 2016 10:41:34 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross Subject: [PATCH 2/2] dts: arm64: db820c: add pmic pins specific dts file Date: Fri, 16 Sep 2016 18:41:21 +0100 Message-Id: <1474047681-6821-3-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_104157_329532_E44CB5DF X-CRM114-Status: GOOD ( 13.13 ) 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 pmic specific dts which are configured specially for db820c. One of such pin is GPIO_F on the Low Speed expansion which has default output voltage of 2.7v. This patch fixes setup for that pin to have an output voltage of 1.8v to comply with 96boards LS expansion specs. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi | 15 +++++++++++++++ arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi new file mode 100644 index 0000000..0938191 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi @@ -0,0 +1,15 @@ + +#include +&pm8994_gpios { + + pinctrl-names = "default"; + pinctrl-0 = <&ls_exp_gpio_f>; + + ls_exp_gpio_f: pm8916_mpp4 { + pinconf { + pins = "gpio5"; + output-low; + power-source = ; // 1.8V + }; + }; +}; diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index afb218c..422959b 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -12,7 +12,9 @@ */ #include "msm8996.dtsi" +#include "pm8994.dtsi" #include "apq8096-db820c-pins.dtsi" +#include "apq8096-db820c-pmic-pins.dtsi" / { aliases {