summaryrefslogtreecommitdiff
path: root/drivers/soc/fsl/Kconfig
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2019-04-05 12:49:53 +0300
committerLi Yang <leoyang.li@nxp.com>2019-05-20 22:28:15 +0300
commitc93349d8c1700a4f628758440c65404faa74b390 (patch)
treef7f24975c9fb21acbac9dcbbe0da481d358b0c92 /drivers/soc/fsl/Kconfig
parentbbc9be3ac8ab022061e7cfcc050ae02240144ba1 (diff)
downloadlinux-c93349d8c1700a4f628758440c65404faa74b390.tar.xz
soc: fsl: add DPAA2 console support
This patch adds DPAA2 MC and AIOP console log support. The platform driver probes on the "fsl,dpaa2-console" device tree node which describes the base firmware address needed in order to infer the start address of both firmware logs: MC and AIOP. It then exports two misc char devices which can be used to dump the needed logs. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc/fsl/Kconfig')
-rw-r--r--drivers/soc/fsl/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/soc/fsl/Kconfig b/drivers/soc/fsl/Kconfig
index 61f8e1433d0a..b6804c04e96f 100644
--- a/drivers/soc/fsl/Kconfig
+++ b/drivers/soc/fsl/Kconfig
@@ -29,4 +29,14 @@ config FSL_MC_DPIO
other DPAA2 objects. This driver does not expose the DPIO
objects individually, but groups them under a service layer
API.
+
+config DPAA2_CONSOLE
+ tristate "QorIQ DPAA2 console driver"
+ depends on OF && (ARCH_LAYERSCAPE || COMPILE_TEST)
+ default y
+ help
+ Console driver for DPAA2 platforms. Exports 2 char devices,
+ /dev/dpaa2_mc_console and /dev/dpaa2_aiop_console,
+ which can be used to dump the Management Complex and AIOP
+ firmware logs.
endmenu