[PATCH 1/2] ARM: dts: sunxi: h2-plus-bananapi-m2-zero: Add HDMI out

Jernej Škrabec jernej.skrabec at siol.net
Tue Mar 2 17:25:48 GMT 2021


Hi!

Dne torek, 02. marec 2021 ob 10:19:25 CET je Maxime Ripard napisal(a):
> Hi,
> 
> On Sun, Feb 28, 2021 at 05:16:56PM +0100, Pieter Beers wrote:
> > Add HDMI out, including the display engine, to the BananaPi
> > M2 Zero.
> > 
> > Signed-off-by: Pieter Beers <pjbrs at floorenpj.xs4all.nl>
> > ---
> >  .../dts/sun8i-h2-plus-bananapi-m2-zero.dts    | 25 +++++++++++++++++++
> >  1 file changed, 25 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/
arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
> > index e76d56a3df9c..d339a26662cb 100644
> > --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
> > +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
> > @@ -26,6 +26,17 @@
> >  		stdout-path = "serial0:115200n8";
> >  	};
> >  
> > +	connector {
> > +		compatible = "hdmi-connector";
> > +		type = "a";

I didn't noticed earlier, but BananaPi M2 Zero has mini HDMI, so type should 
be set to "c" here.

Best regards,
Jernej

> > +
> > +		port {
> > +			hdmi_con_in: endpoint {
> > +				remote-endpoint = 
<&hdmi_out_con>;
> > +			};
> > +		};
> > +	};
> > +
> >  	leds {
> >  		compatible = "gpio-leds";
> >  
> > @@ -107,6 +118,20 @@
> >  	};
> >  };
> >  
> > +&de {
> > +	status = "okay";
> > +};
> > +
> > +&hdmi {
> > +	status = "okay";
> > +};
> > +
> > +&hdmi_out {
> > +	hdmi_out_con: endpoint {
> > +		remote-endpoint = <&hdmi_con_in>;
> > +	};
> > +};
> > +
> 
> These nodes should be ordered by alphabetical order
> 
> Thanks!
> Maxime
> 





More information about the linux-arm-kernel mailing list