forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/Documentation/devicetree/bindings/input/touchscreen/ads7846.txt
....@@ -32,7 +32,6 @@
3232 (ADS7846).
3333 ti,keep-vref-on set to keep vref on for differential
3434 measurements as well
35
- ti,swap-xy swap x and y axis
3635 ti,settle-delay-usec Settling time of the analog signals;
3736 a function of Vcc and the capacitance
3837 on the X/Y drivers. If set to non-zero,
....@@ -51,13 +50,6 @@
5150 in Ohms (u16).
5251 ti,x-min Minimum value on the X axis (u16).
5352 ti,y-min Minimum value on the Y axis (u16).
54
- ti,x-max Maximum value on the X axis (u16).
55
- ti,y-max Minimum value on the Y axis (u16).
56
- ti,pressure-min Minimum reported pressure value
57
- (threshold) - u16.
58
- ti,pressure-max Maximum reported pressure value (u16).
59
- ti,debounce-max Max number of additional readings per
60
- sample (u16).
6153 ti,debounce-tol Tolerance used for filtering (u16).
6254 ti,debounce-rep Additional consecutive good readings
6355 required after the first two (u16).
....@@ -67,7 +59,28 @@
6759 line is connected to.
6860 wakeup-source use any event on touchscreen as wakeup event.
6961 (Legacy property support: "linux,wakeup")
62
+ touchscreen-size-x General touchscreen binding, see [1].
63
+ touchscreen-size-y General touchscreen binding, see [1].
64
+ touchscreen-max-pressure General touchscreen binding, see [1].
65
+ touchscreen-min-pressure General touchscreen binding, see [1].
66
+ touchscreen-average-samples General touchscreen binding, see [1].
67
+ touchscreen-inverted-x General touchscreen binding, see [1].
68
+ touchscreen-inverted-y General touchscreen binding, see [1].
69
+ touchscreen-swapped-x-y General touchscreen binding, see [1].
7070
71
+[1] All general touchscreen properties are described in
72
+ Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt.
73
+
74
+Deprecated properties:
75
+
76
+ ti,swap-xy swap x and y axis
77
+ ti,x-max Maximum value on the X axis (u16).
78
+ ti,y-max Maximum value on the Y axis (u16).
79
+ ti,pressure-min Minimum reported pressure value
80
+ (threshold) - u16.
81
+ ti,pressure-max Maximum reported pressure value (u16).
82
+ ti,debounce-max Max number of additional readings per
83
+ sample (u16).
7184
7285 Example for a TSC2046 chip connected to an McSPI controller of an OMAP SoC::
7386