Message ID | 20210723183114.26017-2-laurent.pinchart@ideasonboard.com |
---|---|
State | New |
Headers | show |
Series | iio: ti-dac5571: Add TI DAC081C081 support | expand |
On Fri, 23 Jul 2021 21:31:13 +0300, Laurent Pinchart wrote: > The TI DAC081C081 is compatible with the TI DAC5571 from a software > point of view. Add a device-specific compatible string value with a > fallback to "ti,dac5571". > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > .../bindings/iio/dac/ti,dac5571.yaml | 24 +++++++++++-------- > 1 file changed, 14 insertions(+), 10 deletions(-) > Reviewed-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml b/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml index 714191724f7c..cdbbb336a5b5 100644 --- a/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml @@ -11,16 +11,20 @@ maintainers: properties: compatible: - enum: - - ti,dac5571 - - ti,dac6571 - - ti,dac7571 - - ti,dac5574 - - ti,dac6574 - - ti,dac7574 - - ti,dac5573 - - ti,dac6573 - - ti,dac7573 + oneOf: + - enum: + - ti,dac5571 + - ti,dac6571 + - ti,dac7571 + - ti,dac5574 + - ti,dac6574 + - ti,dac7574 + - ti,dac5573 + - ti,dac6573 + - ti,dac7573 + - items: + - const: ti,dac081c081 + - const: ti,dac5571 reg: maxItems: 1
The TI DAC081C081 is compatible with the TI DAC5571 from a software point of view. Add a device-specific compatible string value with a fallback to "ti,dac5571". Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- .../bindings/iio/dac/ti,dac5571.yaml | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-)