ARM: ux500: improve BU21013 touchpad bindings
In preparation to update to bu21013_tp driver properly annotate GPIOs property (the INT GPIOs are active low, not open drain), and also define interrupt lines so we do not have to have special conversion in the driver. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:

committed by
Linus Walleij

parent
ca084e178b
commit
97c6261433
@@ -6,6 +6,8 @@
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include "ste-hrefv60plus.dtsi"
|
||||
#include "ste-href-stuib.dtsi"
|
||||
|
||||
@@ -25,12 +27,16 @@
|
||||
i2c@80110000 {
|
||||
/* Only one of these will be used */
|
||||
bu21013_tp@5c {
|
||||
touch-gpio = <&gpio2 20 0x4>;
|
||||
reset-gpio = <&gpio4 17 0x4>;
|
||||
interrupt-parent = <&gpio2>;
|
||||
interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
|
||||
touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
|
||||
reset-gpios = <&gpio4 17 GPIO_LINE_OPEN_DRAIN>;
|
||||
};
|
||||
bu21013_tp@5d {
|
||||
touch-gpio = <&gpio2 20 0x4>;
|
||||
reset-gpio = <&gpio4 17 0x4>;
|
||||
interrupt-parent = <&gpio2>;
|
||||
interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
|
||||
touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
|
||||
reset-gpios = <&gpio4 17 GPIO_LINE_OPEN_DRAIN>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user