From patchwork Fri Jun 17 15:14:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 9184397 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 7F9F9608A2 for ; Fri, 17 Jun 2016 15:20:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75C6E283BB for ; Fri, 17 Jun 2016 15:20:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A6B7283BD; Fri, 17 Jun 2016 15:20:01 +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 2146C283BB for ; Fri, 17 Jun 2016 15:20:01 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bDvXP-00029y-P6; Fri, 17 Jun 2016 15:18:27 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bDvUD-0005A7-Ey for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2016 15:15:11 +0000 Received: by mail-wm0-x22f.google.com with SMTP id f126so2169677wma.1 for ; Fri, 17 Jun 2016 08:14:49 -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=I0h87ZTCEY5Qt39QcsdZ+BttPC4KDFK7Bd0GTTMfc5Q=; b=B7yPW/DWgaaxBQBUc5h9/M7L9dlW/WS6r2oUvx/cCccczOmXPZUu3b1AHLmMeH45FT STWJRTE+uegjBeYHIUtHohGnFjgMywEzw3sFdi0WuvQLHbs88ZIico3np6HmUMB1spzq MoPWv+NPYqm4g1RHZJYc8AxN7hP7K8v385VvI= 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=I0h87ZTCEY5Qt39QcsdZ+BttPC4KDFK7Bd0GTTMfc5Q=; b=Qv0s6P4mqziYIU9wsOF8BjS5s7djWVzZGtkKKXMd9la6Ld/hXvKk1StSOGM77UPt5p Ud7CQ4CJbqaS0AQyokzJoE5Fa/KiXl2e+xAlaX3ALpysDrP2RTmwJBplligqPMvuNGfn xQR+UP8LOyA50ThlqyqEBbuwghxCJheJ+JbqDXsxoaVkBs2NcnyY0wU0B5kaBK0Z3vqn VY4lRRalQ+cohEUIjxzIIvVRscT+GwmkK7PMtVVNCS7RhWGLrhxaFi92VYLfwGgLbArS U7RS9YKXdlSGizXCxLNua2I0hjSVlkACKCwaSKrR0fNx6OL4n3S52ZItpMm67qNOHGr8 VAxw== X-Gm-Message-State: ALyK8tIAragiYmQfxCBGE4bHm2nAxkF/E4qcnCy46Deiw1s2f2dVhxFVshbft7adQGoc9ttH X-Received: by 10.194.101.233 with SMTP id fj9mr2807879wjb.54.1466176488200; Fri, 17 Jun 2016 08:14:48 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id o129sm4240934wmb.17.2016.06.17.08.14.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jun 2016 08:14:47 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross Subject: [PATCH 15/16] arm64: dts: msm8996: add sdhci2 pinctrl Date: Fri, 17 Jun 2016 16:14:13 +0100 Message-Id: <1466176454-28084-17-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466176454-28084-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1466176454-28084-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160617_081509_782124_9601EB1C X-CRM114-Status: GOOD ( 10.36 ) 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, linux-kernel@vger.kernel.org, David Brown , Rob Herring , 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 pinctrl required for sdhci for external sd card controller. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi index 551707a..6599404 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi @@ -252,4 +252,52 @@ bias-pull-down; }; }; + + sdc2_clk_on: sdc2_clk_on { + config { + pins = "sdc2_clk"; + bias-disable; /* NO pull */ + drive-strength = <16>; /* 16 MA */ + }; + }; + + sdc2_clk_off: sdc2_clk_off { + config { + pins = "sdc2_clk"; + bias-disable; /* NO pull */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + sdc2_cmd_on: sdc2_cmd_on { + config { + pins = "sdc2_cmd"; + bias-pull-up; /* pull up */ + drive-strength = <10>; /* 10 MA */ + }; + }; + + sdc2_cmd_off: sdc2_cmd_off { + config { + pins = "sdc2_cmd"; + bias-pull-up; /* pull up */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + sdc2_data_on: sdc2_data_on { + config { + pins = "sdc2_data"; + bias-pull-up; /* pull up */ + drive-strength = <10>; /* 10 MA */ + }; + }; + + sdc2_data_off: sdc2_data_off { + config { + pins = "sdc2_data"; + bias-pull-up; /* pull up */ + drive-strength = <2>; /* 2 MA */ + }; + }; };