On Thu, Aug 22, 2024 at 4:20 AM Chen-Yu Tsai <wenst@xxxxxxxxxxxx> wrote: > > Add a helper function to add string property updates to an OF changeset. > This is similar to of_changeset_add_prop_string(), but instead of adding > the property (and failing if it exists), it will update the property. > > This shall be used later in the DT hardware prober. > > Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx> > --- > Changes since v4: > - Use modern designated initializer for |prop| > > Changes since v3: > - Use new __of_prop_free() helper > - Add new line before header declaration > > Changes since v2: > - New patch added in v3 > --- > drivers/of/dynamic.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ > include/linux/of.h | 4 ++++ > 2 files changed, 48 insertions(+) Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>