Re: Mystery dtb check errors with ti,x-plate-ohms with txt only binding

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

 



Hi,

On Fri, May 19, 2023 at 10:13:59AM +0300, Tony Lindgren wrote:
> Somehow the ti,x-plate-ohms property produces errors for nodes with the
> compatible only in a txt binding that still uses /bits/ 16 value:
> 
> ti,x-plate-ohms: size (2) error for type uint32-array
> 
> For the yaml bindings, we have ti,xplate-ohms so far only defined in
> Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml.
> 
> So for example, compatible = "ti,tsc2046" that only has a txt binding in
> Documentation/devicetree/bindings/input/touchscreen/ads7846.txt still
> produces warnings somehow based on the ti,tsc2005.yaml?
> 
> Any ideas why this is happening?

-ohms is a standard unit suffix and thus the property gets the type
auto-assigned:

https://github.com/robherring/dt-schema/blob/master/schemas/property-units.yaml#L64

-- Sebastian

Attachment: signature.asc
Description: PGP signature


[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