diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-12-09 15:52:59 +0900 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-12-22 11:22:39 -0800 |
commit | 4b7f48d395a7e3b11ded7695ac2b36d0685e0785 (patch) | |
tree | 1fd3f7a0123835280d7b85dc18f8ad409b5d1f71 /MAINTAINERS | |
parent | 70b3590f639f4e753e6f556209cb89b812879402 (diff) | |
download | linux-stable-4b7f48d395a7e3b11ded7695ac2b36d0685e0785.tar.gz linux-stable-4b7f48d395a7e3b11ded7695ac2b36d0685e0785.tar.bz2 linux-stable-4b7f48d395a7e3b11ded7695ac2b36d0685e0785.zip |
bus: uniphier-system-bus: add UniPhier System Bus driver
The UniPhier System Bus is an external bus that connects on-board
devices to the UniPhier SoC. Each bank (chip select) is dynamically
mapped to the CPU-viewed address base via the bus controller. The
bus controller must be configured before any access to the bus.
This driver parses the "ranges" property of the System Bus node and
initialized the bus controller. After the bus becomes ready, devices
below it are populated.
Note:
Each bank can be mapped anywhere in the supported address space;
there is nothing preventing us from assigning bank 0 on 0x42000000,
0x43000000, or anywhere as long as such region is not used by others.
So, the "ranges" is just one possible software configuration, which
does not seem to fit in device tree because device tree is a hardware
description language. However, of_translate_address() requires
"ranges" in every bus node between CPUs and device mapped on the CPU
address space. In other words, "ranges" properties must be statically
defined in device tree. After some discussion, I decided the dynamic
address reassignment by the driver is too bothersome. Instead, the
device tree should provide a reasonable translation setup that the OS
can rely on.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index cba790b42f23..668fc96ed421 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1642,6 +1642,7 @@ F: arch/arm/boot/dts/uniphier* F: arch/arm/include/asm/hardware/cache-uniphier.h F: arch/arm/mach-uniphier/ F: arch/arm/mm/cache-uniphier.c +F: drivers/bus/uniphier-system-bus.c F: drivers/i2c/busses/i2c-uniphier* F: drivers/pinctrl/uniphier/ F: drivers/tty/serial/8250/8250_uniphier.c |