From patchwork Fri Jun 10 09:38:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 9169149 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 48FA460573 for ; Fri, 10 Jun 2016 09:40:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D7862824F for ; Fri, 10 Jun 2016 09:40:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3237C2835A; Fri, 10 Jun 2016 09:40: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=unavailable 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 F04002824F for ; Fri, 10 Jun 2016 09:40:35 +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 1bBIuI-0007z8-Pj; Fri, 10 Jun 2016 09:39:14 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bBIu7-0007md-4q for linux-arm-kernel@lists.infradead.org; Fri, 10 Jun 2016 09:39:03 +0000 Received: by mail-wm0-x230.google.com with SMTP id m124so94063170wme.1 for ; Fri, 10 Jun 2016 02:38:42 -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=Cc9dDgG6ScxBTi353r0IZSM2zUHmHN1pujLPk0Qt/7A=; b=Jun5yUm8pOMIgQqc2GF96t7/9s80kGMTnc50xvSwpBm56n6Ut5DVR67zaIL8lOuYKY QaPobm9gtBWZotAdpz/gQEfwokW2j8JmsMTNlOkXFDamB6QyXD2dNnib/f4xwOdp7Jic 9qkzeWz55bOGpOKI2fgSvahsePbRGLhAeP+b0= 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=Cc9dDgG6ScxBTi353r0IZSM2zUHmHN1pujLPk0Qt/7A=; b=UqIJ9NKXqsi8T4mOwBYWXrdhp3YEQFSU0pAeiTDSRRnIrcOxtvPRhZTI/vB+u+PJGi JBhF9kCX2U+mt9v+DY5jNZbX3qjkm/1A4zvinNumoUeovo/eocaQWau8UGDOz/QDAFid jx8wvEFkCVjP3J6e4PEPrOZRllOeRElp/p2U1LfThYjMMSctDjT9H6JV7aeTj3fTlmHm AQDH/rdDdvXQ1vdxPQ5/vP2XEh7byf6ZvsokZGGNp/jN4pe4G8RQ0N37jRJjixtbPTTz JIxskOxWo6zwqKjo17lyur2l61EpZeZXXtGMRjjtKEMxIKjyTg/nH/Zt8U/Mj1HXFVrp 43vw== X-Gm-Message-State: ALyK8tLXnJPdGPtC4B0GKNXDtkjL2GeAWmlf4tFyQgw4B6SmnuEgONOEvD+gHs39/yCVNK9o X-Received: by 10.194.83.103 with SMTP id p7mr1245209wjy.110.1465551521563; Fri, 10 Jun 2016 02:38:41 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id xw8sm11448326wjb.30.2016.06.10.02.38.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jun 2016 02:38:41 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross Subject: [PATCH 2/2] ARM: dts: apq8064: move sdcc3 pinctrls out of baord file Date: Fri, 10 Jun 2016 10:38:35 +0100 Message-Id: <1465551515-21622-2-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1465551515-21622-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1465551515-21622-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160610_023903_346266_598D3891 X-CRM114-Status: GOOD ( 10.92 ) 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 move sdcc3 pinctrl nodes out of board file, so that other boards do not duplicate the same thing. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-pins.dtsi | 20 ++++++++++++++++++++ .../arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts | 22 +--------------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi index ca683e5..6b801e7 100644 --- a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi @@ -27,6 +27,26 @@ }; }; + sdcc3_pins: sdcc3-pin-active { + clk { + pins = "sdc3_clk"; + drive-strengh = <8>; + bias-disable; + }; + + cmd { + pins = "sdc3_cmd"; + drive-strengh = <8>; + bias-pull-up; + }; + + data { + pins = "sdc3_data"; + drive-strengh = <8>; + bias-pull-up; + }; + }; + ps_hold: ps_hold { mux { pins = "gpio78"; diff --git a/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts b/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts index 93d08b9..ebd675c 100644 --- a/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts +++ b/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts @@ -71,26 +71,6 @@ }; - sdcc3_pin_a: sdcc3-pin-active { - clk { - pins = "sdc3_clk"; - drive-strengh = <8>; - bias-disable; - }; - - cmd { - pins = "sdc3_cmd"; - drive-strengh = <8>; - bias-pull-up; - }; - - data { - pins = "sdc3_data"; - drive-strengh = <8>; - bias-pull-up; - }; - }; - sdcc3_cd_pin_a: sdcc3-cd-pin-active { pins = "gpio26"; function = "gpio"; @@ -407,7 +387,7 @@ cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; - pinctrl-0 = <&sdcc3_pin_a>, <&sdcc3_cd_pin_a>; + pinctrl-0 = <&sdcc3_pins>, <&sdcc3_cd_pin_a>; }; }; };