arm64: dts: add more devices for zx296718
cover arm64: dts: add more devices for zx296718
From: Shawn Guo <[email protected]>
It adds devices mmc, vou hdmi and tvenc for zx296718 SoC and enables those available on board zx296718-evb.
Jun Nie (1):
arm64: dts: zte: add mmc devices for zx296718
Shawn Guo (2):
arm64: dts: zte: add vou and hdmi devices for zx296718
arm64: dts: zte: add tvenc device for zx296718
arch/arm64/boot/dts/zte/zx296718-evb.dts | 28 ++++++++ arch/arm64/boot/dts/zte/zx296718.dtsi | 119 +++++++++++++++++++++++++++++++ 2 files changed, 147 insertions(+)
Signature · 1 line
1.9.1
PATCH 1/3 arm64: dts: zte: add mmc devices for zx296718
From: Jun Nie <[email protected]>
Add three mmc devices for zx296718 SoC, and enable the SD and eMMMC on zx296718-evb board.
--- arch/arm64/boot/dts/zte/zx296718-evb.dts | 8 ++++ arch/arm64/boot/dts/zte/zx296718.dtsi | 66 ++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+)
arch/arm64/boot/dts/zte/zx296718-evb.dts +8 -0
@@ -59,6 +59,14 @@ }; +&emmc { + status = "okay"; +}; + +&sd1 { + status = "okay"; +}; + &uart0 { status = "okay"; };
arch/arm64/boot/dts/zte/zx296718.dtsi +66 -0
78 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH 2/3 arm64: dts: zte: add vou and hdmi devices for zx296718
In reply to Shawn GuoFrom: Shawn Guo <[email protected]>
It adds VOU DPC device and enables HDMI support, which includes both display and audio through SPDIF interface.
--- arch/arm64/boot/dts/zte/zx296718-evb.dts | 20 ++++++++++++++ arch/arm64/boot/dts/zte/zx296718.dtsi | 46 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+)
arch/arm64/boot/dts/zte/zx296718-evb.dts +20 -0
@@ -57,16 +57,36 @@ reg = <0x40000000 0x40000000>; }; + sound0 { + compatible = "simple-audio-card"; + simple-audio-card,name = "zx_snd_spdif0"; + + simple-audio-card,cpu { + sound-dai = <&spdif0>; + }; + + simple-audio-card,codec { + sound-dai = <&hdmi>; + }; + }; }; &emmc { status = "okay"; }; +&hdmi { + status = "okay"; +}; + &sd1 { status = "okay"; }; +&spdif0 { + status = "okay"; +}; + &uart0 { status = "okay"; };
arch/arm64/boot/dts/zte/zx296718.dtsi +46 -0
58 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH 3/3 arm64: dts: zte: add tvenc device for zx296718
In reply to Shawn GuoFrom: Shawn Guo <[email protected]>
It adds VOU tvenc device in zx296718.dtsi, so that boards with TV connector can enable the support by changing 'status' in board DTS file.
--- arch/arm64/boot/dts/zte/zx296718.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/zte/zx296718.dtsi +7 -0
@@ -398,6 +398,13 @@ #sound-dai-cells = <0>; status = "disabled"; }; + + tvenc: tvenc at 2000 { + compatible = "zte,zx296718-tvenc"; + reg = <0x2000 0x1000>; + zte,tvenc-power-control = <&sysctrl 0x170 0x10>; + status = "disabled"; + }; }; topcrm: clock-controller at 1461000 {
Signature · 1 line
1.9.1