Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit c1cff65f authored by Harald Geyer's avatar Harald Geyer Committed by Maxime Ripard
Browse files

arm64: dts: allwinner: a64: add simplefb for A64 SoC



The A64 SoC features two display pipelines, one has a LCD output, the
other has a HDMI output.

Add support for simplefb for the LCD output. Tested on Teres I.

This patch was inspired by work of Icenowy Zheng.

Signed-off-by: default avatarHarald Geyer <harald@ccbib.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent d4185043
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -52,6 +52,26 @@
	#address-cells = <1>;
	#size-cells = <1>;

	chosen {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;

/*
 * The pipeline mixer0-lcd0 depends on clock CLK_MIXER0 from DE2 CCU.
 * However there is no support for this clock on A64 yet, so we depend
 * on the upstream clocks here to keep them (and thus CLK_MIXER0) up.
 */
		simplefb_lcd: framebuffer-lcd {
			compatible = "allwinner,simple-framebuffer",
				     "simple-framebuffer";
			allwinner,pipeline = "mixer0-lcd0";
			clocks = <&ccu CLK_TCON0>,
				 <&ccu CLK_DE>, <&ccu CLK_BUS_DE>;
			status = "disabled";
		};
	};

	cpus {
		#address-cells = <1>;
		#size-cells = <0>;