cec: add cec support for txl p346 p341
authorYong Qin <yong.qin@amlogic.com>
Mon, 23 Jul 2018 07:42:31 +0000 (15:42 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Tue, 24 Jul 2018 05:40:34 +0000 (22:40 -0700)
PD#170469: cec: add cec support for txl p346 p341
1.support p346
2.support p341

Change-Id: I4b680d407ce0c79eb952a3b74c2cf06df15d32ae
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
arch/arm64/boot/dts/amlogic/mesontxl.dtsi
arch/arm64/boot/dts/amlogic/txl_t962_p320.dts
arch/arm64/boot/dts/amlogic/txl_t962_p321.dts

index df6fcb52519cdd5efb1ac2d52feb1c4a115dbf70..2aeb76e8459a89c66ee3f95f6b9ce960660da94f 100644 (file)
                };
        };
 
+       aocec: aocec@0xc8100000 {
+               compatible = "amlogic, aocec-txl";
+               status = "okay";
+               vendor_name = "Amlogic"; /* Max Chars: 8     */
+               /* Refer to the following URL at:
+                * http://standards.ieee.org/develop/regauth/oui/oui.txt
+                */
+               vendor_id = <0x000000>;
+               product_desc = "TXL"; /* Max Chars: 16    */
+               cec_osd_string = "AML_TV"; /* Max Chars: 14    */
+               port_num = <3>;
+               ee_cec;
+               arc_port_mask = <0x2>;
+               interrupts = <0 56 1
+                               0 199 1>;
+               interrupt-names = "hdmi_aocecb","hdmi_aocec";
+               pinctrl-names = "default","hdmitx_aocecb","cec_pin_sleep";
+               pinctrl-0=<&hdmitx_aocec>;
+               pinctrl-1=<&hdmitx_aocecb>;
+               pinctrl-2=<&hdmitx_aocec>;
+               reg = <0x0 0xc810023c 0x0 0x4
+                      0x0 0xc8100000 0x0 0x200
+                      0x0 0xda83e000 0x0 0x10
+                      0x0 0xc883c000 0x0 0x400>;
+       };
+
        canvas: canvas{
                compatible = "amlogic, meson, canvas";
                dev_name = "amlogic-canvas";
index b792d3e4830642780648660f766c7815709948ee..3024447644d3118af0fc8297a4145a355d09e23c 100644 (file)
                };
        };
 
-       aocec: aocec@0xc8100000 {
-               compatible = "amlogic, aocec-txl";
-               status = "okay";
-               vendor_name = "Amlogic"; /* Max Chars: 8     */
-               /* Refer to the following URL at:
-                * http://standards.ieee.org/develop/regauth/oui/oui.txt
-                */
-               vendor_id = <0x000000>;
-               product_desc = "TXL"; /* Max Chars: 16    */
-               cec_osd_string = "AML_TV"; /* Max Chars: 14    */
-               port_num = <3>;
-               ee_cec;
-               arc_port_mask = <0x2>;
-               interrupts = <0 56 1
-                               0 199 1>;
-               interrupt-names = "hdmi_aocecb","hdmi_aocec";
-               pinctrl-names = "default","hdmitx_aocecb","cec_pin_sleep";
-               pinctrl-0=<&hdmitx_aocec>;
-               pinctrl-1=<&hdmitx_aocecb>;
-               pinctrl-2=<&hdmitx_aocec>;
-               reg = <0x0 0xc810023c 0x0 0x4
-                      0x0 0xc8100000 0x0 0x200
-                      0x0 0xda83e000 0x0 0x10
-                      0x0 0xc883c000 0x0 0x400>;
-       };
-
        /* start AUDIO_RELATED */
        i2s_dai: I2S {
                #sound-dai-cells = <0>;
index d48e90f5ec02b11f858b2626ee3a033719d47d62..a3bcedb8a7b4192ccb2eafd092bc54bfb085f0cc 100644 (file)
                };
        };
 
-       aocec: aocec@0xc8100000 {
-               compatible = "amlogic, aocec-txl";
-               status = "okay";
-               vendor_name = "Amlogic"; /* Max Chars: 8     */
-               /* Refer to the following URL at:
-                * http://standards.ieee.org/develop/regauth/oui/oui.txt
-                */
-               vendor_id = <0x000000>;
-               product_desc = "TXL"; /* Max Chars: 16    */
-               cec_osd_string = "AML_TV"; /* Max Chars: 14    */
-               port_num = <3>;
-               ee_cec;
-               arc_port_mask = <0x2>;
-               interrupts = <0 56 1
-                               0 199 1>;
-               interrupt-names = "hdmi_aocecb","hdmi_aocec";
-               pinctrl-names = "default","hdmitx_aocecb","cec_pin_sleep";
-               pinctrl-0=<&hdmitx_aocec>;
-               pinctrl-1=<&hdmitx_aocecb>;
-               pinctrl-2=<&hdmitx_aocec>;
-               reg = <0x0 0xc810023c 0x0 0x4
-                      0x0 0xc8100000 0x0 0x200
-                      0x0 0xda83e000 0x0 0x10
-                      0x0 0xc883c000 0x0 0x400>;
-       };
-
        /* start AUDIO_RELATED */
        i2s_dai: I2S {
                #sound-dai-cells = <0>;