[PATCH 14/17] of: dynamic: Introduce of_changeset_add_prop_bool()

Rob Herring robh at kernel.org
Wed May 8 11:03:02 PDT 2024


On Tue, Apr 30, 2024 at 3:39 AM Herve Codina <herve.codina at bootlin.com> wrote:
>
> APIs to add some properties in a changeset exist but nothing to add a DT
> boolean property (i.e. a property without any values).
>
> Fill this lack with of_changeset_add_prop_bool().

Please add a test case.

>
> Signed-off-by: Herve Codina <herve.codina at bootlin.com>
> ---
>  drivers/of/dynamic.c | 25 +++++++++++++++++++++++++
>  include/linux/of.h   |  3 +++
>  2 files changed, 28 insertions(+)



More information about the linux-arm-kernel mailing list