cec: add cec support for txl p346 p341

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>
This commit is contained in:
Yong Qin
2018-07-23 15:42:31 +08:00
committed by Yixun Lan
parent 677c0ebda6
commit ccbd66f027
3 changed files with 26 additions and 52 deletions

View File

@@ -802,6 +802,32 @@
};
};
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";

View File

@@ -774,32 +774,6 @@
};
};
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>;

View File

@@ -783,32 +783,6 @@
};
};
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>;