devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: dac: ad5770r: dt bindings fixes
@ 2020-04-16 11:58 alexandru.tachici
  2020-04-16 11:58 ` [PATCH v2 1/2] iio: dac: ad5770r: read channel nr from reg alexandru.tachici
  2020-04-16 11:58 ` [PATCH v2 2/2] dt-bindings: iio: dac: AD5570R fix bindings errors alexandru.tachici
  0 siblings, 2 replies; 5+ messages in thread
From: alexandru.tachici @ 2020-04-16 11:58 UTC (permalink / raw)
  To: linux-iio, linux-kernel, devicetree; +Cc: jic23, robh+dt

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

-- 
2.20.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-18 15:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-16 11:58 [PATCH v2 0/2] iio: dac: ad5770r: dt bindings fixes alexandru.tachici
2020-04-16 11:58 ` [PATCH v2 1/2] iio: dac: ad5770r: read channel nr from reg alexandru.tachici
2020-04-18 15:30   ` Jonathan Cameron
2020-04-16 11:58 ` [PATCH v2 2/2] dt-bindings: iio: dac: AD5570R fix bindings errors alexandru.tachici
2020-04-16 19:32   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).