mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
The new fwnode_property_get_reference_args() interface amends the fwnode property API with the functionality of both of_parse_phandle_with_args() and __acpi_node_get_property_reference(). The semantics is slightly different: the cells property is ignored on ACPI as the number of arguments can be explicitly obtained from the firmware interface. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> (cherry picked from commit 3e3119d3088f41106f3581d39e7694a50ca3fc02) Signed-off-by: Brian J Lovin <brian.j.lovin@intel.com> Brian L: Had to de-constify this commit, and picks are unclean due to the number of commits skipped for this kernel. Conflicts: drivers/acpi/property.c drivers/base/property.c include/linux/fwnode.h BUG=b:64133998 TEST=media device topology shows subdevs registered successfully TEST=no camera regression Change-Id: I982255df1aabaadb9de09fc71e6db5c4b99b0e02 Reviewed-on: https://chromium-review.googlesource.com/693682 Commit-Ready: Tomasz Figa <tfiga@chromium.org> Tested-by: Hyungwoo Yang <hyungwoo.yang@intel.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>