dt-bindings:iio:potentiometer: give microchip,mcp4531 its own binding
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 31 Oct 2020 18:12:35 +0000 (18:12 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Dec 2020 19:40:19 +0000 (19:40 +0000)
commita86319f42c7b5f807fb03241a87023fa4640b4c7
treef95629d2bee419eb28132bed6a69e414165aa6bd
parent06d2ff6fe11e410c614e44fbb690382b3a8592fa
dt-bindings:iio:potentiometer: give microchip,mcp4531 its own binding

We use this part in an example for the envelope detector. That showed
that we need to allow for the #io-channel-cells property which
trivial-devices.yaml does not.

It doesn't make sense to add that property to trivial-devices as
it only applies for those devices that can provide some sort of
DAC or ADC service to another device driver.  Hence solution will
be to pull some IIO devices out to have their own file on a case
by case basis.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Peter Rosin <peda@axentia.se>
Link: https://lore.kernel.org/r/20201031181242.742301-4-jic23@kernel.org
Documentation/devicetree/bindings/iio/potentiometer/microchip,mcp4531.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/trivial-devices.yaml