devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
To: Srinivas Kandagatla
	<srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: bjorn.andersson-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Rob Clark <robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH v2 06/12] ARM: dts: apq8064: Add MDP support
Date: Fri, 10 Apr 2015 10:04:54 -0700	[thread overview]
Message-ID: <552802B6.2040804@codeaurora.org> (raw)
In-Reply-To: <1428669271-11032-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

On 04/10/15 05:34, Srinivas Kandagatla wrote:
> @@ -250,6 +265,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;
> +		};

This shouldn't be inside the SoC node because it doesn't have a reg
property. It should be in a 'regulators' node that's in the root of the
tree:

	regulators {
		compatible = "simple-bus";

		ext_3p3v: fixedregulator@0 {
			compatible = "regulator-fixed";
			...
		};
	};


> +
>  		qcom,ssbi@500000 {
>  			compatible = "qcom,ssbi";
>  			reg = <0x00500000 0x1000>;
> @@ -522,5 +549,82 @@
>  			compatible = "qcom,tcsr-apq8064", "syscon";
>  			reg = <0x1a400000 0x100>;
>  		};
> +
> +		hdmi: qcom,hdmi-tx@4a00000 {
> +			compatible = "qcom,hdmi-tx-8960";
> +			reg-names = "core_physical";
> +			reg = <0x04a00000 0x1000>;
> +			interrupts = <GIC_SPI 79 IRQ_TYPE_NONE>;
> +			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>;

This should be done via the *-gpios method. i.e. hdmi-tx-ddc-clk-gpios,
hdmi-tx-ddc-data-gpios, etc.

> +			core-vdda-supply = <&pm8921_hdmi_switch>;
> +			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 IRQ_TYPE_NONE>;
> +			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>;
> +				};
> +			};

This should be an OPP.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-04-10 17:04 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09  8:21 [PATCH 00/10] ARM: dts: apq8064 dt patches Srinivas Kandagatla
     [not found] ` <1428567674-10672-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-04-09  8:22   ` [PATCH 01/10] ARM: dts: apq8064: add RPM regulators support Srinivas Kandagatla
2015-04-09 20:16     ` Bjorn Andersson
2015-04-09 21:18       ` Srinivas Kandagatla
2015-04-09  8:23   ` [PATCH 05/10] ARM: dts: apq8064: Add MDP support Srinivas Kandagatla
2015-04-09  8:23   ` [PATCH 09/10] ARM: dts: Move i2c1 pinctrl to apq8064.dtsi Srinivas Kandagatla
2015-04-10 12:33   ` [PATCH v2 00/12] ARM: dts: apq8064 dt patches Srinivas Kandagatla
2015-04-10 12:33     ` [PATCH v2 01/12] ARM: dts: apq8064: add RPM regulators support Srinivas Kandagatla
2015-04-10 12:34     ` [PATCH v2 02/12] ARM: dts: apq8064-ifc6410: Add basic regulators Srinivas Kandagatla
2015-04-10 12:34     ` [PATCH v2 03/12] ARM: dts: apq8064: Add usb host support Srinivas Kandagatla
2015-04-10 12:34     ` [PATCH v2 04/12] ARM: dts: apq8064: Add USB OTG support Srinivas Kandagatla
2015-04-10 12:34     ` [PATCH v2 05/12] ARM: dts: apq8064: Add SATA controller support Srinivas Kandagatla
2015-04-10 17:24       ` Stephen Boyd
     [not found]         ` <5528076B.1010808-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-04-10 18:33           ` Srinivas Kandagatla
2015-04-10 12:34     ` [PATCH v2 06/12] ARM: dts: apq8064: Add MDP support Srinivas Kandagatla
     [not found]       ` <1428669271-11032-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-04-10 17:04         ` Stephen Boyd [this message]
2015-04-10 19:39           ` Srinivas Kandagatla
2015-04-10 20:21             ` Stephen Boyd
     [not found]               ` <552830C9.4030601-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-04-10 20:30                 ` Srinivas Kandagatla
2015-04-10 21:01                 ` Rob Clark
2015-04-10 12:34     ` [PATCH v2 07/12] ARM: dts: apq8064-cm-qs600: Add basic regulators Srinivas Kandagatla
     [not found]     ` <1428669187-10775-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-04-10 12:34       ` [PATCH v2 08/12] ARM: dts: apq8064: Add usb host support to CM QS-600 Srinivas Kandagatla
