[PATCH v2 2/2] hwmon: (adcxx) Add device tree support

2017-08-21 Thread Florian Eckert
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

[PATCH v2 2/2] hwmon: (adcxx) Add device tree support

2017-08-21 Thread Florian Eckert
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