aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/sa1100fb.h
diff options
context:
space:
mode:
authorGravatar Linus Walleij <linus.walleij@linaro.org> 2020-04-15 18:50:55 +0200
committerGravatar Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> 2020-04-17 15:50:11 +0200
commit5e4096ef03dcabd39e1d98856cd92f7359bc13e0 (patch)
tree3060d2a8fe1ef44f32f88951fa724ea05dbfee06 /drivers/video/fbdev/sa1100fb.h
parentvideo: fbdev: aty128fb: remove unused 'sdr_64' (diff)
downloadlinux-5e4096ef03dcabd39e1d98856cd92f7359bc13e0.tar.gz
linux-5e4096ef03dcabd39e1d98856cd92f7359bc13e0.tar.bz2
linux-5e4096ef03dcabd39e1d98856cd92f7359bc13e0.zip
ARM/fbdev: sa11x0: Switch to use GPIO descriptors
This converts the SA11x0 frame buffer driver to use GPIO descriptors. Get the GPIO optional and register a look-up table specifically for the Shannon machine. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Cc: Russell King <linux@armlinux.org.uk> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200415165055.193113-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/video/fbdev/sa1100fb.h')
-rw-r--r--drivers/video/fbdev/sa1100fb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/fbdev/sa1100fb.h b/drivers/video/fbdev/sa1100fb.h
index d0aa33b0b88a..b4363444fa5d 100644
--- a/drivers/video/fbdev/sa1100fb.h
+++ b/drivers/video/fbdev/sa1100fb.h
@@ -10,6 +10,8 @@
* for more details.
*/
+struct gpio_desc;
+
#define LCCR0 0x0000 /* LCD Control Reg. 0 */
#define LCSR 0x0004 /* LCD Status Reg. */
#define DBAR1 0x0010 /* LCD DMA Base Address Reg. channel 1 */
@@ -33,6 +35,7 @@ struct sa1100fb_info {
struct device *dev;
const struct sa1100fb_rgb *rgb[NR_RGB];
void __iomem *base;
+ struct gpio_desc *shannon_lcden;
/*
* These are the addresses we mapped