mbox series

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

Message ID 20200416115848.56156-1-alexandru.tachici@analog.com (mailing list archive)
Headers show
Series iio: dac: ad5770r: dt bindings fixes | expand

Message

Alexandru Tachici April 16, 2020, 11:58 a.m. UTC
From: Alexandru Tachici <alexandru.tachici@analog.com>

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(-)