Skip to contentSkip to conversation

tty: serial: bcm63xx: Allow bcm63xx_uart to be built on other platforms

PATCH Superseded Kevin Cernekee 2 participants 6 messages Oct 19, 2014

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 tty: serial: bcm63xx: Allow bcm63xx_uart to be built on other platforms

This device was originally supported on bcm63xx only, but it shows up on a wide variety of MIPS and ARM chipsets spanning multiple product lines. Now that the driver has eliminated dependencies on bcm63xx-specific header files, we can build it on any non-bcm63xx kernel.

Compile-tested on x86, both statically and as a module. Tested for functionality on bcm3384 (a new MIPS platform under active development).

---
 drivers/tty/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/Kconfig +1 -1
index 649b784..4a5c0c8 100644
@@ -1283,7 +1283,7 @@ config SERIAL_TIMBERDALE
 config SERIAL_BCM63XX
 	tristate "bcm63xx serial port support"
 	select SERIAL_CORE
-	depends on BCM63XX
+	depends on MIPS || ARM || COMPILE_TEST
 	help
 	  If you have a bcm63xx CPU, you can enable its onboard
 	  serial port by enabling this options.
Signature · 1 line
2.1.1
#1 lore raw

PATCH 2/3 tty: serial: bcm63xx: Update the Kconfig help text

Remove incorrect "bcm963xx_uart" module name; add a list of known users; tweak grammar/indentation/capitalization.

---
 drivers/tty/serial/Kconfig | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
drivers/tty/serial/Kconfig +9 -7
index 4a5c0c8..815b652 100644
@@ -1281,22 +1281,24 @@ config SERIAL_TIMBERDALE
 	Add support for UART controller on timberdale.
 
 config SERIAL_BCM63XX
-	tristate "bcm63xx serial port support"
+	tristate "Broadcom BCM63xx/BCM33xx UART support"
 	select SERIAL_CORE
 	depends on MIPS || ARM || COMPILE_TEST
 	help
-	  If you have a bcm63xx CPU, you can enable its onboard
-	  serial port by enabling this options.
+	  This enables the driver for the onchip UART core found on
+	  the following chipsets:
 
-          To compile this driver as a module, choose M here: the
-          module will be called bcm963xx_uart.
+	    BCM33xx (cable modem)
+	    BCM63xx/BCM63xxx (DSL)
+	    BCM68xx (PON)
+	    BCM7xxx (STB) - DOCSIS console
 
 config SERIAL_BCM63XX_CONSOLE
-	bool "Console on bcm63xx serial port"
+	bool "Console on BCM63xx serial port"
 	depends on SERIAL_BCM63XX=y
 	select SERIAL_CORE_CONSOLE
 	help
-	  If you have enabled the serial port on the bcm63xx CPU
+	  If you have enabled the serial port on the BCM63xx CPU
 	  you can make it the console by answering Y to this option.
 
 config SERIAL_GRLIB_GAISLER_APBUART
Signature · 1 line
2.1.1
Acked-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] tty: serial: bcm63xx: Update the Kconfig help text

2014-10-18 19:30 GMT-07:00 Kevin Cernekee <[email protected]>:

Quoted 4 lines

Remove incorrect "bcm963xx_uart" module name; add a list of known users; tweak grammar/indentation/capitalization.

Quoted 43 lines
---
 drivers/tty/serial/Kconfig | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
drivers/tty/serial/Kconfig +9 -8
index 4a5c0c8..815b652 100644
@@ -1281,22 +1281,24 @@ config SERIAL_TIMBERDALE
        Add support for UART controller on timberdale.
 
 config SERIAL_BCM63XX
-       tristate "bcm63xx serial port support"
+       tristate "Broadcom BCM63xx/BCM33xx UART support"
        select SERIAL_CORE
        depends on MIPS || ARM || COMPILE_TEST
        help
-         If you have a bcm63xx CPU, you can enable its onboard
-         serial port by enabling this options.
+         This enables the driver for the onchip UART core found on
+         the following chipsets:
 
