From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Kumar Gala <galak@codeaurora.org>, linux-arm-msm@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Russell King <linux@arm.linux.org.uk>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Rob Clark <robdclark@gmail.com>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: [PATCH 05/12] ARM: dts: APQ8064: Add MDP support
Date: Mon, 23 Feb 2015 07:55:27 +0000 [thread overview]
Message-ID: <1424678127-13136-1-git-send-email-srinivas.kandagatla@linaro.org> (raw)
In-Reply-To: <424678035-12862-1-git-send-email-srinivas.kandagatla@linaro.org>
From: Rob Clark <robdclark@gmail.com>
This patch adds MDP node to APQ8064 dt.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 112 ++++++++++++++++++++++++++++++++++++
1 file changed, 112 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index e65aff0..9c2e9b2 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -1,6 +1,7 @@
/dts-v1/;
#include "skeleton.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/qcom,gcc-msm8960.h>
#include <dt-bindings/reset/qcom,gcc-msm8960.h>
#include <dt-bindings/clock/qcom,mmcc-msm8960.h>
@@ -94,6 +95,20 @@
};
};
+ hdmi_pinctrl: hdmi-pinctrl {
+ mux1 {
+ pins = "gpio69", "gpio70", "gpio71";
+ function = "hdmi";
+ bias-pull-up;
+ drive-strength = <2>;
+ };
+ mux2 {
+ pins = "gpio72";
+ function = "hdmi";
+ bias-pull-down;
+ drive-strength = <16>;
+ };
+ };
ps_hold: ps_hold {
mux {
pins = "gpio78";
@@ -228,6 +243,18 @@
};
};
+ ext_3p3v: regulator-fixed@1 {
+ compatible = "regulator-fixed";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "ext_3p3v";
+ regulator-type = "voltage";
+ startup-delay-us = <0>;
+ gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ regulator-boot-on;
+ };
+
qcom,ssbi@500000 {
compatible = "qcom,ssbi";
reg = <0x00500000 0x1000>;
@@ -426,6 +453,13 @@
reg = <QCOM_RPM_PM8921_LDO27>;
};
+ pm8921_hdmi_mvs: pm8921-hdmi-mvs {
+ compatible = "qcom,rpm-pm8921-switch";
+ reg = <QCOM_RPM_HDMI_SWITCH>;
+ regulator-always-on;
+ bias-pull-down;
+ };
+
pm8921_l28: pm8921-l28 {
compatible = "qcom,rpm-pm8921-nldo1200";
reg = <QCOM_RPM_PM8921_LDO28>;
@@ -704,5 +738,83 @@
pinctrl-0 = <&sdc4_gpios>;
};
};
+
+ hdmi: qcom,hdmi-tx@4a00000 {
+ compatible = "qcom,hdmi-tx-8960";
+ reg-names = "core_physical";
+ reg = <0x04a00000 0x1000>;
+ interrupts = <GIC_SPI 79 0>;
+ clock-names =
+ "core_clk",
+ "master_iface_clk",
+ "slave_iface_clk";
+ clocks =
+ <&mmcc HDMI_APP_CLK>,
+ <&mmcc HDMI_M_AHB_CLK>,
+ <&mmcc HDMI_S_AHB_CLK>;
+ qcom,hdmi-tx-ddc-clk = <&tlmm_pinmux 70
+ GPIO_ACTIVE_HIGH>;
+ qcom,hdmi-tx-ddc-data = <&tlmm_pinmux 71
+ GPIO_ACTIVE_HIGH>;
+ qcom,hdmi-tx-hpd = <&tlmm_pinmux 72
+ GPIO_ACTIVE_HIGH>;
+ core-vdda-supply = <&pm8921_hdmi_mvs>;
+ hdmi-mux-supply = <&ext_3p3v>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&hdmi_pinctrl>;
+ };
+
+ gpu: qcom,adreno-3xx@4300000 {
+ compatible = "qcom,adreno-3xx";
+ reg = <0x04300000 0x20000>;
+ reg-names = "kgsl_3d0_reg_memory";
+ interrupts = <GIC_SPI 80 0>;
+ interrupt-names = "kgsl_3d0_irq";
+ clock-names =
+ "core_clk",
+ "iface_clk",
+ "mem_clk",
+ "mem_iface_clk";
+ clocks =
+ <&mmcc GFX3D_CLK>,
+ <&mmcc GFX3D_AHB_CLK>,
+ <&mmcc GFX3D_AXI_CLK>,
+ <&mmcc MMSS_IMEM_AHB_CLK>;
+ qcom,chipid = <0x03020002>;
+ qcom,gpu-pwrlevels {
+ compatible = "qcom,gpu-pwrlevels";
+ qcom,gpu-pwrlevel@0 {
+ qcom,gpu-freq = <450000000>;
+ };
+ qcom,gpu-pwrlevel@1 {
+ qcom,gpu-freq = <27000000>;
+ };
+ };
+ };
+
+ mdp: qcom,mdp@5100000 {
+ compatible = "qcom,mdp";
+ reg = <0x05100000 0xf0000>;
+ interrupts = <GIC_SPI 75 0>;
+ connectors = <&hdmi>;
+ gpus = <&gpu>;
+ clock-names =
+ "core_clk",
+ "iface_clk",
+ "lut_clk",
+ "src_clk",
+ "hdmi_clk",
+ "mdp_clk",
+ "mdp_axi_clk";
+ clocks =
+ <&mmcc MDP_CLK>,
+ <&mmcc MDP_AHB_CLK>,
+ <&mmcc MDP_LUT_CLK>,
+ <&mmcc TV_SRC>,
+ <&mmcc HDMI_TV_CLK>,
+ <&mmcc MDP_TV_CLK>,
+ <&mmcc MDP_AXI_CLK>;
+// vdd-supply = <&footswitch_mdp>;
+ };
};
};
--
1.9.1
next prev parent reply other threads:[~2015-02-23 7:55 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <424678035-12862-1-git-send-email-srinivas.kandagatla@linaro.org>
[not found] ` <424678035-12862-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-02-23 7:54 ` [PATCH 01/12] ARM: dts: apq8064: add RPM regulators support Srinivas Kandagatla
2015-02-26 18:25 ` Kumar Gala
2015-02-26 18:26 ` Srinivas Kandagatla
[not found] ` <A5AB3F5F-7942-4DA0-925E-9033EC929174-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-02-26 19:05 ` Bjorn Andersson
2015-02-26 19:00 ` Bjorn Andersson
2015-02-26 19:11 ` Bjorn Andersson
2015-02-26 20:20 ` Srinivas Kandagatla
2015-02-26 19:31 ` Stephen Boyd
2015-02-26 20:09 ` Srinivas Kandagatla
[not found] ` <54EF7D74.7060906-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-02-26 20:11 ` Stephen Boyd
[not found] ` <54EF7DFD.9020609-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-02-26 21:20 ` Bjorn Andersson
2015-02-23 7:55 ` [PATCH 02/12] ARM: dts: apq8064: Add usb host support Srinivas Kandagatla
2015-02-26 18:27 ` Kumar Gala
2015-02-23 7:55 ` [PATCH 03/12] ARM: dts: apq8064: Add USB OTG support Srinivas Kandagatla
[not found] ` <1424678108-13052-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-02-26 18:27 ` Kumar Gala
2015-02-23 7:55 ` [PATCH 04/12] ARM: dts: apq8064: Add SATA controller support Srinivas Kandagatla
2015-02-23 7:55 ` Srinivas Kandagatla [this message]
2015-02-23 7:55 ` [PATCH 06/12] ARM: DT: apq8064: add pci support in CM QS600 Srinivas Kandagatla
2015-02-23 11:31 ` Igor Grinberg
2015-02-23 11:43 ` Srinivas Kandagatla
2015-02-24 10:23 ` Stanimir Varbanov
2015-02-24 10:47 ` Srinivas Kandagatla
2015-02-23 7:55 ` [PATCH 07/12] ARM: DT: apq8064: Add usb host support to CM QS-600 Srinivas Kandagatla
2015-02-23 11:31 ` Igor Grinberg
2015-02-23 7:55 ` [PATCH 08/12] ARM: DT: apq8064: Add USB OTG support for " Srinivas Kandagatla
2015-02-23 11:31 ` Igor Grinberg
2015-02-23 7:55 ` [PATCH 09/12] ARM: qcom: Add DT alias for serial port Srinivas Kandagatla
2015-02-23 7:56 ` [PATCH 10/12] ARM: dts: apq8064: Remove incorrect gsbi2 node Srinivas Kandagatla
2015-02-23 7:56 ` [PATCH 11/12] ARM: dts: Move i2c1 pinctrl to apq8064.dtsi Srinivas Kandagatla
2015-02-23 7:56 ` [PATCH 12/12] ARM: dts: apq8064 add i2c3 node for panel Srinivas Kandagatla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424678127-13136-1-git-send-email-srinivas.kandagatla@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robdclark@gmail.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).