Commit bf36521e authored by Anand Ashok Dumbre's avatar Anand Ashok Dumbre Committed by Greg Kroah-Hartman
Browse files

device property: Add fwnode_iomap()



[ Upstream commit eca6e2d4 ]

This patch introduces a new helper routine - fwnode_iomap(), which
allows to map the memory mapped IO for a given device node.

This implementation does not cover the ACPI case and may be expanded
in the future. The main purpose here is to be able to develop resource
provider agnostic drivers.

Suggested-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarAnand Ashok Dumbre <anand.ashok.dumbre@xilinx.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20211203212358.31444-2-anand.ashok.dumbre@xilinx.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Stable-dep-of: 8d3cefaf ("i2c: core: Lock address during client device instantiation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3d5bce8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment