[PATCH] dt-bindings: iio: light: ltr501: Add liteon,ltr303

Andrew Davis posted 1 patch 1 month ago
Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml | 1 +
1 file changed, 1 insertion(+)
[PATCH] dt-bindings: iio: light: ltr501: Add liteon,ltr303
Posted by Andrew Davis 1 month ago
This device is already supported by the driver and this compatible
string was added to the of_device_id list but was not documented
here in the binding, fix this.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml b/Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml
index c8074f180a793..ab9bb68dd7363 100644
--- a/Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml
+++ b/Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml
@@ -18,6 +18,7 @@ properties:
       - liteon,ltr501
       - liteon,ltr559
       - liteon,ltr301
+      - liteon,ltr303
 
   reg:
     maxItems: 1
-- 
2.39.2
Re: [PATCH] dt-bindings: iio: light: ltr501: Add liteon,ltr303
Posted by Jonathan Cameron 1 month ago
On Thu, 5 Mar 2026 13:59:17 -0600
Andrew Davis <afd@ti.com> wrote:

> This device is already supported by the driver and this compatible
> string was added to the of_device_id list but was not documented
> here in the binding, fix this.
> 

Needs a brief note on why it is different enough from all other supported
devices that we can't do a fallback compatible.

Seems it has a mix of scaling and channels that doesn't match any other device.

> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
>  Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml b/Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml
> index c8074f180a793..ab9bb68dd7363 100644
> --- a/Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml
> +++ b/Documentation/devicetree/bindings/iio/light/liteon,ltr501.yaml
> @@ -18,6 +18,7 @@ properties:
>        - liteon,ltr501
>        - liteon,ltr559
>        - liteon,ltr301
> +      - liteon,ltr303
>  
>    reg:
>      maxItems: 1