1

dt-bindings: iio: dac: adi,ad56xx: Fix duplicate compatible strings

adi,ad5686.yaml and adi,ad5696.yaml duplicate all the I2C device
compatible strings with the exception of "adi,ad5337r". Since
adi,ad5686.yaml references spi-peripheral-props.yaml, drop the I2C
devices from it making it only SPI devices. Update the titles to make
the distinction clear.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20240910234440.1045098-1-robh@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Rob Herring (Arm) 2024-09-10 18:44:39 -05:00 committed by Jonathan Cameron
parent 530688e39c
commit 9de32f48c5
2 changed files with 19 additions and 37 deletions

View File

@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/iio/dac/adi,ad5686.yaml# $id: http://devicetree.org/schemas/iio/dac/adi,ad5686.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Analog Devices AD5360 and similar DACs title: Analog Devices AD5360 and similar SPI DACs
maintainers: maintainers:
- Michael Hennerich <michael.hennerich@analog.com> - Michael Hennerich <michael.hennerich@analog.com>
@ -12,8 +12,6 @@ maintainers:
properties: properties:
compatible: compatible:
oneOf:
- description: SPI devices
enum: enum:
- adi,ad5310r - adi,ad5310r
- adi,ad5672r - adi,ad5672r
@ -30,23 +28,6 @@ properties:
- adi,ad5685r - adi,ad5685r
- adi,ad5686 - adi,ad5686
- adi,ad5686r - adi,ad5686r
- description: I2C devices
enum:
- adi,ad5311r
- adi,ad5337r
- adi,ad5338r
- adi,ad5671r
- adi,ad5675r
- adi,ad5691r
- adi,ad5692r
- adi,ad5693
- adi,ad5693r
- adi,ad5694
- adi,ad5694r
- adi,ad5695r
- adi,ad5696
- adi,ad5696r
reg: reg:
maxItems: 1 maxItems: 1

View File

@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/iio/dac/adi,ad5696.yaml# $id: http://devicetree.org/schemas/iio/dac/adi,ad5696.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Analog Devices AD5696 and similar multi-channel DACs title: Analog Devices AD5696 and similar I2C multi-channel DACs
maintainers: maintainers:
- Michael Auchter <michael.auchter@ni.com> - Michael Auchter <michael.auchter@ni.com>
@ -16,6 +16,7 @@ properties:
compatible: compatible:
enum: enum:
- adi,ad5311r - adi,ad5311r
- adi,ad5337r
- adi,ad5338r - adi,ad5338r
- adi,ad5671r - adi,ad5671r
- adi,ad5675r - adi,ad5675r