From patchwork Fri Jun 17 15:14:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 9184393 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 D48F7608A2 for ; Fri, 17 Jun 2016 15:19:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA86A283B8 for ; Fri, 17 Jun 2016 15:19:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF3A6283BB; Fri, 17 Jun 2016 15:19:47 +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 5FEEA283B8 for ; Fri, 17 Jun 2016 15:19:47 +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 1bDvXA-0001kB-TJ; Fri, 17 Jun 2016 15:18:12 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bDvUC-0005A3-G2 for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2016 15:15:10 +0000 Received: by mail-wm0-x234.google.com with SMTP id m124so3868540wme.1 for ; Fri, 17 Jun 2016 08:14:48 -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=QuwC13DXt+VQmD8NiTdIYXSa/A4+iEcxsF/8afSmOIh731XD4G4bcCVz3tg/a29RI1 bKDQm6NCu8W6hqfde1s+E6GL9lp1BCj+9nt+d7hpV3M7pGvfUZHYSsp6vy9QmH8G0hoY z5zjUEDd1wnmYWsJkqlVLm2m1t/VQO+ICjR7I= 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=e1EIDJHFMAB+hA50rwRYk5LlUsU3U0j2I1wq8tr/g5oxYIb52CBFgjT0Ut4/DPmufI lMyWyslZCIKEApTvBdL/69NrgvWWR+yKRNZ+od2FQpdcMjNQYCqNEisj9UNZr1WyQaKD GyekXfSr+vNdngF+qtFOsGMgeoHOT76zFTF7c2JPp44zJE/SjKZfrUsvCz/x/autL1MQ LScF1ynmH2K5qKgTQdX26+xYacCviS0t1PhwZ1k8Ep/ZdjEQjRTc4NV5CGhboZdxy8ft AeUdUcZCZmE+dvLGRwdvgvpDCo1nGyJv7eYCsG7cOTvSaHW7A40OCTHI50ZsenbWeAWq DFMA== X-Gm-Message-State: ALyK8tKRANyjl6/AEilU6ASqQi7tLIRG9SLWo9vUNS7SKJ6wuAxJoplWUhPt8IBouHT9kNoQ X-Received: by 10.28.31.204 with SMTP id f195mr2762865wmf.45.1466176486920; Fri, 17 Jun 2016 08:14:46 -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.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jun 2016 08:14:46 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross Subject: [PATCH 15/16] arm64: dts: msm8996: add sdc2 pinctrl Date: Fri, 17 Jun 2016 16:14:12 +0100 Message-Id: <1466176454-28084-16-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_081508_767508_3473D5A1 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 */ + }; + }; };