dts: sync w400_a form W400 [1/1]
authorGongwei Chen <gongwei.chen@amlogic.com>
Mon, 28 Oct 2019 03:17:40 +0000 (11:17 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 30 Oct 2019 05:48:08 +0000 (22:48 -0700)
PD#SWPL-15005

Problem:
sync w400_a form W400

Solution:
sync w400_a form W400

Verify:
Verify by Android P w400_a

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

index cf61f5f5e24c59752651bff6324b1d341e64db35..fd0c0e5ad13b66ad8c756cdd92007793c3e678b3 100644 (file)
                gamma_en = <0>;/*1:enabel ;0:disable*/
                wb_en = <0>;/*1:enabel ;0:disable*/
                cm_en = <0>;/*1:enabel ;0:disable*/
+
+               interrupts = <0 56 1>;
+               interrupt-names = "vsync2";
        };
        amdolby_vision {
                compatible = "amlogic, dolby_vision_g12a";
        sensor: sensor {
                compatible = "soc, sensor";
                status = "okay";
-               sensor-name = "imx290"; /*imx290;os08a10;imx227*/
+               sensor-name = "os08a10"; /*imx290;os08a10;imx227*/
                pinctrl-names="default";
                pinctrl-0=<&clk12_24_z_pins>;
                clocks = <&clkc CLKID_24M>;
        iq: iq {
                compatible = "soc, iq";
                status = "okay";
-               sensor-name = "imx290"; /*imx290;os08a10;imx227*/
+               sensor-name = "os08a10"; /*imx290;os08a10;imx227*/
        };
 }; /* end of / */
 
 
        touchscreen@38 {
                compatible = "focaltech,fts";
-               status = "disabled";
+               status = "okay";
                reg = <0x38>;
                reset-gpio = <&gpio GPIOZ_9 GPIO_ACTIVE_HIGH>;
                irq-gpio = <&gpio GPIOZ_3 GPIO_ACTIVE_HIGH>;
-               x_max = <720>;
-               y_max = <1280>;
+               x_max = <1280>;
+               y_max = <720>;
+               rotation = <1>;
                max-touch-number = <10>;
        };
 };
                reg = <0x31>;
                status = "okay";
                reset_pin = <&gpio GPIOA_5 0>;
+               no_mclk;
        };
 
        tlv320adc3101_32: tlv320adc3101_32@32 {
index a5e16bf004dd083151517bd55a178f3524b5e739..fa3d13ad44ca398638533d8f0dba68f21718226c 100644 (file)
                gamma_en = <0>;/*1:enabel ;0:disable*/
                wb_en = <0>;/*1:enabel ;0:disable*/
                cm_en = <0>;/*1:enabel ;0:disable*/
+
+               interrupts = <0 56 1>;
+               interrupt-names = "vsync2";
        };
        amdolby_vision {
                compatible = "amlogic, dolby_vision_g12a";
        sensor: sensor {
                compatible = "soc, sensor";
                status = "okay";
-               sensor-name = "imx290"; /*imx290;os08a10;imx227*/
+               sensor-name = "os08a10"; /*imx290;os08a10;imx227*/
                pinctrl-names="default";
                pinctrl-0=<&clk12_24_z_pins>;
                clocks = <&clkc CLKID_24M>;
        iq: iq {
                compatible = "soc, iq";
                status = "okay";
-               sensor-name = "imx290"; /*imx290;os08a10;imx227*/
+               sensor-name = "os08a10"; /*imx290;os08a10;imx227*/
        };
 }; /* end of / */
 
 
        touchscreen@38 {
                compatible = "focaltech,fts";
-               status = "disabled";
+               status = "okay";
                reg = <0x38>;
                reset-gpio = <&gpio GPIOZ_9 GPIO_ACTIVE_HIGH>;
                irq-gpio = <&gpio GPIOZ_3 GPIO_ACTIVE_HIGH>;
-               x_max = <720>;
-               y_max = <1280>;
+               x_max = <1280>;
+               y_max = <720>;
+               rotation = <1>;
                max-touch-number = <10>;
        };
 };
                reg = <0x31>;
                status = "okay";
                reset_pin = <&gpio GPIOA_5 0>;
+               no_mclk;
        };
 
        tlv320adc3101_32: tlv320adc3101_32@32 {