From: Yong Qin Date: Thu, 12 Dec 2019 06:23:43 +0000 (+0800) Subject: cec: no port out define in g12a, g12b dts [1/1] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a4281e341fc464829f11f288d3d0b21fda8f7e48;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git cec: no port out define in g12a, g12b dts [1/1] PD#SWPL-17700 Problem: g12a, g12b android P,Q can't got port in/out info at power on sequence. Solution: add output port define, modify dts, and port out define Verify: g12a U212 Change-Id: I83120e56edb60c54d9868e0635f1b4bf517eb4d4 Signed-off-by: Yong Qin (cherry picked from commit 0c0dd13f356d8349513d0a72e98538b84d946027) --- diff --git a/arch/arm/boot/dts/amlogic/mesong12a.dtsi b/arch/arm/boot/dts/amlogic/mesong12a.dtsi index 2451caab9f41..c827ee3fa545 100644 --- a/arch/arm/boot/dts/amlogic/mesong12a.dtsi +++ b/arch/arm/boot/dts/amlogic/mesong12a.dtsi @@ -1125,6 +1125,7 @@ cec_osd_string = "AML_MBOX"; /* Max Chars: 14 */ cec_version = <5>;/*5:1.4;6:2.0*/ port_num = <1>; + output = <1>; ee_cec; arc_port_mask = <0x2>; interrupts = <0 203 1 diff --git a/arch/arm/boot/dts/amlogic/mesong12b.dtsi b/arch/arm/boot/dts/amlogic/mesong12b.dtsi index dc2dca7771c7..1999300b44b5 100644 --- a/arch/arm/boot/dts/amlogic/mesong12b.dtsi +++ b/arch/arm/boot/dts/amlogic/mesong12b.dtsi @@ -1223,6 +1223,7 @@ product_desc = "G12B"; /* Max Chars: 16 */ cec_osd_string = "AML_MBOX"; /* Max Chars: 14 */ port_num = <1>; + output = <1>; ee_cec; arc_port_mask = <0x2>; interrupts = <0 203 1 diff --git a/arch/arm/boot/dts/amlogic/mesong12b_a.dtsi b/arch/arm/boot/dts/amlogic/mesong12b_a.dtsi index a5e2bff85ca1..b644db726546 100644 --- a/arch/arm/boot/dts/amlogic/mesong12b_a.dtsi +++ b/arch/arm/boot/dts/amlogic/mesong12b_a.dtsi @@ -1168,6 +1168,7 @@ product_desc = "G12B"; /* Max Chars: 16 */ cec_osd_string = "AML_MBOX"; /* Max Chars: 14 */ port_num = <1>; + output = <1>; ee_cec; arc_port_mask = <0x2>; interrupts = <0 203 1 diff --git a/arch/arm64/boot/dts/amlogic/mesong12a.dtsi b/arch/arm64/boot/dts/amlogic/mesong12a.dtsi index 6cef75e8bb14..a079a9299bb5 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12a.dtsi @@ -1124,6 +1124,7 @@ cec_osd_string = "AML_MBOX"; /* Max Chars: 14 */ cec_version = <5>;/*5:1.4;6:2.0*/ port_num = <1>; + output = <1>; ee_cec; arc_port_mask = <0x2>; interrupts = <0 203 1 diff --git a/arch/arm64/boot/dts/amlogic/mesong12b.dtsi b/arch/arm64/boot/dts/amlogic/mesong12b.dtsi index 43db314612d1..6b0b10dd0f4f 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12b.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12b.dtsi @@ -1223,6 +1223,7 @@ product_desc = "G12B"; /* Max Chars: 16 */ cec_osd_string = "AML_MBOX"; /* Max Chars: 14 */ port_num = <1>; + output = <1>; ee_cec; arc_port_mask = <0x2>; interrupts = <0 203 1 diff --git a/arch/arm64/boot/dts/amlogic/mesong12b_a.dtsi b/arch/arm64/boot/dts/amlogic/mesong12b_a.dtsi index 91f2b2220392..5da602c56011 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12b_a.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12b_a.dtsi @@ -1168,6 +1168,7 @@ product_desc = "G12B"; /* Max Chars: 16 */ cec_osd_string = "AML_MBOX"; /* Max Chars: 14 */ port_num = <1>; + output = <1>; ee_cec; arc_port_mask = <0x2>; interrupts = <0 203 1