| 
     1 Device tree bindings for Zinitx BT541 touchscreen controller
    2 
    3 Required properties:
    4 
    5  - compatible           : Should be "zinitix,bt541"
    6  - reg                  : I2C address of the chip. Should be 0x20
    7  - interrupts           : Interrupt to which the chip is connected
    8 
    9 Optional properties:
   10 
   11  - vdd-supply           : Analog power supply regulator on VCCA pin
   12  - vddo-supply          : Digital power supply regulator on VDD pin
   13  - zinitix,mode         : Mode of reporting touch points. Some modes may not work
   14                           with a particular ts firmware for unknown reasons. Available
   15                           modes are 1 and 2. Mode 2 is the default and preferred.
   16 
   17 The touchscreen-* properties are documented in touchscreen.txt in this
   18 directory.
   19 
   20 Example:
   21 
   22         i2c@00000000 {
   23                 /* ... */
   24 
   25                 bt541@20 {
   26                         compatible = "zinitix,bt541";
   27                         reg = <0x20>;
   28                         interrupt-parent = <&msmgpio>;
   29                         interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
   30                         pinctrl-names = "default";
   31                         pinctrl-0 = <&tsp_default>;
   32                         vdd-supply = <®_vdd_tsp>;
   33                         vddo-supply = <&pm8916_l6>;
   34                         touchscreen-size-x = <540>;
   35                         touchscreen-size-y = <960>;
   36                         zinitix,mode = <2>;
   37                 };
   38 
   39                 /* ... */
   40         };
Cache object: 55fc5a1b41a4d8fed357ee9cdc6dee32 
 
 |