Add device tree supoort for this driver.
Set reference voltage of ADC with the regulator device tree property.
If not set use default 330uV (3.3V).
- vref-supply
Signed-off-by: Florian Eckert
---
v2:
- use regulator voltage binding
- use dev_dbg
drivers/hwmon/adcxx.c | 62
Add device tree supoort for this driver.
Set reference voltage of ADC with the regulator device tree property.
If not set use default 330uV (3.3V).
- vref-supply
Signed-off-by: Florian Eckert
---
v2:
- use regulator voltage binding
- use dev_dbg
drivers/hwmon/adcxx.c | 62
2 matches
Mail list logo