diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2016-01-12 23:06:43 +0100 |
---|---|---|
committer | Andrea Adami <andrea.adami@gmail.com> | 2016-01-19 22:50:27 +0100 |
commit | 526de214f4f88b41c41adc74da30637757acbee7 (patch) | |
tree | b3d0e9b77fac852a1cc3327235a9b73dbfc2c168 /recipes-kernel/linux/linux-handheld-4.4/locomo/0023-poodle-gpio-uart-hack.patch | |
parent | d9edb47c98812d9617e5132b32202f5463ec0796 (diff) | |
download | meta-handheld-526de214f4f88b41c41adc74da30637757acbee7.tar.gz |
linux-handheld: initial commit of v. 4.4 for PXA and SA1100 devices
Unfortunately h1940 has been skipped for it needs a total refresh of patches.
The patches for locomo are courtesy of Dmitry and have been taken from
http://git.infradead.org/users/dbaryshkov/zaurus.git
One patch from there has been edited: "video: lcd: add LoCoMo LCD driver"
--- a/drivers/video/backlight/locomo_lcd.c
+++ b/drivers/video/backlight/locomo_lcd.c
@@ -20,7 +20,7 @@
#include <linux/platform_device.h>
#include <linux/regmap.h>
-#define POWER_IS_ON(pwr) ((pwr) <= FB_BLANK_NORMAL)
+#define POWER_IS_ON(pwr) ((pwr) == FB_BLANK_UNBLANK)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.4/locomo/0023-poodle-gpio-uart-hack.patch')
-rw-r--r-- | recipes-kernel/linux/linux-handheld-4.4/locomo/0023-poodle-gpio-uart-hack.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.4/locomo/0023-poodle-gpio-uart-hack.patch b/recipes-kernel/linux/linux-handheld-4.4/locomo/0023-poodle-gpio-uart-hack.patch new file mode 100644 index 0000000..3da80e6 --- /dev/null +++ b/recipes-kernel/linux/linux-handheld-4.4/locomo/0023-poodle-gpio-uart-hack.patch @@ -0,0 +1,25 @@ +From 7727b3f2b7dee4e78cbcc1608bb7842bf1074409 Mon Sep 17 00:00:00 2001 +From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> +Date: Fri, 28 Nov 2014 15:27:51 +0300 +Subject: [PATCH 23/44] poodle gpio uart hack + +Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> +--- + drivers/gpio/gpio-locomo.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpio/gpio-locomo.c b/drivers/gpio/gpio-locomo.c +index 88416aa..08992d0 100644 +--- a/drivers/gpio/gpio-locomo.c ++++ b/drivers/gpio/gpio-locomo.c +@@ -230,6 +230,7 @@ static int locomo_gpio_probe(struct platform_device *pdev) + + platform_set_drvdata(pdev, lg); + ++ regmap_write(lg->regmap, LOCOMO_GPO, 1 << 12); + regmap_write(lg->regmap, LOCOMO_GIE, 0x00); + + lg->gpio.dev = &pdev->dev; +-- +1.9.1 + |