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

From: Florian Fainelli
Date: Fri Mar 04 2022 - 16:35:58 EST




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@xxxxxxxxxx>

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