dt-bindings:iio:dac:adi,ad7303 yaml conversion
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 31 Oct 2020 13:40:58 +0000 (13:40 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 16 Nov 2020 19:54:57 +0000 (19:54 +0000)
commit6918ed88bf35605df634db74734262b74c372920
tree0f182c5c39e1deea5cf3ab6062a3619e0b58fb28
parent8b74e06b0f4db833aa11b21e31fb40d6ded3c093
dt-bindings:iio:dac:adi,ad7303 yaml conversion

Converted to maintain the requirement for Vdd-supply as per original file.
It is possible we could relax this requirement to make it at least one
of Vdd-supply and REF-supply.  We need to establish the scaling of the
output channel and if REF-supply is provided that is used instead of
Vdd-supply, hence I cannot see why a dummy regulator cannot be used for
Vdd-supply if this happens.

For now, let us keep it simple.

Drop adi,use-external-reference from binding example as no such binding
exists.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20201031134110.724233-18-jic23@kernel.org
Documentation/devicetree/bindings/iio/dac/ad7303.txt [deleted file]
Documentation/devicetree/bindings/iio/dac/adi,ad7303.yaml [new file with mode: 0644]