input: analog_axis: add output inversion
The driver right now only allows inverting the input value, which can be useful for differential channels but is quite confusing for single ended ones. Implement a simple output inversion flag instead to make up for that. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
27270fa14d
commit
32fafc7176
3 changed files with 17 additions and 5 deletions
|
@ -140,7 +140,8 @@
|
|||
in-min = <(-100)>;
|
||||
in-max = <100>;
|
||||
zephyr,axis = <0>;
|
||||
invert;
|
||||
invert-input;
|
||||
invert-output;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue