Searched hist:"3 edad321b1bd2e6c8b5f38146c115c8982438f06" (Results 1 – 4 of 4) sorted by relevance
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | mvebu-devbus.txt | 3edad321b1bd2e6c8b5f38146c115c8982438f06 Tue Apr 23 21:21:26 CEST 2013 Ezequiel Garcia <ezequiel.garcia@free-electrons.com> drivers: memory: Introduce Marvell EBU Device Bus driver
Marvell EBU SoCs such as Armada 370/XP, Orion5x (88f5xxx) and Discovery (mv78xx0) supports a Device Bus controller to access several kinds of memories and I/O devices (NOR, NAND, SRAM, FPGA).
This commit adds a driver to handle this controller. So far only Armada 370, Armada XP and Discovery SoCs are supported.
The driver must be registered through a device tree node; as explained in the binding document.
For each child node in the device tree, this driver will: * set timing parameters * register a child device * setup an address decoding window, using the mbus driver
Keep in mind the address decoding window setup is only a temporary hack. This code will be removed from this devbus driver as soon as a proper device tree binding for the mbus driver is added.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/linux/drivers/memory/ |
H A D | mvebu-devbus.c | diff ce965c3d2e68c5325dd5624eb101d70423022fef Mon Apr 14 17:29:18 CEST 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> memory: mvebu-devbus: fix the conversion of the bus width
According to the Armada 370 and Armada XP datasheets, the part of the Device Bus register that configure the bus width should contain 0 for a 8 bits bus width, and 1 for a 16 bits bus width (other values are unsupported/reserved).
However, the current conversion done in the driver to convert from a bus width in bits to the value expected by the register leads to setting the register to 1 for a 8 bits bus, and 2 for a 16 bits bus.
This mistake was compensated by a mistake in the existing Device Tree files for Armada 370/XP platforms: they were declaring a 8 bits bus width, while the hardware in fact uses a 16 bits bus width.
This commit fixes that by adjusting the conversion logic.
This patch fixes a bug that was introduced in 3edad321b1bd2e6c8b5f38146c115c8982438f06 ('drivers: memory: Introduce Marvell EBU Device Bus driver'), which was merged in v3.11.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Link: https://lkml.kernel.org/r/1397489361-5833-2-git-send-email-thomas.petazzoni@free-electrons.com Fixes: 3edad321b1bd ('drivers: memory: Introduce Marvell EBU Device Bus driver') Cc: stable@vger.kernel.org # v3.11+ Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net> 3edad321b1bd2e6c8b5f38146c115c8982438f06 Tue Apr 23 21:21:26 CEST 2013 Ezequiel Garcia <ezequiel.garcia@free-electrons.com> drivers: memory: Introduce Marvell EBU Device Bus driver
Marvell EBU SoCs such as Armada 370/XP, Orion5x (88f5xxx) and Discovery (mv78xx0) supports a Device Bus controller to access several kinds of memories and I/O devices (NOR, NAND, SRAM, FPGA).
This commit adds a driver to handle this controller. So far only Armada 370, Armada XP and Discovery SoCs are supported.
The driver must be registered through a device tree node; as explained in the binding document.
For each child node in the device tree, this driver will: * set timing parameters * register a child device * setup an address decoding window, using the mbus driver
Keep in mind the address decoding window setup is only a temporary hack. This code will be removed from this devbus driver as soon as a proper device tree binding for the mbus driver is added.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | Makefile | diff 3edad321b1bd2e6c8b5f38146c115c8982438f06 Tue Apr 23 21:21:26 CEST 2013 Ezequiel Garcia <ezequiel.garcia@free-electrons.com> drivers: memory: Introduce Marvell EBU Device Bus driver
Marvell EBU SoCs such as Armada 370/XP, Orion5x (88f5xxx) and Discovery (mv78xx0) supports a Device Bus controller to access several kinds of memories and I/O devices (NOR, NAND, SRAM, FPGA).
This commit adds a driver to handle this controller. So far only Armada 370, Armada XP and Discovery SoCs are supported.
The driver must be registered through a device tree node; as explained in the binding document.
For each child node in the device tree, this driver will: * set timing parameters * register a child device * setup an address decoding window, using the mbus driver
Keep in mind the address decoding window setup is only a temporary hack. This code will be removed from this devbus driver as soon as a proper device tree binding for the mbus driver is added.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | Kconfig | diff 3edad321b1bd2e6c8b5f38146c115c8982438f06 Tue Apr 23 21:21:26 CEST 2013 Ezequiel Garcia <ezequiel.garcia@free-electrons.com> drivers: memory: Introduce Marvell EBU Device Bus driver
Marvell EBU SoCs such as Armada 370/XP, Orion5x (88f5xxx) and Discovery (mv78xx0) supports a Device Bus controller to access several kinds of memories and I/O devices (NOR, NAND, SRAM, FPGA).
This commit adds a driver to handle this controller. So far only Armada 370, Armada XP and Discovery SoCs are supported.
The driver must be registered through a device tree node; as explained in the binding document.
For each child node in the device tree, this driver will: * set timing parameters * register a child device * setup an address decoding window, using the mbus driver
Keep in mind the address decoding window setup is only a temporary hack. This code will be removed from this devbus driver as soon as a proper device tree binding for the mbus driver is added.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|