Re: [PATCH v6 3/5] dt-bindings: iio: adc: microchip,mcp3911: Add spi-device-addr
From: Jonathan Cameron
Date: Sat Jul 18 2026 - 22:08:44 EST
On Wed, 15 Jul 2026 13:41:06 +0200
Janani Sunil <janani.sunil@xxxxxxxxxx> 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 | 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>;
> };
>