[PATCH] arm64: dts: broadcom: Fix boolean properties with values

Florian Fainelli f.fainelli at gmail.com
Fri Mar 4 13:35:50 PST 2022



On 3/4/2022 12:25 PM, Rob Herring wrote:
> Boolean properties in DT are present or not present and don't take a value.
> A property such as 'foo = <0>;' evaluated to true. IOW, the value doesn't
> matter.
> 
> It may have been intended that 0 values are false, but there is no change
> in behavior with this patch.
> 
> Signed-off-by: Rob Herring <robh at kernel.org>

Thanks, I already have queued up an identical change just a few days ago:

https://github.com/Broadcom/stblinux/commit/c953c764e505428f59ffe6afb1c73b89b5b1ac35

This will be submitted shortly for 5.18.
-- 
Florian



More information about the linux-arm-kernel mailing list