Re: [PATCH v7 4/7] dt-bindings: iio: adc: microchip,mcp3911: Add spi-device-addr
From: Conor Dooley
Date: Wed Jul 22 2026 - 13:03:15 EST
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 <janani.sunil@xxxxxxxxxx>
> ---
> 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 <conor.dooley@xxxxxxxxxxxxx>
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
>
Attachment:
signature.asc
Description: PGP signature