Skip to content

Commit

Permalink
staging: fsl-mc: Freescale Management Complex (fsl-mc) bus driver
Browse files Browse the repository at this point in the history
Platform device driver that sets up the basic bus infrastructure
for the fsl-mc bus type, including support for adding/removing
fsl-mc devices, register/unregister of fsl-mc drivers, and bus
match support to bind devices to drivers.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
J. German Rivera authored and Greg Kroah-Hartman committed Mar 7, 2015
1 parent 31c8896 commit bbf9d17
Show file tree
Hide file tree
Showing 9 changed files with 1,002 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,6 @@ source "drivers/staging/fbtft/Kconfig"

source "drivers/staging/i2o/Kconfig"

source "drivers/staging/fsl-mc/Kconfig"

endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ obj-$(CONFIG_UNISYSSPAR) += unisys/
obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD) += clocking-wizard/
obj-$(CONFIG_FB_TFT) += fbtft/
obj-$(CONFIG_I2O) += i2o/
obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/
1 change: 1 addition & 0 deletions drivers/staging/fsl-mc/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source "drivers/staging/fsl-mc/bus/Kconfig"
2 changes: 2 additions & 0 deletions drivers/staging/fsl-mc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Freescale Management Complex (MC) bus drivers
obj-$(CONFIG_FSL_MC_BUS) += bus/
24 changes: 24 additions & 0 deletions drivers/staging/fsl-mc/bus/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#
# Freescale Management Complex (MC) bus drivers
#
# Copyright (C) 2014 Freescale Semiconductor, Inc.
#
# This file is released under the GPLv2
#

config FSL_MC_BUS
tristate "Freescale Management Complex (MC) bus driver"
depends on OF && ARM64
help
Driver to enable the bus infrastructure for the Freescale
QorIQ Management Complex (fsl-mc). The fsl-mc is a hardware
module of the QorIQ LS2 SoCs, that does resource management
for hardware building-blocks in the SoC that can be used
to dynamically create networking hardware objects such as
network interfaces (NICs), crypto accelerator instances,
or L2 switches.

Only enable this option when building the kernel for
Freescale QorQIQ LS2xxxx SoCs.


14 changes: 14 additions & 0 deletions drivers/staging/fsl-mc/bus/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# Freescale Management Complex (MC) bus drivers
#
# Copyright (C) 2014 Freescale Semiconductor, Inc.
#
# This file is released under the GPLv2
#
obj-$(CONFIG_FSL_MC_BUS) += mc-bus-driver.o

mc-bus-driver-objs := mc-bus.o \
mc-sys.o \
dprc.o \
dpmng.o

Loading

0 comments on commit bbf9d17

Please sign in to comment.