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: 69755 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp200166qgf; Fri, 10 Jun 2016 02:39:33 -0700 (PDT) X-Received: by 10.36.61.202 with SMTP id n193mr30338761itn.92.1465551573706; Fri, 10 Jun 2016 02:39:33 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b21si5888680pfk.45.2016.06.10.02.39.33; Fri, 10 Jun 2016 02:39:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932289AbcFJJir (ORCPT + 30 others); Fri, 10 Jun 2016 05:38:47 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:37567 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932238AbcFJJin (ORCPT ); Fri, 10 Jun 2016 05:38:43 -0400 Received: by mail-wm0-f42.google.com with SMTP id k204so94217748wmk.0 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=CPB/OuYdfG4UTxFRvmOnBDNkUs3WYZ+uLGjz1xRyGzIbq9oC5KE7+SL3mAHVXcHqck nA8hHVh028EWiZiyFTXbmaJNhqQtxqBx7FUBJwb7okUjfZx0sONxCX2Vas12NwX2Gux0 DRE/3l3lKryCXDa5qbzmWqhLJizZq5li/q2U2075Ric94MGyOa3w0GLAuW6WF4oeXQq5 M2/24dzra4LQgQp4FK4IvIutIs6NRyGAfOe+7+5IQD60KOqhS8cAbraH5QO9Od6kNJzZ igsU7ZX9Sg8Z1YB3qhOXz3p3Ri4ZP/3B42wxOJ7vN2aERY0+s2+pIV87rSwk9m8zT1gd hagg== X-Gm-Message-State: ALyK8tJOWZ8xgWfGGmp2PF4tFVKzPajHrwuru8JQGdjqf3uIAuK7x8QnxImDrEP4w5WeX+lP 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 Cc: Rob Herring , David Brown , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, Srinivas Kandagatla 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.8.3 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>; }; }; };