From: Beomho Seo Date: Thu, 26 Feb 2015 08:54:50 +0000 (+0900) Subject: mfd: exynos-lpass: Enable UART module support X-Git-Tag: submit/tizen/20190329.020226~207 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2392e5fa2871c133139f5836e4aed4e9ce95429;p=platform%2Fkernel%2Flinux-exynos.git mfd: exynos-lpass: Enable UART module support This patch enables support for UART module in AUD subsystem. There are boards (for example TM2), which use it for communication with bluetooth chip. Signed-off-by: Beomho Seo [mszyprow: rephrased commit message, added UART reset] Signed-off-by: Marek Szyprowski Change-Id: I4f189b64baca4865d119d7e931c1ce608a5908bd --- diff --git a/drivers/mfd/exynos-lpass.c b/drivers/mfd/exynos-lpass.c index ca829f85672f..2713de989f05 100644 --- a/drivers/mfd/exynos-lpass.c +++ b/drivers/mfd/exynos-lpass.c @@ -82,11 +82,13 @@ static void exynos_lpass_enable(struct exynos_lpass *lpass) LPASS_INTR_SFR | LPASS_INTR_DMA | LPASS_INTR_I2S); regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, - LPASS_INTR_SFR | LPASS_INTR_DMA | LPASS_INTR_I2S); + LPASS_INTR_SFR | LPASS_INTR_DMA | LPASS_INTR_I2S | + LPASS_INTR_UART); exynos_lpass_core_sw_reset(lpass, LPASS_I2S_SW_RESET); exynos_lpass_core_sw_reset(lpass, LPASS_DMA_SW_RESET); exynos_lpass_core_sw_reset(lpass, LPASS_MEM_SW_RESET); + exynos_lpass_core_sw_reset(lpass, LPASS_UART_SW_RESET); } static void exynos_lpass_disable(struct exynos_lpass *lpass)