From patchwork Wed Jan 4 13:34:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 89834 Delivered-To: patch@linaro.org Received: by 10.182.224.138 with SMTP id rc10csp214782obc; Wed, 4 Jan 2017 05:34:32 -0800 (PST) X-Received: by 10.98.223.25 with SMTP id u25mr61420742pfg.96.1483536871954; Wed, 04 Jan 2017 05:34:31 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 79si72548788pfr.34.2017.01.04.05.34.31; Wed, 04 Jan 2017 05:34:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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 linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1030627AbdADNe3 (ORCPT + 9 others); Wed, 4 Jan 2017 08:34:29 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:38148 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030624AbdADNe1 (ORCPT ); Wed, 4 Jan 2017 08:34:27 -0500 Received: by mail-wm0-f44.google.com with SMTP id k184so260908633wme.1 for ; Wed, 04 Jan 2017 05:34:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=GhFqAsjGNHopHTnY1sCZ7/ul9mk4WQ006dlPZwkkhis=; b=ZDmsN4tuW4ptqH5NgAtGx0RfepuUjN0/c9VIwk6buEHy4Kb9clEjHnTy2t62zBaGKe xjLVbrj7bWfIRtCCvpxitadKmWWfX0f0R/GVnIUkXJmOZgCTJmX/ucXA//1yjxe9K7wm RdM7kXyesZtFfLVAylbFblq+181uojAsdG0u4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GhFqAsjGNHopHTnY1sCZ7/ul9mk4WQ006dlPZwkkhis=; b=aKa8LF2khUcJzB0b9L938otBUoiuhugjZA2s2q8N9Il7kAG80StS70K+/stQqrr1Rl ufEd+xeCFLmmR1IezrK7bwO8lYpTNGrScHb7AN65EiABt9XMpGay3flSx2DprtK9zB/T ieh2FhYCbuIoxyuAF/qyHB6SSH/QstL1HT1Rv+l6BbmyrivHf6FQKFT/bX8LF2WWO9kv 65qe0PYkMvwu4hnoSmADpEDNYO/Y9d6mAbS6aHxbhaIjb6jzLIpjilUBjhkXyHrkzOQD 02hOVRukyxbgTZdrJgwsF7Vpdam+yEsP5M6tUq7cAYr9mSamgFPm/GsegnHyOOnj41JO 6/pg== X-Gm-Message-State: AIkVDXKifbhtbTZ0fivr37EHQdhF0uMm9VKfqj4rtu6EWerxo7zdV3kmIJhuoWIOCnzZOxVT X-Received: by 10.28.125.136 with SMTP id y130mr61002159wmc.112.1483536866247; Wed, 04 Jan 2017 05:34:26 -0800 (PST) Received: from localhost.localdomain (host-2-98-102-117.as13285.net. [2.98.102.117]) by smtp.gmail.com with ESMTPSA id z9sm45824864wjf.17.2017.01.04.05.34.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jan 2017 05:34:25 -0800 (PST) From: Srinivas Kandagatla To: Andy Gross Cc: David Brown , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 1/4] ARM: dts: move hdmi pinctrl out of board file. Date: Wed, 4 Jan 2017 13:34:11 +0000 Message-Id: <1483536854-21389-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This patch moves hdmi pinctrl defination from board file to soc level pinctrl file. If not this pinctrl setup will be duplicated across all the apq8064 based board files. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 22 ---------------------- arch/arm/boot/dts/qcom-apq8064-pins.dtsi | 19 +++++++++++++++++++ arch/arm/boot/dts/qcom-apq8064.dtsi | 2 ++ 3 files changed, 21 insertions(+), 22 deletions(-) -- 2.10.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" 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-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 3d37cab..881ce70 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -75,25 +75,6 @@ bias-disable; }; }; - - hdmi_pinctrl: hdmi-pinctrl { - mux { - pins = "gpio70", "gpio71", "gpio72"; - function = "hdmi"; - }; - - pinconf_ddc { - pins = "gpio70", "gpio71"; - bias-pull-up; - drive-strength = <2>; - }; - - pinconf_hpd { - pins = "gpio72"; - bias-pull-down; - drive-strength = <16>; - }; - }; }; rpm@108000 { @@ -368,9 +349,6 @@ hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; - pinctrl-0 = <&hdmi_pinctrl>; - ports { port@0 { endpoint { diff --git a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi index 6b801e7..cba4450 100644 --- a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi @@ -284,4 +284,23 @@ bias-disable = <0>; }; }; + + hdmi_pinctrl: hdmi-pinctrl { + mux { + pins = "gpio70", "gpio71", "gpio72"; + function = "hdmi"; + }; + + pinconf_ddc { + pins = "gpio70", "gpio71"; + bias-pull-up; + drive-strength = <2>; + }; + + pinconf_hpd { + pins = "gpio72"; + bias-pull-down; + drive-strength = <16>; + }; + }; }; diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 407a461..e68a8a1 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -1327,6 +1327,8 @@ hdmi: hdmi-tx@4a00000 { compatible = "qcom,hdmi-tx-8960"; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_pinctrl>; reg = <0x04a00000 0x2f0>; reg-names = "core_physical"; interrupts = ;