cec: modify pinmux
authorYong Qin <yong.qin@amlogic.com>
Thu, 5 Jul 2018 08:30:51 +0000 (16:30 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Thu, 5 Jul 2018 12:47:44 +0000 (05:47 -0700)
PD#169602: cec: for g12b add pinmux
1.support transwich cec
2.support snps cec

Change-Id: I21b79e402a8580e97604874f25790b7659d44906
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
arch/arm64/boot/dts/amlogic/mesong12b.dtsi

index 98142d6502015047e6d123427da74ad2dfbf9e44..ee4926364326f2183c9b3dc4530c4b7ab1893b06 100644 (file)
                 * http://standards.ieee.org/develop/regauth/oui/oui.txt
                 */
                vendor_id = <0x000000>;
-               product_desc = "G12A"; /* Max Chars: 16    */
+               product_desc = "G12B"; /* Max Chars: 16    */
                cec_osd_string = "AML_MBOX"; /* Max Chars: 14    */
                port_num = <1>;
                ee_cec;
                arc_port_mask = <0x2>;
-               interrupts = <0 203 1>;
-               interrupt-names = "hdmi_aocecb";
-               pinctrl-names = "default";
-               pinctrl-0=<&eecec_b>;
+               interrupts = <0 203 1
+                                       0 199 1>;       /*0:snps 1:ts*/
+               interrupt-names = "hdmi_aocecb","hdmi_aocec";
+               pinctrl-names = "default","hdmitx_aocecb","cec_pin_sleep";
+               pinctrl-0=<&eecec_a>;
+               pinctrl-1=<&eecec_b>;
+               pinctrl-2=<&eecec_b>;
                reg = <0x0 0xFF80023c 0x0 0x4
                       0x0 0xFF800000 0x0 0x400>;
        };