brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · da4c9d8 Raw
44 lines · plain
1* Rohm BU21013 Touch Screen2 3Required properties:4 - compatible              : "rohm,bu21013_tp"5 - reg                     : I2C device address6 - reset-gpios             : GPIO pin enabling (selecting) chip (CS)7 - interrupt-parent        : the phandle for the gpio controller8 - interrupts              : (gpio) interrupt to which the chip is connected9 10Optional properties:11 - touch-gpios             : GPIO pin registering a touch event12 - <supply_name>-supply    : Phandle to a regulator supply13 - touchscreen-size-x      : General touchscreen binding, see [1].14 - touchscreen-size-y      : General touchscreen binding, see [1].15 - touchscreen-inverted-x  : General touchscreen binding, see [1].16 - touchscreen-inverted-y  : General touchscreen binding, see [1].17 - touchscreen-swapped-x-y : General touchscreen binding, see [1].18 19[1] All general touchscreen properties are described in20    Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt.21 22Deprecated properties:23 - rohm,touch-max-x        : Maximum outward permitted limit in the X axis24 - rohm,touch-max-y        : Maximum outward permitted limit in the Y axis25 - rohm,flip-x             : Flip touch coordinates on the X axis26 - rohm,flip-y             : Flip touch coordinates on the Y axis27 28Example:29 30	i2c@80110000 {31		bu21013_tp@5c {32			compatible = "rohm,bu21013_tp";33			reg = <0x5c>;34			interrupt-parent = <&gpio2>;35			interrupts <&20 IRQ_TYPE_LEVEL_LOW>;36			touch-gpio = <&gpio2 20 GPIO_ACTIVE_LOW>;37			avdd-supply = <&ab8500_ldo_aux1_reg>;38 39			touchscreen-size-x = <384>;40			touchscreen-size-y = <704>;41			touchscreen-inverted-y;42		};43	};44