]> git.openpandora.org Git - pandora-kernel.git/commitdiff
serial: imx: introduce serial_imx_enable_wakeup()
authorEduardo Valentin <edubezval@gmail.com>
Tue, 11 Aug 2015 17:21:21 +0000 (10:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 00:23:25 +0000 (17:23 -0700)
This change is a code reorganization. Here we introduce
serial_imx_enable_wakeup() helper function to do
the job of configuring and preparing wakeup sources
on imx serial device. The idea is to allow other
parts of the code to call this function whenever
the device is known to go to idle.

Cc: Fabio Estevam <festevam@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/Makefile
drivers/tty/serial/imx.c

index 246473a244f64736234a9973f754b8d488945908..310ff7380462b10d83d797c70585ae3a216d2cdf 100644 (file)
@@ -326,6 +326,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6q-wandboard-revb1.dtb
 dtb-$(CONFIG_SOC_IMX6SL) += \
        imx6sl-evk.dtb \
+       imx6sl-fox-p1.dtb \
        imx6sl-warp.dtb
 dtb-$(CONFIG_SOC_IMX6SX) += \
        imx6sx-sabreauto.dtb \
Simple merge