Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284724
b: refs/heads/master
c: d57f341
h: refs/heads/master
v: v3
  • Loading branch information
Gabor Juhos authored and Ralf Baechle committed Dec 7, 2011
1 parent b9556ac commit 3a5d302
Show file tree
Hide file tree
Showing 6 changed files with 735 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c279b7759602d4ef97d45f3eb2cdf36a713eb99a
refs/heads/master: d57f341ba08c9f34ccd45a89729e73174d4a3325
18 changes: 18 additions & 0 deletions trunk/arch/mips/include/asm/mach-ath79/ar933x_uart_platform.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Platform data definition for Atheros AR933X UART
*
* Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/

#ifndef _AR933X_UART_PLATFORM_H
#define _AR933X_UART_PLATFORM_H

struct ar933x_uart_platform_data {
unsigned uartclk;
};

#endif /* _AR933X_UART_PLATFORM_H */
23 changes: 23 additions & 0 deletions trunk/drivers/tty/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1610,4 +1610,27 @@ config SERIAL_XILINX_PS_UART_CONSOLE
help
Enable a Xilinx PS UART port to be the system console.

config SERIAL_AR933X
bool "AR933X serial port support"
depends on SOC_AR933X
select SERIAL_CORE
help
If you have an Atheros AR933X SOC based board and want to use the
built-in UART of the SoC, say Y to this option.

config SERIAL_AR933X_CONSOLE
bool "Console on AR933X serial port"
depends on SERIAL_AR933X=y
select SERIAL_CORE_CONSOLE
help
Enable a built-in UART port of the AR933X to be the system console.

config SERIAL_AR933X_NR_UARTS
int "Maximum number of AR933X serial ports"
depends on SERIAL_AR933X
default "2"
help
Set this to the number of serial ports you want the driver
to support.

endmenu
1 change: 1 addition & 0 deletions trunk/drivers/tty/serial/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ obj-$(CONFIG_SERIAL_MSM_SMD) += msm_smd_tty.o
obj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
obj-$(CONFIG_SERIAL_LANTIQ) += lantiq.o
obj-$(CONFIG_SERIAL_XILINX_PS_UART) += xilinx_uartps.o
obj-$(CONFIG_SERIAL_AR933X) += ar933x_uart.o
Loading

0 comments on commit 3a5d302

Please sign in to comment.