Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: input: ti-tsc-adc: Add new compatible for AM654 SoCs

AM654 SoCs has ADC IP which is similar to AM335x, but without the
touchscreen part. Add new compatible to handle AM654 SoCs. Also, it
seems that existing compatible strings used in the kernel DTs were never
documented. So, document them now.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>

authored by

Vignesh R and committed by
Tero Kristo
5bb57a74 7e7e7dd5

+8
+8
Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt
··· 2 2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 3 4 4 Required properties: 5 + - mfd 6 + compatible: Should be 7 + "ti,am3359-tscadc" for AM335x/AM437x SoCs 8 + "ti,am654-tscadc", "ti,am3359-tscadc" for AM654 SoCs 5 9 - child "tsc" 10 + compatible: Should be "ti,am3359-tsc". 6 11 ti,wires: Wires refer to application modes i.e. 4/5/8 wire touchscreen 7 12 support on the platform. 8 13 ti,x-plate-resistance: X plate resistance ··· 30 25 AIN0 = 0, AIN1 = 1 and so on till AIN7 = 7. 31 26 XP = 0, XN = 1, YP = 2, YN = 3. 32 27 - child "adc" 28 + compatible: Should be 29 + "ti,am3359-adc" for AM335x/AM437x SoCs 30 + "ti,am654-adc", "ti,am3359-adc" for AM654 SoCs 33 31 ti,adc-channels: List of analog inputs available for ADC. 34 32 AIN0 = 0, AIN1 = 1 and so on till AIN7 = 7. 35 33