[PATCH 0/2] device property: Add fwnode_property_get_reference_optional_args

Sean Anderson
2025-04-07T22:37:23Z

This series adds a fwnode-equivalent to of_parse_phandle_with_optional_args.

Sean Anderson (2):
device property: Add optional nargs_prop for get_reference_args
device property: Add fwnode_property_get_reference_optional_args

drivers/base/property.c | 50 ++++++++++++++++++++++++++++++++++++++--
drivers/base/swnode.c | 13 +++++++----
drivers/of/property.c | 10 +++-----
include/linux/fwnode.h | 2 +-
include/linux/property.h | 4 ++++
5 files changed, 65 insertions(+), 14 deletions(-)

--
2.35.1.1320.gc452695387.dirty