diff options
author | John Crispin <blogic@openwrt.org> | 2016-02-25 10:14:05 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-02-25 10:14:05 +0000 |
commit | 19a174c9ff135ce7198f41d2226b92c646515d26 (patch) | |
tree | 68aa7d5a077cda7c29e257a9303631b48793b483 /target/linux/brcm2708/patches-4.1/0164-staging-fbtft-Add-reset-to-fbtft_init_display_dt.patch | |
parent | ddab8d8608f1f0676ca2155e0415cc59a142af02 (diff) | |
download | master-187ad058-19a174c9ff135ce7198f41d2226b92c646515d26.tar.gz master-187ad058-19a174c9ff135ce7198f41d2226b92c646515d26.tar.bz2 master-187ad058-19a174c9ff135ce7198f41d2226b92c646515d26.zip |
brcm2708: remove linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48766 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0164-staging-fbtft-Add-reset-to-fbtft_init_display_dt.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.1/0164-staging-fbtft-Add-reset-to-fbtft_init_display_dt.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0164-staging-fbtft-Add-reset-to-fbtft_init_display_dt.patch b/target/linux/brcm2708/patches-4.1/0164-staging-fbtft-Add-reset-to-fbtft_init_display_dt.patch deleted file mode 100644 index bdcb7a44b6..0000000000 --- a/target/linux/brcm2708/patches-4.1/0164-staging-fbtft-Add-reset-to-fbtft_init_display_dt.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 26a9afc8fb40ec61cc7b0189e96c5471e72ec83c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org> -Date: Sat, 11 Jul 2015 18:48:10 +0200 -Subject: [PATCH 164/222] staging: fbtft: Add reset to fbtft_init_display_dt() -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -When an init sequence is present in the Device Tree, -fbtft_init_display_dt() is used to initialize the display. -Add missing reset function call and activation of -chip select for parallel bus. - -Signed-off-by: Noralf Trønnes <noralf@tronnes.org> ---- - drivers/staging/fbtft/fbtft-core.c | 5 +++++ - 1 file changed, 5 insertions(+) - ---- a/drivers/staging/fbtft/fbtft-core.c -+++ b/drivers/staging/fbtft/fbtft-core.c -@@ -1074,6 +1074,11 @@ static int fbtft_init_display_dt(struct - p = of_prop_next_u32(prop, NULL, &val); - if (!p) - return -EINVAL; -+ -+ par->fbtftops.reset(par); -+ if (par->gpio.cs != -1) -+ gpio_set_value(par->gpio.cs, 0); /* Activate chip */ -+ - while (p) { - if (val & FBTFT_OF_INIT_CMD) { - val &= 0xFFFF; |