I have this tablet since 3 years...
Now i want to use linux in it. I have modidy the u-boot driver in orther to 
touchscreen and USB otg work.

I think that the problem was my colorfly as Goodix 911 touchscreen controller, 
now touch screen and USB OTG keyboard and  mouse works (requiers usb hub witch 
power supply), sun6i-a31s-colorfly-e708-q1.dts:




/* jcbarrientos .... init goodix 911 driver ****/
&i2c1 {
        pinctrl-names = "default";
        pinctrl-0 = <&i2c1_pins_a>;
        status = "okay";

        ctp@5d {
                pinctrl-names = "default";
                pinctrl-0 = <&gt911_int_e708_q1>;
                compatible = "goodix,gt911";
                reg = <0x5d>;
                interrupt-parent = <&pio>;
                interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; /* PA3 */
                touchscreen-swapped-x-y;
        };
};

&i2c2 {
        pinctrl-names = "default";
        pinctrl-0 = <&i2c2_pins_a>;
        status = "okay";

        accelerometer@1c {
                pinctrl-names = "default";
                pinctrl-0 = <&mma8452_int_e708_q1>;
                compatible = "fsl,mma8452";
                reg = <0x1c>;
                interrupt-parent = <&pio>;
                interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; /* PA9 */
                #io-channel-cells = <1>;
        };
};



&lradc {
        vref-supply = <&reg_aldo3>;
        status = "okay";

        button@1000 {
                label = "Home";
                linux,code = <KEY_HOMEPAGE>;
                channel = <0>;
                voltage = <1000000>;
        };
};

&mmc0 {
        pinctrl-names = "default";
        pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_e708_q1>;
        vmmc-supply = <&reg_dcdc1>;
        bus-width = <4>;
        cd-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */
        cd-inverted;
        status = "okay";
};

&pio {
        gt911_int_e708_q1: gt911_int_pin@0 {
                allwinner,pins = "PA3";
                allwinner,function = "gpio_in";
                allwinner,drive = <SUN4I_PINCTRL_10_MA>;
                allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
        };
/* jcbarrientos .... end goodix 911 driver ****/

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to