]> git.baikalelectronics.ru Git - kernel.git/commit
device property: Add fwnode_iomap()
authorAnand Ashok Dumbre <anand.ashok.dumbre@xilinx.com>
Fri, 3 Dec 2021 21:23:54 +0000 (21:23 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 21 Dec 2021 15:10:09 +0000 (15:10 +0000)
commit3ccaa0a8bab808fcfb0fc363a376954abcefbcd8
tree122baff131b0e0f2e99dda51ff81473192d06d1f
parente054cd4cf92181ae92943413d2e33a2dd9a597f1
device property: Add fwnode_iomap()

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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Anand Ashok Dumbre <anand.ashok.dumbre@xilinx.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20211203212358.31444-2-anand.ashok.dumbre@xilinx.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/base/property.c
include/linux/property.h