[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e912ca02-f06d-43da-92f4-f5611e08fb66@kernel.org>
Date: Thu, 5 Sep 2024 12:38:04 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Emil Gedenryd <emil.gedenryd@...s.com>,
Jonathan Cameron <jic23@...nel.org>, Lars-Peter Clausen <lars@...afoo.de>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Andreas Dannenberg <dannenberg@...com>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, kernel@...s.com
Subject: Re: [PATCH 3/3] dt-bindings: iio: light: opt3001: add compatible for
opt3002
On 05/09/2024 12:20, Emil Gedenryd wrote:
> OPT3002 is a Light-to-Digital Sensor by TI with support for wide-range
> spectrum light.
> Add the compatible string of opt3002 to the existing list.
>
> Signed-off-by: Emil Gedenryd <emil.gedenryd@...s.com>
> ---
> Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml b/Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml
> index 441e9343fc97..7a48a06968ca 100644
> --- a/Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml
> +++ b/Documentation/devicetree/bindings/iio/light/ti,opt3001.yaml
> @@ -16,6 +16,7 @@ description: |
> properties:
> compatible:
> const: ti,opt3001
> + const: ti,opt3002
Never tested and obviously broken.
It does not look like you tested the bindings, at least after quick
look. Please run `make dt_binding_check` (see
Documentation/devicetree/bindings/writing-schema.rst for instructions).
Maybe you need to update your dtschema and yamllint.
Best regards,
Krzysztof
Powered by blists - more mailing lists