serial: 8250_omap: Make 8250_omap driver driver depend on ARCH_K3

Message ID 20180828010302.2751-1-nm@ti.com
State New
Headers show
Series
  • serial: 8250_omap: Make 8250_omap driver driver depend on ARCH_K3
Related show

Commit Message

Nishanth Menon Aug. 28, 2018, 1:03 a.m.
From: Lokesh Vutla <lokeshvutla@ti.com>


Allow 8250 omap serial driver to be used for K3 platforms.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>

Signed-off-by: Nishanth Menon <nm@ti.com>

---

Now that we have the device tree support merged integrated AND we have ARCH_K3,
Lets enable the 820 OMAP Driver to build for ARCH_K3 and make it operational.

 drivers/tty/serial/8250/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.15.1

Comments

Tony Lindgren Aug. 28, 2018, 4:21 p.m. | #1
* Nishanth Menon <nm@ti.com> [180828 01:07]:
> From: Lokesh Vutla <lokeshvutla@ti.com>

> 

> Allow 8250 omap serial driver to be used for K3 platforms.

> 

> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>

> Signed-off-by: Nishanth Menon <nm@ti.com>

> ---

> 

> Now that we have the device tree support merged integrated AND we have ARCH_K3,

> Lets enable the 820 OMAP Driver to build for ARCH_K3 and make it operational.


Acked-by: Tony Lindgren <tony@atomide.com>
Vignesh Raghavendra Sept. 10, 2018, 4:01 a.m. | #2
On Tuesday 28 August 2018 06:33 AM, Nishanth Menon wrote:
> From: Lokesh Vutla <lokeshvutla@ti.com>

> 

> Allow 8250 omap serial driver to be used for K3 platforms.

> 

> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>

> Signed-off-by: Nishanth Menon <nm@ti.com>

> ---

> 


Acked-by: Vignesh R <vigneshr@ti.com>


> Now that we have the device tree support merged integrated AND we have ARCH_K3,

> Lets enable the 820 OMAP Driver to build for ARCH_K3 and make it operational.

> 

>  drivers/tty/serial/8250/Kconfig | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig

> index f005eaf8bc57..15c2c5463835 100644

> --- a/drivers/tty/serial/8250/Kconfig

> +++ b/drivers/tty/serial/8250/Kconfig

> @@ -375,7 +375,7 @@ config SERIAL_8250_RT288X

>  

>  config SERIAL_8250_OMAP

>  	tristate "Support for OMAP internal UART (8250 based driver)"

> -	depends on SERIAL_8250 && ARCH_OMAP2PLUS

> +	depends on SERIAL_8250 && (ARCH_OMAP2PLUS || ARCH_K3)

>  	help

>  	  If you have a machine based on an Texas Instruments OMAP CPU you

>  	  can enable its onboard serial ports by enabling this option.

> 


-- 
Regards
Vignesh

Patch

diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index f005eaf8bc57..15c2c5463835 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -375,7 +375,7 @@  config SERIAL_8250_RT288X
 
 config SERIAL_8250_OMAP
 	tristate "Support for OMAP internal UART (8250 based driver)"
-	depends on SERIAL_8250 && ARCH_OMAP2PLUS
+	depends on SERIAL_8250 && (ARCH_OMAP2PLUS || ARCH_K3)
 	help
 	  If you have a machine based on an Texas Instruments OMAP CPU you
 	  can enable its onboard serial ports by enabling this option.