2015-04-10 12:34       ` [PATCH v2 09/12] ARM: dts: apq8064: Add USB OTG support for " Srinivas Kandagatla
2015-04-10 17:26         ` Stephen Boyd
2015-04-10 18:32           ` Srinivas Kandagatla
2015-04-10 12:35       ` [PATCH v2 10/12] ARM: dts: apq8064-ifc6410: Add DT alias for serial port Srinivas Kandagatla
2015-04-10 12:35     ` [PATCH v2 11/12] ARM: dts: apq8064: Move i2c1 pinctrl to apq8064.dtsi Srinivas Kandagatla
2015-04-10 12:35     ` [PATCH v2 12/12] ARM: dts: apq8064: add i2c3 node for panel Srinivas Kandagatla
2015-04-10 20:41     ` [PATCH v3 00/11] ARM: dts: apq8064 dt patches Srinivas Kandagatla
     [not found]       ` <1428698491-11881-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-04-10 20:42         ` [PATCH v3 01/11] ARM: dts: apq8064: add RPM regulators support Srinivas Kandagatla
2015-04-10 21:04           ` Bjorn Andersson
2015-04-10 20:44         ` [PATCH v3 06/11] ARM: dts: apq8064-cm-qs600: Add basic regulators Srinivas Kandagatla
2015-04-10 20:44         ` [PATCH v3 11/11] ARM: dts: apq8064: add i2c3 node for panel Srinivas Kandagatla
2015-04-10 20:43       ` [PATCH v3 02/11] ARM: dts: apq8064-ifc6410: Add basic regulators Srinivas Kandagatla
2015-04-10 20:43       ` [PATCH v3 03/11] ARM: dts: apq8064: Add usb host support Srinivas Kandagatla
2015-04-10 20:43       ` [PATCH v3 04/11] ARM: dts: apq8064: Add USB OTG support Srinivas Kandagatla
2015-04-10 20:43       ` [PATCH v3 05/11] ARM: dts: apq8064: Add SATA controller support Srinivas Kandagatla
2015-04-10 20:44       ` [PATCH v3 07/11] ARM: dts: apq8064: Add usb host support to CM QS-600 Srinivas Kandagatla
2015-04-10 20:44       ` [PATCH v3 08/11] ARM: dts: apq8064: Add USB OTG support for " Srinivas Kandagatla
2015-04-10 20:44       ` [PATCH v3 09/11] ARM: dts: apq8064-ifc6410: Add DT alias for serial port Srinivas Kandagatla
2015-04-10 21:07         ` Bjorn Andersson
2015-04-10 20:44       ` [PATCH v3 10/11] ARM: dts: apq8064: Move i2c1 pinctrl to apq8064.dtsi Srinivas Kandagatla
2015-04-09  8:22 ` [PATCH 02/10] ARM: dts: apq8064: Add usb host support Srinivas Kandagatla
2015-04-09  8:23 ` [PATCH 03/10] ARM: dts: apq8064: Add USB OTG support Srinivas Kandagatla
2015-04-09  8:23 ` [PATCH 04/10] ARM: dts: apq8064: Add SATA controller support Srinivas Kandagatla
2015-04-09  8:23 ` [PATCH 06/10] ARM: dts: apq8064: Add usb host support to CM QS-600 Srinivas Kandagatla
2015-04-09  8:23 ` [PATCH 07/10] ARM: dts: apq8064: Add USB OTG support for " Srinivas Kandagatla
2015-04-09  8:23 ` [PATCH 08/10] ARM: dts: qcom: Add DT alias for serial port Srinivas Kandagatla
2015-04-09 20:25   ` Bjorn Andersson
2015-04-09  8:23 ` [PATCH 10/10] ARM: dts: apq8064 add i2c3 node for panel Srinivas Kandagatla
2015-04-27 21:18 ` [PATCH 00/10] ARM: dts: apq8064 dt patches Kumar Gala

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=552802B6.2040804@codeaurora.org \
    --to=sboyd-sgv2jx0feol9jmxxk+q4oq@public.gmane.org \
    --cc=bjorn.andersson-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.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).