iio: temperature: mlx90632: Add supply regulator
v2 cover iio: temperature: mlx90632: Add supply regulator
Add supply regulator to the sensor as initial update before proper power management is presented. This will reduce the diff for the following patches.
Changes in v2:
- Regulator voltage was removed as per comments from Jonathan Cameron and Lars-Peter Clausen
- Style handling for the error reporting of the regulator DT binding was adjusted
- NEW: Delay function was created and grouped together with call from the reset command, to ensure consistency and reduce the amount of code.
Crt Mori (2):
iio: temperature: mlx90632 Add supply regulator to sensor
dt-bindings: iio: mlx90632 Add supply regulator documentation
.../iio/temperature/melexis,mlx90632.yaml | 4 ++ drivers/iio/temperature/mlx90632.c | 63 +++++++++++++++++-- 2 files changed, 62 insertions(+), 5 deletions(-)
Signature · 1 line
2.34.1