@@ -17,13 +17,16 @@
remaining 4 can be used by the ADC.
ti,wire-config: Different boards could have a different order for
connecting wires on touchscreen. We need to provide an
- 8 bit number where in the 1st four bits represent the
- analog lines and the next 4 bits represent positive/
- negative terminal on that input line. Notations to
- represent the input lines and terminals resoectively
- is as follows:
+ 8 bit number where the most significant nibble represent
+ the analog lines and the least significant nibble
+ represent positive/ negative terminal on that input
+ line. Notations to represent the input lines and
+ terminals resoectively is as follows:
AIN0 = 0, AIN1 = 1 and so on till AIN7 = 7.
XP = 0, XN = 1, YP = 2, YN = 3.
+
+ Example: ti,wire-config = <0x71>;
+ => line AIN7, configuration XN
- child "adc"
ti,adc-channels: List of analog inputs available for ADC.
AIN0 = 0, AIN1 = 1 and so on till AIN7 = 7.