Re: [PATCH 3/3] input: goodix: Add bindings documentation
From: Arnd Bergmann <arnd@arndb.de>
Date: 2015-01-19 12:13:03
Also in:
linux-devicetree
From: Arnd Bergmann <arnd@arndb.de>
Date: 2015-01-19 12:13:03
Also in:
linux-devicetree
On Saturday 17 January 2015 17:36:50 Aleksei Mamlin wrote:
--- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/gt9xx.txt@@ -0,0 +1,23 @@ +Device tree bindings for Goodix GT9xx series touchscreen controller + +Required properties: + + - compatible : Should be "goodix,gt9xx" + - reg : I2C address of the chip + - interrupt-parent : Interrupt controller to which the chip is connected + - interrupts : Interrupt to which the chip is connected +
You should avoid the use of wildcards in compatible strings. Better list all the known part numbers, or (if they are 100% compatible with one another) pick the oldest one we support and use that as the compatible string. Arnd