162306a36Sopenharmony_ci* Rohm BU21013 Touch Screen
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired properties:
462306a36Sopenharmony_ci - compatible              : "rohm,bu21013_tp"
562306a36Sopenharmony_ci - reg                     : I2C device address
662306a36Sopenharmony_ci - reset-gpios             : GPIO pin enabling (selecting) chip (CS)
762306a36Sopenharmony_ci - interrupt-parent        : the phandle for the gpio controller
862306a36Sopenharmony_ci - interrupts              : (gpio) interrupt to which the chip is connected
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciOptional properties:
1162306a36Sopenharmony_ci - touch-gpios             : GPIO pin registering a touch event
1262306a36Sopenharmony_ci - <supply_name>-supply    : Phandle to a regulator supply
1362306a36Sopenharmony_ci - touchscreen-size-x      : General touchscreen binding, see [1].
1462306a36Sopenharmony_ci - touchscreen-size-y      : General touchscreen binding, see [1].
1562306a36Sopenharmony_ci - touchscreen-inverted-x  : General touchscreen binding, see [1].
1662306a36Sopenharmony_ci - touchscreen-inverted-y  : General touchscreen binding, see [1].
1762306a36Sopenharmony_ci - touchscreen-swapped-x-y : General touchscreen binding, see [1].
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci[1] All general touchscreen properties are described in
2062306a36Sopenharmony_ci    Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciDeprecated properties:
2362306a36Sopenharmony_ci - rohm,touch-max-x        : Maximum outward permitted limit in the X axis
2462306a36Sopenharmony_ci - rohm,touch-max-y        : Maximum outward permitted limit in the Y axis
2562306a36Sopenharmony_ci - rohm,flip-x             : Flip touch coordinates on the X axis
2662306a36Sopenharmony_ci - rohm,flip-y             : Flip touch coordinates on the Y axis
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciExample:
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci	i2c@80110000 {
3162306a36Sopenharmony_ci		bu21013_tp@5c {
3262306a36Sopenharmony_ci			compatible = "rohm,bu21013_tp";
3362306a36Sopenharmony_ci			reg = <0x5c>;
3462306a36Sopenharmony_ci			interrupt-parent = <&gpio2>;
3562306a36Sopenharmony_ci			interrupts <&20 IRQ_TYPE_LEVEL_LOW>;
3662306a36Sopenharmony_ci			touch-gpio = <&gpio2 20 GPIO_ACTIVE_LOW>;
3762306a36Sopenharmony_ci			avdd-supply = <&ab8500_ldo_aux1_reg>;
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci			touchscreen-size-x = <384>;
4062306a36Sopenharmony_ci			touchscreen-size-y = <704>;
4162306a36Sopenharmony_ci			touchscreen-inverted-y;
4262306a36Sopenharmony_ci		};
4362306a36Sopenharmony_ci	};
44