* [PATCH] ARM: dts: imx6qdl-sabresd: Add HDMI support
@ 2014-02-25 18:22 Fabio Estevam
2014-02-25 18:54 ` Philipp Zabel
0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2014-02-25 18:22 UTC (permalink / raw)
To: linux-arm-kernel
Add device tree support for HDMI.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Shawn,
Not sure if it is too early to submit this.
I have just tested against linux-next which contains Russell's latest patches
for imx-drm.
arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 04487cb..0757c86 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -82,7 +82,7 @@
imx_drm: imx-drm {
compatible = "fsl,imx-drm";
crtcs = <&ipu1 0>, <&ipu1 1>;
- connectors = <&ldb>;
+ connectors = <&ldb>, <&hdmi>;
};
sound {
@@ -143,6 +143,14 @@
status = "okay";
};
+&hdmi {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_sabresd_hdmi>;
+ ddc = <&i2c2>;
+ status = "okay";
+ crtcs = <&ipu1 1>;
+};
+
&i2c1 {
clock-frequency = <100000>;
pinctrl-names = "default";
@@ -385,6 +393,13 @@
>;
};
+
+ pinctrl_sabresd_hdmi: sabresd-hdmi {
+ fsl,pins = <
+ MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
+ >;
+ };
+
pinctrl_uart1: uart1grp {
fsl,pins = <
MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: dts: imx6qdl-sabresd: Add HDMI support
2014-02-25 18:22 [PATCH] ARM: dts: imx6qdl-sabresd: Add HDMI support Fabio Estevam
@ 2014-02-25 18:54 ` Philipp Zabel
2014-02-25 18:57 ` Fabio Estevam
0 siblings, 1 reply; 3+ messages in thread
From: Philipp Zabel @ 2014-02-25 18:54 UTC (permalink / raw)
To: linux-arm-kernel
Hi Fabio,
Am Dienstag, den 25.02.2014, 15:22 -0300 schrieb Fabio Estevam:
> Add device tree support for HDMI.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Shawn,
>
> Not sure if it is too early to submit this.
>
> I have just tested against linux-next which contains Russell's latest patches
> for imx-drm.
I would prefer to hold this back until the dt-binding patches are
accepted, too.
> arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 17 ++++++++++++++++-
> 1 file changed, 16 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> index 04487cb..0757c86 100644
> --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> @@ -82,7 +82,7 @@
> imx_drm: imx-drm {
> compatible = "fsl,imx-drm";
> crtcs = <&ipu1 0>, <&ipu1 1>;
> - connectors = <&ldb>;
> + connectors = <&ldb>, <&hdmi>;
> };
Then this node would just have vanished into the dtsi, ...
> sound {
> @@ -143,6 +143,14 @@
> status = "okay";
> };
>
> +&hdmi {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_sabresd_hdmi>;
> + ddc = <&i2c2>;
> + status = "okay";
> + crtcs = <&ipu1 1>;
... and here there would be no need for the crtcs property.
> +};
> +
> &i2c1 {
> clock-frequency = <100000>;
> pinctrl-names = "default";
> @@ -385,6 +393,13 @@
> >;
> };
>
> +
> + pinctrl_sabresd_hdmi: sabresd-hdmi {
> + fsl,pins = <
> + MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
> + >;
> + };
> +
> pinctrl_uart1: uart1grp {
> fsl,pins = <
> MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
regards
Philipp
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: dts: imx6qdl-sabresd: Add HDMI support
2014-02-25 18:54 ` Philipp Zabel
@ 2014-02-25 18:57 ` Fabio Estevam
0 siblings, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2014-02-25 18:57 UTC (permalink / raw)
To: linux-arm-kernel
Hi Philipp,
On Tue, Feb 25, 2014 at 3:54 PM, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> Hi Fabio,
>
> Am Dienstag, den 25.02.2014, 15:22 -0300 schrieb Fabio Estevam:
>> Add device tree support for HDMI.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>> ---
>> Shawn,
>>
>> Not sure if it is too early to submit this.
>>
>> I have just tested against linux-next which contains Russell's latest patches
>> for imx-drm.
>
> I would prefer to hold this back until the dt-binding patches are
> accepted, too.
Ok, understood. Thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-25 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-25 18:22 [PATCH] ARM: dts: imx6qdl-sabresd: Add HDMI support Fabio Estevam
2014-02-25 18:54 ` Philipp Zabel
2014-02-25 18:57 ` Fabio Estevam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.