Re: [PATCH v2] dt-bindings: iio: light: opt3001: add compatible for opt3004

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Krzysztof,

Thanks for the review.

> >  properties:
> >    compatible:
> > -    enum:
> > -      - ti,opt3001
> > -      - ti,opt3002
> > +    oneOf:
> > +      - enum:
> > +          - ti,opt3001
> > +          - ti,opt3002
> > +      - items:
> > +          - const: ti,opt3001
> > +          - const: ti,opt3004
>
> 3004 is not the fallback.

Do you mean I need to reverse the order?

 items:
          - const: ti,opt3004
          -  const: ti,opt3001

Is it correct?

Best Regards,
Hardev




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux