diff options
author | Benjamin Krill <ben@codiert.org> | 2009-01-07 04:32:38 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-08 00:25:18 -0500 |
commit | 5886188dc7ba9a76babcd37452f44079a9a77f71 (patch) | |
tree | 3d8e4e807c88b33299abb85e138970498f322f60 /drivers/serial/Kconfig | |
parent | 2b79d6962322facfd377a402730e4b381af95a40 (diff) |
serial: Add driver for the Cell Network Processor serial port NWP device
Add support for the nwp serial device which is connected to a DCR bus. It
uses the of_serial device driver to determine necessary properties from
the device tree. The supported device is added as serial port number 85.
NWP stands for network processor and it is part of the QPACE - Quantum
Chromodynamics Parallel Computing on the Cell Broadband Engine project.
The implementation is a lightweight uart implementation with the focus
to consume as little resources as possible and it is connected to a
DCR bus.
Signed-off-by: Benjamin Krill <ben@codiert.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r-- | drivers/serial/Kconfig | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index b695ab3142d..64fcf8c2082 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig | |||
@@ -1320,13 +1320,30 @@ config SERIAL_NETX_CONSOLE | |||
1320 | config SERIAL_OF_PLATFORM | 1320 | config SERIAL_OF_PLATFORM |
1321 | tristate "Serial port on Open Firmware platform bus" | 1321 | tristate "Serial port on Open Firmware platform bus" |
1322 | depends on PPC_OF | 1322 | depends on PPC_OF |
1323 | depends on SERIAL_8250 | 1323 | depends on SERIAL_8250 || SERIAL_OF_PLATFORM_NWPSERIAL |
1324 | help | 1324 | help |
1325 | If you have a PowerPC based system that has serial ports | 1325 | If you have a PowerPC based system that has serial ports |
1326 | on a platform specific bus, you should enable this option. | 1326 | on a platform specific bus, you should enable this option. |
1327 | Currently, only 8250 compatible ports are supported, but | 1327 | Currently, only 8250 compatible ports are supported, but |
1328 | others can easily be added. | 1328 | others can easily be added. |
1329 | 1329 | ||
1330 | config SERIAL_OF_PLATFORM_NWPSERIAL | ||
1331 | tristate "NWP serial port driver" | ||
1332 | depends on PPC_OF && PPC_DCR | ||
1333 | select SERIAL_OF_PLATFORM | ||
1334 | select SERIAL_CORE_CONSOLE | ||
1335 | select SERIAL_CORE | ||
1336 | help | ||
1337 | This driver supports the cell network processor nwp serial | ||
1338 | device. | ||
1339 | |||
1340 | config SERIAL_OF_PLATFORM_NWPSERIAL_CONSOLE | ||
1341 | bool "Console on NWP serial port" | ||
1342 | depends on SERIAL_OF_PLATFORM_NWPSERIAL=y | ||
1343 | select SERIAL_CORE_CONSOLE | ||
1344 | help | ||
1345 | Support for Console on the NWP serial ports. | ||
1346 | |||
1330 | config SERIAL_QE | 1347 | config SERIAL_QE |
1331 | tristate "Freescale QUICC Engine serial port support" | 1348 | tristate "Freescale QUICC Engine serial port support" |
1332 | depends on QUICC_ENGINE | 1349 | depends on QUICC_ENGINE |