Re: [PATCH v6 3/5] dt-bindings: iio: adc: microchip,mcp3911: Add spi-device-addr
Jonathan Cameron <[email protected]>
| Newsgroups | org.kernel.vger.linux-spi,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-doc,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260719030810.13a090e1@jic23-huawei> |
On Wed, 15 Jul 2026 13:41:06 +0200 Janani Sunil <[email protected]> wrote: > Add the generic spi-device-addr property to the binding and deprecate > the existing vendor specific microchip,device-addr property > > Signed-off-by: Janani Sunil <[email protected]> > --- > Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml b/Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml > index 3a69ec60edb9..4a60df06bd35 100644 > --- a/Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml > @@ -57,6 +57,12 @@ properties: > $ref: /schemas/types.yaml#/definitions/uint32 > enum: [0, 1, 2, 3] > default: 0 > + deprecated: true > + > + spi-device-addr: > + maxItems: 1 > + items: > + enum: [0, 1, 2, 3] Needs to carry the default as the old binding did. > > vref-supply: > description: | > @@ -86,7 +92,7 @@ examples: > interrupts = <15 2>; > reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; > spi-max-frequency = <20000000>; > - microchip,device-addr = <0>; > + spi-device-addr = <0>; > vref-supply = <&vref_reg>; > clocks = <&xtal>; > }; >