2023-07-27 22:18:30

by Alain Volmat

[permalink] [raw]
Subject: [PATCH 14/14] ARM: dts: sti: enable basic display on stih418-b2264 board

Enable the compositor, tvout, hdmi and gpu on the B2264 board.

Signed-off-by: Alain Volmat <[email protected]>
---
arch/arm/boot/dts/st/stih418-b2264.dts | 34 ++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

diff --git a/arch/arm/boot/dts/st/stih418-b2264.dts b/arch/arm/boot/dts/st/stih418-b2264.dts
index fc32a03073b6..35bf618e0783 100644
--- a/arch/arm/boot/dts/st/stih418-b2264.dts
+++ b/arch/arm/boot/dts/st/stih418-b2264.dts
@@ -96,6 +96,14 @@ st,pins {
};
};

+ hdmiddc: i2c@9541000 {
+ /* HDMI V1.3a supports Standard mode only */
+ clock-frequency = <100000>;
+ st,i2c-min-scl-pulse-width-us = <0>;
+ st,i2c-min-sda-pulse-width-us = <5>;
+
+ status = "okay";
+ };
};
};

@@ -149,3 +157,29 @@ &spifsm {
&st_dwc3 {
status = "okay";
};
+
+&sti_compo {
+ status = "okay";
+};
+
+&sti_tvout {
+ status = "okay";
+};
+
+&sti_hdmi {
+ ddc = <&hdmiddc>;
+
+ status = "okay";
+};
+
+&vtg_main {
+ status = "okay";
+};
+
+&vtg_aux {
+ status = "okay";
+};
+
+&gpu {
+ status = "okay";
+};
--
2.34.1



2023-07-28 08:00:58

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 14/14] ARM: dts: sti: enable basic display on stih418-b2264 board

On 27/07/2023 23:51, Alain Volmat wrote:
> Enable the compositor, tvout, hdmi and gpu on the B2264 board.
>
> Signed-off-by: Alain Volmat <[email protected]>
> ---
> arch/arm/boot/dts/st/stih418-b2264.dts | 34 ++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/arch/arm/boot/dts/st/stih418-b2264.dts b/arch/arm/boot/dts/st/stih418-b2264.dts
> index fc32a03073b6..35bf618e0783 100644
> --- a/arch/arm/boot/dts/st/stih418-b2264.dts
> +++ b/arch/arm/boot/dts/st/stih418-b2264.dts
> @@ -96,6 +96,14 @@ st,pins {
> };
> };
>
> + hdmiddc: i2c@9541000 {

You should really override by labels/phandles...


Best regards,
Krzysztof