Skip to content

Commit 1c953bd

Browse files
committed
bus: ixp4xx: Add a driver for IXP4xx expansion bus
The Intel IXP4xx SoCs have an expansion bus that is usually just used for flash memory and configured by the boot loaders and can be accessed using the "simple-bus". However some devices need more elaborate configuration and then we need to provide a proper 3-unit address space indicating chip select for each device and provide timing and similar information. Cc: Marc Zyngier <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 3fbcc67 commit 1c953bd

File tree

4 files changed

+443
-0
lines changed

4 files changed

+443
-0
lines changed

MAINTAINERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,10 +2009,12 @@ M: Krzysztof Halasa <[email protected]>
20092009
L: [email protected] (moderated for non-subscribers)
20102010
S: Maintained
20112011
F: Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml
2012+
F: Documentation/devicetree/bindings/bus/intel,ixp4xx-expansion-bus-controller.yaml
20122013
F: Documentation/devicetree/bindings/gpio/intel,ixp4xx-gpio.txt
20132014
F: Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.yaml
20142015
F: Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml
20152016
F: arch/arm/mach-ixp4xx/
2017+
F: drivers/bus/intel-ixp4xx-eb.c
20162018
F: drivers/clocksource/timer-ixp4xx.c
20172019
F: drivers/crypto/ixp4xx_crypto.c
20182020
F: drivers/gpio/gpio-ixp4xx.c

drivers/bus/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@ config IMX_WEIM
9595
The WEIM(Wireless External Interface Module) works like a bus.
9696
You can attach many different devices on it, such as NOR, onenand.
9797

98+
config INTEL_IXP4XX_EB
99+
bool "Intel IXP4xx expansion bus interface driver"
100+
depends on HAS_IOMEM
101+
depends on ARCH_IXP4XX || COMPILE_TEST
102+
default ARCH_IXP4XX
103+
select MFD_SYSCON
104+
help
105+
Driver for the Intel IXP4xx expansion bus interface. The driver is
106+
needed to set up various chip select configuration parameters before
107+
devices on the expansion bus can be discovered.
108+
98109
config MIPS_CDMM
99110
bool "MIPS Common Device Memory Map (CDMM) Driver"
100111
depends on CPU_MIPSR2 || CPU_MIPSR5

drivers/bus/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/
1616
obj-$(CONFIG_BT1_APB) += bt1-apb.o
1717
obj-$(CONFIG_BT1_AXI) += bt1-axi.o
1818
obj-$(CONFIG_IMX_WEIM) += imx-weim.o
19+
obj-$(CONFIG_INTEL_IXP4XX_EB) += intel-ixp4xx-eb.o
1920
obj-$(CONFIG_MIPS_CDMM) += mips_cdmm.o
2021
obj-$(CONFIG_MVEBU_MBUS) += mvebu-mbus.o
2122

0 commit comments

Comments
 (0)