device property: Add support for fwnode endpoints
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 28 Mar 2017 07:52:25 +0000 (10:52 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 Mar 2017 22:00:29 +0000 (00:00 +0200)
commit2bd5452d46df46d99b869b59a1532647e2981d75
treef906c5942e4b71281c2141254a2d43d9ebdd5824
parente44bb0cbdc88686c21e2175a990b40bf6db5d005
device property: Add support for fwnode endpoints

Similar to OF endpoints, endpoint type nodes can be also supported on
ACPI. In order to make it possible for drivers to ignore the matter,
add a type for fwnode_endpoint and a function to parse them.

On ACPI, find the child node index instead of relying on the "endpoint"
property.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c
include/linux/fwnode.h
include/linux/property.h