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)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 28 Oct 2019 11:00:52 +0000 (04:00 -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 cf61f5f..fd0c0e5 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 a5e16bf..fa3d13a 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 {