From patchwork Fri Jun 10 09:38:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 69754 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp199970qgf; Fri, 10 Jun 2016 02:38:56 -0700 (PDT) X-Received: by 10.98.110.73 with SMTP id j70mr136006pfc.101.1465551536661; Fri, 10 Jun 2016 02:38:56 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y76si12464754pff.52.2016.06.10.02.38.56; Fri, 10 Jun 2016 02:38:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751060AbcFJJin (ORCPT + 7 others); Fri, 10 Jun 2016 05:38:43 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:36206 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752493AbcFJJil (ORCPT ); Fri, 10 Jun 2016 05:38:41 -0400 Received: by mail-wm0-f52.google.com with SMTP id n184so258953006wmn.1 for ; Fri, 10 Jun 2016 02:38:41 -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; bh=Trux66hcucEBj6orkReol4AvfuKZrfqymYOMRFoMtXc=; b=IduzoXechX7GkQDXiU/8m4KZksJxUOk0YxlGzCKPF9Rt9nFW3UXa8r9QvWVW8H4mhP 0JEgT8aCZ4xbfoyCPDPyz+SGfIRTPfjIGtnvwwx2woElLtzEa01bIqTksnwtGrws+StF +pTNpgxYLTLmk1eWwL3oqMIohwthmDmkKkR6E= 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; bh=Trux66hcucEBj6orkReol4AvfuKZrfqymYOMRFoMtXc=; b=QRBRiRdiaU/hNHWZrJBYmcqpKxFhzpDjr4b48xQItJdGmky4j7tLe1MR/QsiioLEej 0D6NDgyGuwhwg1d6p/S6b57dAtNn092UdfLSQjaCeiCBMQrFr+Ia/N+Ke+RqKM7dnWqS K9hd917Dzh4F9Toq6SmOgIFZY13zCtqdONj9yqvxQVbXGrywOuSCATLNSs08XJKXS2Cv TLjDpfIZKS4QAJhHEaNFCHOvKJE9DD45b3pzt+5X89S/DJnzy9S1Mcwe0LFmG67TFWZQ kj2opl586AJBu9B3iqJhSUoVsK41jGdq3bZxacd8hfWc+Nw/VbTXVgVEeigJEDkJySPs Ln8g== X-Gm-Message-State: ALyK8tLzKjPciCM5F0A6sdnzC6TKwUy6TMtdQkprx8gmkkeLNKnZG0Pyz+dVY+OoexnZa5lN X-Received: by 10.194.3.51 with SMTP id 19mr1299616wjz.57.1465551520189; Fri, 10 Jun 2016 02:38:40 -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.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jun 2016 02:38:39 -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 1/2] ARM: dts: apq8064: move sdcc1 pinctrl nodes to soc file Date: Fri, 10 Jun 2016 10:38:34 +0100 Message-Id: <1465551515-21622-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch moves out the sdcc1 pinctrl nodes out of board files to soc file, so that it will be duplicated in other board files. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-pins.dtsi | 20 ++++++++++++++++++++ .../arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts | 22 ---------------------- arch/arm/boot/dts/qcom-apq8064.dtsi | 2 ++ 3 files changed, 22 insertions(+), 22 deletions(-) -- 2.8.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi index 4102a98..ca683e5 100644 --- a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi @@ -7,6 +7,26 @@ }; }; + sdcc1_pins: sdcc1-pin-active { + clk { + pins = "sdc1_clk"; + drive-strengh = <16>; + bias-disable; + }; + + cmd { + pins = "sdc1_cmd"; + drive-strengh = <10>; + bias-pull-up; + }; + + data { + pins = "sdc1_data"; + drive-strengh = <10>; + 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 06b3c76..93d08b9 100644 --- a/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts +++ b/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts @@ -70,25 +70,6 @@ }; }; - sdcc1_pin_a: sdcc1-pin-active { - clk { - pins = "sdc1_clk"; - drive-strengh = <16>; - bias-disable; - }; - - cmd { - pins = "sdc1_cmd"; - drive-strengh = <10>; - bias-pull-up; - }; - - data { - pins = "sdc1_data"; - drive-strengh = <10>; - bias-pull-up; - }; - }; sdcc3_pin_a: sdcc3-pin-active { clk { @@ -417,9 +398,6 @@ vmmc-supply = <&pm8921_l5>; vqmmc-supply = <&pm8921_s4>; - - pinctrl-names = "default"; - pinctrl-0 = <&sdcc1_pin_a>; }; sdcc3: sdcc@12180000 { diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index cf37d55..ce7ce84 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -859,6 +859,8 @@ sdcc1: sdcc@12400000 { status = "disabled"; compatible = "arm,pl18x", "arm,primecell"; + pinctrl-names = "default"; + pinctrl-0 = <&sdcc1_pins>; arm,primecell-periphid = <0x00051180>; reg = <0x12400000 0x2000>; interrupts = ;