Re: [PATCH v7 4/7] dt-bindings: iio: adc: microchip,mcp3911: Add spi-device-addr
Conor Dooley <[email protected]> Wed, 22 Jul 2026 17:41:00 +0100
| 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 | <20260722-geologist-dormitory-6fee62af4999@spud> |
On Wed, Jul 22, 2026 at 09:54:16AM +0200, Janani Sunil 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 | 9 ++++++++- > 1 file changed, 8 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..36da2bee1db2 100644 > --- a/Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml > @@ -57,6 +57,13 @@ 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] > + default: [0] On all patches with a default, the [] are not needed around it. Only change that if you respin. Reviewed-by: Conor Dooley <[email protected]> pw-bot: not-applicable > > vref-supply: > description: | > @@ -86,7 +93,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>; > }; > > -- > 2.43.0 >
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCamDynAAKCRB4tDGHoIJi 0ospAQDI7M30KPyev07laV/t1aDkGWNVyamrGRyB+JiG54geYwEApkaAzoZZ/Dfy sHj1xxNZt/eI509IOF4RbOiiNOqFwwA= =84Cf -----END PGP SIGNATURE-----