summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorMichael Bohan <mbohan@codeaurora.org>2014-02-11 11:47:35 -0800
committerMichael Bohan <mbohan@codeaurora.org>2014-02-12 19:06:33 -0800
commite61e87e40de15d88a936410f39db448f342a2bf0 (patch)
tree68cd13c61552caa4389e61d385de4f226e24b3a7 /drivers/tty
parentaf289785a92fb41a0c63c0d8b7d4f6c7cc73a81a (diff)
parent490a09a5eadbca1853e383e0b62aa601d5e38239 (diff)
Merge branch '8916-dev-phase2' into msm-3.10.
Merge the second phase of support needed for the 8916 target into msm-3.10. This includes a couple hundred upstream patches for ARM64 support, as well as 8916 specific driver development. * origin/tmp-branch: (211 commits) ARM: dts: msmplutonium: Update the cpu release address Revert "arm64: Fix memory shareability attribute for ioremap_wc/cache" clocksource: arch_timer: Do not register arch_sys_counter twice xtensa: adjust boot parameters address when INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX is selected sched_clock: Add support for >32 bit sched_clock sched_clock: Use an hrtimer instead of timer sched_clock: Use seqcount instead of rolling our own clocksource: Extract max nsec calculation into separate function ARM: sched_clock: Load cycle count after epoch stabilizes sched_clock: Make ARM's sched_clock generic for all architectures of: move of_get_cpu_node implementation to DT core library of: introduce common FDT machine related functions of: Introduce common early_init_dt_scan mm: allow pgtable_page_ctor() to fail of: only include prom.h on sparc mm: introduce helper function mem_init_print_info() to simplify mem_init() mm: use a dedicated lock to protect totalram_pages and zone->managed_pages KVM: Move gfn_to_index to x86 specific code ARM: KVM: move GIC/timer code to a common location arm64: mm: Fix PMD_SECT_PROT_NONE definition ... Conflicts: arch/arm/mach-msm/board-8226.c arch/arm/mach-msm/board-8610.c arch/arm64/kernel/asm-offsets.c arch/arm64/kernel/fpsimd.c arch/arm64/kernel/setup.c Change-Id: I289996bc18d8a2782906e7db1171b48e3ee46a73 Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/Kconfig4
-rw-r--r--drivers/tty/serial/msm_serial_hs_lite.c13
2 files changed, 8 insertions, 9 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index f1f03919a086..4e8ef7ddb2fc 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -5,7 +5,7 @@
if TTY
menu "Serial drivers"
- depends on HAS_IOMEM && GENERIC_HARDIRQS
+ depends on HAS_IOMEM
source "drivers/tty/serial/8250/Kconfig"
@@ -1056,7 +1056,7 @@ config SERIAL_MSM_RX_WAKEUP
config SERIAL_MSM_HSL
tristate "MSM UART High Speed : Legacy mode Serial Driver"
- depends on ARM && ARCH_MSM
+ depends on (ARM || ARM64) && ARCH_MSM
select SERIAL_CORE
default n
help
diff --git a/drivers/tty/serial/msm_serial_hs_lite.c b/drivers/tty/serial/msm_serial_hs_lite.c
index f146c9adcef0..0878abf58720 100644
--- a/drivers/tty/serial/msm_serial_hs_lite.c
+++ b/drivers/tty/serial/msm_serial_hs_lite.c
@@ -49,9 +49,8 @@
#include <linux/wakelock.h>
#include <linux/types.h>
#include <asm/byteorder.h>
-#include <mach/board.h>
-#include <mach/msm_serial_hs_lite.h>
-#include <mach/msm_bus.h>
+#include <linux/platform_data/qcom-serial_hs_lite.h>
+#include <linux/msm-bus.h>
#include "msm_serial_hs_hwreg.h"
/*
@@ -85,7 +84,7 @@ struct msm_hsl_port {
unsigned int *gsbi_mapbase;
unsigned int *mapped_gsbi;
unsigned int old_snap_state;
- unsigned int ver_id;
+ unsigned long ver_id;
int tx_timeout;
struct mutex clk_mutex;
enum uart_core_type uart_type;
@@ -168,13 +167,13 @@ static inline void msm_hsl_write(struct uart_port *port,
unsigned int val, unsigned int off)
{
__iowmb();
- __raw_writel_no_log((__force __u32)cpu_to_le32(val),
+ __raw_writel((__force __u32)cpu_to_le32(val),
port->membase + off);
}
static inline unsigned int msm_hsl_read(struct uart_port *port,
unsigned int off)
{
- unsigned int v = le32_to_cpu((__force __le32)__raw_readl_no_log(
+ unsigned int v = le32_to_cpu((__force __le32)__raw_readl(
port->membase + off));
__iormb();
return v;
@@ -1769,7 +1768,7 @@ static int msm_serial_hsl_probe(struct platform_device *pdev)
if (!match) {
msm_hsl_port->ver_id = UARTDM_VERSION_11_13;
} else {
- msm_hsl_port->ver_id = (unsigned int)match->data;
+ msm_hsl_port->ver_id = (unsigned long)match->data;
/*
* BLSP based UART configuration is available with
* UARTDM v14 Revision. Hence set uart_type as UART_BLSP.