status="ok" treated as disabled by DM

Nishanth Menon nm at ti.com
Thu Aug 19 13:37:13 CEST 2021


On 14:03-20210819, Roger Quadros wrote:
> Hi,
> 
> If the device tree node has status="ok" then the u-boot DM will treat the device as disabled.
> There are still quite many devices using "ok" instead of "okay" or no status and those devices will not be bound.
> 
> What is the right fix?
> 1) make u-boot DM to treat satus="ok" as enabled.
> 2) fix device tree by changing "ok" to "okay".
> 
> cheers,
> -roger
https://github.com/devicetree-org/dt-schema/blob/master/schemas/dt-core.yaml#L36


I believe, the correct fix is (2) change the dt to "okay".

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D)/Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D


More information about the U-Boot mailing list