Re: [PATCH 2/2] iio/adc: add documentation for adc ad7927

From: Jonathan Cameron
Date: Wed Nov 16 2022 - 13:59:50 EST


On Wed, 16 Nov 2022 11:44:53 +0100
Edmund Berenson <edmund.berenson@xxxxxxxxx> wrote:

> Add the ad7927 compatibility string documentation to
> ad7923 driver.
>
> Suggested-by: Lukasz Zemla <Lukasz.Zemla@xxxxxxxxxxxx>
> Signed-off-by: Edmund Berenson <edmund.berenson@xxxxxxxxx>

Given you treat it as an ad7928 in the driver, can we have
a fallback compatible for it to that part? Would allow people
using older kernels (with newer DT) to get support without needing
to patch the driver.

> ---
> Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> index 07f9d1c09c7d..3e9e9a9c18a4 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> @@ -27,6 +27,7 @@ properties:
> - adi,ad7924
> - adi,ad7908
> - adi,ad7918
> + - adi,ad7927
> - adi,ad7928
>
> reg: