dts: ac214 add tunner DVB-S2+ISDB-T:AV2018+CXD22856+R836 [1/3]
authorGongwei Chen <gongwei.chen@amlogic.com>
Tue, 20 Aug 2019 07:38:53 +0000 (15:38 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 23 Aug 2019 05:27:20 +0000 (22:27 -0700)
PD#SWPL-12874

Problem:
ac214 add tunner DVB-S2+ISDB-T:AV2018+CXD22856+R836

Solution:
ac214 add tunner DVB-S2+ISDB-T:AV2018+CXD22856+R836

Verify:
Verify by Android P ac214

Change-Id: If7cd5f35b12b44a2080ff0c9d1e3d90d5d3d96a9
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
arch/arm/boot/dts/amlogic/sm1_s905x3_ac214.dts
arch/arm64/boot/dts/amlogic/sm1_s905x3_ac214.dts

index 15b0eed..9aadb9a 100644 (file)
                dev_name = "ionvideo";
                status = "okay";
        };
+
        dvb {
                compatible = "amlogic, dvb";
                dev_name = "dvb";
-               fe0_mode = "external";
-               fe0_demod = "Avl6762";
-               fe0_i2c_adap_id = <&i2c3>;
-               fe0_demod_i2c_addr = <0x14>;
-               fe0_ts = <0>;
-               fe0_reset_value = <0>;
-               fe0_reset_gpio = <&gpio GPIOZ_10 GPIO_ACTIVE_HIGH>;
+               dtv_demod0 = "cxd2856";
+               dtv_demod0_i2c_adap = <&i2c3>;
+               dtv_demod0_i2c_addr = <0xD8>;
+               dtv_demod0_reset_value = <0>;
+               dtv_demod0_reset_gpio = <&gpio_ao GPIOAO_10 GPIO_ACTIVE_HIGH>;
                dtv_demod0_ant_poweron_value = <0>;
+               dtv_demod0_ant_power_gpio = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
+
+               fe0_dtv_demod = <0>;
+               fe0_ts  = <0>;
+               fe0_dev = <0>;
 
                ts0 = "serial";
                ts0_control = <0x800>;
index a76f8d6..181a724 100644 (file)
                nrds-enable = <1>;
                pps-enable = <1>;
        };
+
        dvb {
                compatible = "amlogic, dvb";
                dev_name = "dvb";
-               fe0_mode = "external";
-               fe0_demod = "Avl6762";
-               fe0_i2c_adap_id = <&i2c3>;
-               fe0_demod_i2c_addr = <0x14>;
-               fe0_ts = <0>;
-               fe0_reset_value = <0>;
-               fe0_reset_gpio = <&gpio GPIOZ_10 GPIO_ACTIVE_HIGH>;
+               dtv_demod0 = "cxd2856";
+               dtv_demod0_i2c_adap = <&i2c3>;
+               dtv_demod0_i2c_addr = <0xD8>;
+               dtv_demod0_reset_value = <0>;
+               dtv_demod0_reset_gpio = <&gpio_ao GPIOAO_10 GPIO_ACTIVE_HIGH>;
+               dtv_demod0_ant_poweron_value = <0>;
+               dtv_demod0_ant_power_gpio = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
+
+               fe0_dtv_demod = <0>;
+               fe0_ts  = <0>;
+               fe0_dev = <0>;
 
                ts0 = "serial";
                ts0_control = <0x800>;