linux/drivers/of
Hector Martin 89897f739d of/address: Add infrastructure to declare MMIO as non-posted
This implements the 'nonposted-mmio' boolean property. Placing this
property in a bus marks all direct child devices as requiring
non-posted MMIO mappings. If no such property is found, the default
is posted MMIO.

of_mmio_is_nonposted() performs this check to determine if a given
device has requested non-posted MMIO.

of_address_to_resource() uses this to set the IORESOURCE_MEM_NONPOSTED
flag on resources that require non-posted MMIO.

of_iomap() and of_io_request_and_map() then use this flag to pick the
correct ioremap() variant.

This mechanism is currently restricted to builds that support Apple ARM
platforms, as an optimization.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
2021-04-08 20:18:41 +09:00
..
unittest-data of: unittest: Use bigger address cells to catch parser regressions 2020-08-03 16:24:49 -06:00
address.c of/address: Add infrastructure to declare MMIO as non-posted 2021-04-08 20:18:41 +09:00
base.c of: base: improve error msg in of_phandle_iterator_next() 2021-01-15 11:26:09 -06:00
device.c Devicetree updates for v5.12: 2021-02-22 10:05:12 -08:00
dynamic.c driver core: Add fwnode link support 2020-12-09 19:10:21 +01:00
fdt.c of/fdt: Make sure no-map does not remove already reserved regions 2021-01-15 11:30:14 -06:00
fdt_address.c
irq.c of/irq: Make of_msi_map_rid() PCI bus agnostic 2020-07-28 15:51:32 +01:00
Kconfig net: phy: Move of_mdio from drivers/of to drivers/net/mdio 2020-10-10 10:55:05 -07:00
kobj.c
Makefile net: phy: Move of_mdio from drivers/of to drivers/net/mdio 2020-10-10 10:55:05 -07:00
of_net.c
of_numa.c
of_private.h dma-mapping: introduce DMA range map, supplanting dma_pfn_offset 2020-09-17 18:43:56 +02:00
of_reserved_mem.c of: Fix reserved-memory overlap detection 2020-10-25 20:37:55 -05:00
overlay.c
pdt.c
platform.c Char/Misc driver patches for 5.12-rc1 2021-02-24 10:25:37 -08:00
property.c of: property: fw_devlink: Ignore interrupts property for some configs 2021-02-19 08:51:01 +01:00
resolver.c
unittest.c of: Remove of_dev_{get,put}() 2021-02-12 19:23:39 -06:00