Message ID | 20210825152518.379386-8-miquel.raynal@bootlin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | TI AM437X ADC1 | expand |
On Wed, 25 Aug 2021 17:24:45 +0200 Miquel Raynal <miquel.raynal@bootlin.com> wrote: > A more recent version of the am3359 ADC is available on certain SoCs of > the am437x family. This IP has evolved a little bit and deserves its own > compatible. > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > --- > Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml b/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml > index 85d9d642dc67..34743371ee18 100644 > --- a/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml > @@ -11,7 +11,9 @@ maintainers: > > properties: > compatible: > - const: ti,am3359-adc > + oneOf: > + - const: ti,am3359-adc > + - const: ti,am4372-adc enum With that change Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> > > '#io-channel-cells': > const: 1
diff --git a/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml b/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml index 85d9d642dc67..34743371ee18 100644 --- a/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml @@ -11,7 +11,9 @@ maintainers: properties: compatible: - const: ti,am3359-adc + oneOf: + - const: ti,am3359-adc + - const: ti,am4372-adc '#io-channel-cells': const: 1
A more recent version of the am3359 ADC is available on certain SoCs of the am437x family. This IP has evolved a little bit and deserves its own compatible. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> --- Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)