[PATCH v2 0/2] iio: dac: ad5770r: dt bindings fixes

From: alexandru.tachici
Date: Thu Apr 16 2020 - 07:59:20 EST


From: Alexandru Tachici <alexandru.tachici@xxxxxxxxxx>

This aims to replace use of num property from dt nodes with
reg property both in dt bindings and driver and fix
dt bindings errors.

1. read from fwnode reg property instead of num property

2. replace num property with reg property and fix dt
bindings errors

Changelog v1 -> v2:
- replaced "oneOf:" with items for adi,range-microamp
- added reg allowed values to each channel

Alexandru Tachici (2):
iio: dac: ad5770r: read channel nr from reg
dt-bindings: iio: dac: AD5570R fix bindings errors

.../bindings/iio/dac/adi,ad5770r.yaml | 82 +++++++++----------
drivers/iio/dac/ad5770r.c | 2 +-
2 files changed, 40 insertions(+), 44 deletions(-)

--
2.20.1