RFC Input: adc-joystick: add detachable devices support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: adc-joystick: add valid-rangeDocumentation/ | +62 | 3 replies | |
| 2/2 | Input: adc-joystick - add detachable devices supportdrivers/ | +57 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] Input: adc-joystick: add detachable devices support
For detachable or lock-able joysticks the ADC lanes might be biased to GND or AVDD when the joystick is detached/locked.
One such kind of joystick is found in the Ritmix RZX-50 handheld. The joystick is non-detachable, although ADC lane biased to power supply when the "Hold" switch is activated.
To avoid reporting old/broken measurements valid-range is introduced. When measured value is outside valid-range the driver reports safe center position for corresponding axis.
Siarhei Volkau (2):
dt-bindings: adc-joystick: add valid-range
Input: adc-joystick - add detachable devices support
.../bindings/input/adc-joystick.yaml | 62 +++++++++++++++++++ drivers/input/joystick/adc-joystick.c | 58 ++++++++++++++++- 2 files changed, 119 insertions(+), 1 deletion(-)
Signature · 1 line
2.36.1