-          To compile this driver as a module, choose M here: the
-          module will be called bcm963xx_uart.
+           BCM33xx (cable modem)
+           BCM63xx/BCM63xxx (DSL)
+           BCM68xx (PON)
+           BCM7xxx (STB) - DOCSIS console
 
 config SERIAL_BCM63XX_CONSOLE
-       bool "Console on bcm63xx serial port"
+       bool "Console on BCM63xx serial port"
        depends on SERIAL_BCM63XX=y
        select SERIAL_CORE_CONSOLE
        help
-         If you have enabled the serial port on the bcm63xx CPU
+         If you have enabled the serial port on the BCM63xx CPU
          you can make it the console by answering Y to this option.
 
 config SERIAL_GRLIB_GAISLER_APBUART
--

2.1.1

Signature · 1 line
Florian
#3 lore raw

PATCH 3/3 MAINTAINERS: Add entry for rp2 (Rocketport Express/Infinity) driver

In reply to Kevin Cernekee

I wrote this driver and use it daily on several machines for work, so why not.

---
 MAINTAINERS | 6 ++++++
 1 file changed, 6 insertions(+)
MAINTAINERS +6 -0
index 809ecd6..c08d8d5 100644
@@ -7663,6 +7663,12 @@ S:	Maintained
 F:	Documentation/serial/rocket.txt
 F:	drivers/tty/rocket*
 
+ROCKETPORT EXPRESS/INFINITY DRIVER
+M:	Kevin Cernekee <[email protected]>
+L:	[email protected]
+S:	Odd Fixes
+F:	drivers/tty/serial/rp2.*
+
 ROSE NETWORK LAYER
 M:	Ralf Baechle <[email protected]>
 L:	[email protected]
Signature · 1 line
2.1.1
Acked-by on v1 3/3
#4 lore raw

Re: [PATCH 3/3] MAINTAINERS: Add entry for rp2 (Rocketport Express/Infinity) driver

2014-10-18 19:30 GMT-07:00 Kevin Cernekee <[email protected]>:

Quoted 2 lines

I wrote this driver and use it daily on several machines for work, so why not.

Since I also use this driver daily, let's get crazy:

Quoted 26 lines
---
 MAINTAINERS | 6 ++++++
 1 file changed, 6 insertions(+)
MAINTAINERS +6 -1
index 809ecd6..c08d8d5 100644
@@ -7663,6 +7663,12 @@ S:       Maintained
 F:     Documentation/serial/rocket.txt
 F:     drivers/tty/rocket*
 
+ROCKETPORT EXPRESS/INFINITY DRIVER
+M:     Kevin Cernekee <[email protected]>
+L:     [email protected]
+S:     Odd Fixes
+F:     drivers/tty/serial/rp2.*
+
 ROSE NETWORK LAYER
 M:     Ralf Baechle <[email protected]>
 L:     [email protected]
--

2.1.1

Signature · 1 line
Florian
Acked-by on v1 1/3
#5 lore raw
In reply to Kevin Cernekee

2014-10-18 19:30 GMT-07:00 Kevin Cernekee <[email protected]>:

Quoted 9 lines

This device was originally supported on bcm63xx only, but it shows up on a wide variety of MIPS and ARM chipsets spanning multiple product lines. Now that the driver has eliminated dependencies on bcm63xx-specific header files, we can build it on any non-bcm63xx kernel.

Compile-tested on x86, both statically and as a module. Tested for functionality on bcm3384 (a new MIPS platform under active development).

Quoted 20 lines
---
 drivers/tty/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/Kconfig +1 -2
index 649b784..4a5c0c8 100644
@@ -1283,7 +1283,7 @@ config SERIAL_TIMBERDALE
 config SERIAL_BCM63XX
        tristate "bcm63xx serial port support"
        select SERIAL_CORE
-       depends on BCM63XX
+       depends on MIPS || ARM || COMPILE_TEST
        help
          If you have a bcm63xx CPU, you can enable its onboard
          serial port by enabling this options.
--

2.1.1

Signature · 1 line
Florian