linux-uconsole/drivers/of
Sakari Ailus 68ef162152 BACKPORT: device property: Introduce fwnode_property_get_reference_args
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 3e3119d308)
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>
2017-11-27 14:12:20 +08:00
..
unittest-data
address.c of: fix sparse warning in of_pci_range_parser_one 2017-05-25 14:30:10 +02:00
base.c BACKPORT: of: Move OF property and graph API from base.c to property.c 2017-11-27 14:12:20 +08:00
device.c of: device: Export of_device_{get_modalias, uvent_modalias} to modules 2017-07-27 15:06:09 -07:00
dynamic.c of: fix memory leak related to safe_name() 2016-08-20 18:09:25 +02:00
fdt.c Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-07-11 16:22:22 +08:00
fdt_address.c
irq.c of: irq: fix of_irq_get[_byname]() kernel-doc 2016-07-27 09:47:29 -07:00
Kconfig of: add config option to enable building of all dtbs 2015-10-27 16:12:13 -05:00
Makefile BACKPORT: of: Move OF property and graph API from base.c to property.c 2017-11-27 14:12:20 +08:00
of_mdio.c of_mdio: fix MDIO phy device refcounting 2015-09-24 23:04:52 -07:00
of_mtd.c
of_net.c
of_pci.c UPSTREAM: of/pci: Add helper function to parse max-link-speed from dt 2016-11-23 17:33:37 +08:00
of_pci_irq.c of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages. 2015-09-17 14:46:11 -05:00
of_private.h of: fix memory leak related to safe_name() 2016-08-20 18:09:25 +02:00
of_reserved_mem.c of: silence warnings due to max() usage 2016-11-15 07:46:39 +01:00
overlay.c of/overlay: add missing of_node_put 2015-10-22 09:35:51 -05:00
pdt.c
platform.c UPSTREAM: of/platform: Initialise dev->fwnode appropriately 2017-11-27 14:12:20 +08:00
property.c BACKPORT: device property: Introduce fwnode_property_get_reference_args 2017-11-27 14:12:20 +08:00
resolver.c
unittest.c of/unittest: add missing of_node_put 2015-10-22 09:26:28 -05:00