Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b690ace5 authored by Ben Dooks's avatar Ben Dooks
Browse files

[ARM] S3C6400: serial support for S3C6400 and S3C6410 SoCs



Add support to the Samsung serial driver for the S3C6400
and S3C6410 serial ports.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent cf18acf0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -101,4 +101,6 @@
#define S3C24XX_PA_SDI      S3C2410_PA_SDI
#define S3C24XX_PA_NAND	    S3C2410_PA_NAND

#define S3C_PA_UART	    S3C24XX_PA_UART

#endif /* __ASM_ARCH_MAP_H */
+2 −0
Original line number Diff line number Diff line
@@ -80,4 +80,6 @@
#define S3C24XX_PA_SDI		S3C24A0_PA_SDI
#define S3C24XX_PA_NAND		S3C24A0_PA_NAND

#define S3C_PA_UART		S3C24A0_PA_UART

#endif /* __ASM_ARCH_24A0_MAP_H */
+6 −0
Original line number Diff line number Diff line
@@ -77,6 +77,12 @@
#define S3C2440_UCON_FCLK	  (3<<10)
#define S3C2443_UCON_EPLL	  (3<<10)

#define S3C6400_UCON_CLKMASK	(3<<10)
#define S3C6400_UCON_PCLK	(0<<10)
#define S3C6400_UCON_PCLK2	(2<<10)
#define S3C6400_UCON_UCLK0	(1<<10)
#define S3C6400_UCON_UCLK1	(3<<10)

#define S3C2440_UCON2_FCLK_EN	  (1<<15)
#define S3C2440_UCON0_DIVMASK	  (15 << 12)
#define S3C2440_UCON1_DIVMASK	  (15 << 12)
+9 −1
Original line number Diff line number Diff line
@@ -447,7 +447,7 @@ config SERIAL_CLPS711X_CONSOLE

config SERIAL_SAMSUNG
	tristate "Samsung SoC serial support"
	depends on ARM && PLAT_S3C24XX
	depends on ARM && PLAT_S3C
	select SERIAL_CORE
	help
	  Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
@@ -515,6 +515,14 @@ config SERIAL_S3C24A0
	help
	  Serial port support for the Samsung S3C24A0 SoC

config SERIAL_S3C6400
	tristate "Samsung S3C6400/S3C6410 Serial port support"
	depends on SERIAL_SAMSUNG && (CPU_S3C600 || CPU_S3C6410)
	default y
	help
	  Serial port support for the Samsung S3C6400 and S3C6410
	  SoCs

config SERIAL_DZ
	bool "DECstation DZ serial driver"
	depends on MACH_DECSTATION && 32BIT
+1 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ obj-$(CONFIG_SERIAL_S3C2410) += s3c2410.o
obj-$(CONFIG_SERIAL_S3C2412) += s3c2412.o
obj-$(CONFIG_SERIAL_S3C2440) += s3c2440.o
obj-$(CONFIG_SERIAL_S3C24A0) += s3c24a0.o
obj-$(CONFIG_SERIAL_S3C6400) += s3c6400.o
obj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o
obj-$(CONFIG_SERIAL_MUX) += mux.o
obj-$(CONFIG_SERIAL_68328) += 68328serial.o
Loading