diff mbox series

[3/3] media: dt-bindings: i2c: ds90ub960: Add DS90UB954 chip to DS90UB960 bindings

Message ID 20240830070117.9534-1-eagle.alexander923@gmail.com
State New
Headers show
Series [1/3] media: i2c: ds90ub960: Convert IC specific variables to flags | expand

Commit Message

Alexander Shiyan Aug. 30, 2024, 7:01 a.m. UTC
The ds90ub960 driver can now be used for the DS90UB954 chip as it has
a similar register set and configuration.
Let's add an additional compatibility line to the bindings.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
 Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Alexander Shiyan Oct. 1, 2024, 8:24 a.m. UTC | #1
Hello Toni.

I don't know how to use condition blocks for YAML format. Can You help me?
If I understand correctly, it is necessary to create conditions here
for ti,ds90ub954-q1:
"link@[0-1]$" instead of "link@[0-3]$" and rewrite all port@x part.

Thanks!

вт, 10 сент. 2024 г. в 11:44, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>:
>
> Hi,
>
> On 30/08/2024 10:01, Alexander Shiyan wrote:
> > The ds90ub960 driver can now be used for the DS90UB954 chip as it has
> > a similar register set and configuration.
> > Let's add an additional compatibility line to the bindings.
> >
> > Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
> > ---
> >   Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml b/Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml
> > index 0b71e6f911a8..86d43d949dd3 100644
> > --- a/Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml
> > +++ b/Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml
> > @@ -19,6 +19,7 @@ allOf:
> >   properties:
> >     compatible:
> >       enum:
> > +      - ti,ds90ub954-q1
> >         - ti,ds90ub960-q1
> >         - ti,ds90ub9702-q1
> >
>
> The binding lists 6 ports as required, but UB954 only has 3 ports.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml b/Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml
index 0b71e6f911a8..86d43d949dd3 100644
--- a/Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml
@@ -19,6 +19,7 @@  allOf:
 properties:
   compatible:
     enum:
+      - ti,ds90ub954-q1
       - ti,ds90ub960-q1
       - ti,ds90ub9702-q1