]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/omap/lcd_h6300.c
h63xx: pca9535 support.
[linux-2.6-omap-h63xx.git] / drivers / video / omap / lcd_h6300.c
index d476fe69f4b0e3954eb29f10177d9316f7c59d04..9511339d98343d939557232e30270c3b2b975c3d 100644 (file)
@@ -24,8 +24,9 @@
 
 #include <linux/module.h>
 #include <linux/platform_device.h>
-#include <asm/io.h>
 
+#include <asm/io.h>
+#include <asm/arch/pca9535.h>
 #include <asm/arch/omapfb.h>
 
 /* #define OMAPFB_DBG 1 */
@@ -123,12 +124,14 @@ static int h6300_panel_remove(struct platform_device *pdev)
 static int h6300_panel_suspend(struct platform_device *pdev, pm_message_t mesg)
 {
        DBGENTER(1);
+       pca9535_gpio_write(GPIO3, HI);
        return 0;
 }
 
 static int h6300_panel_resume(struct platform_device *pdev)
 {
        DBGENTER(1);
+       pca9535_gpio_write(GPIO3, LOW);
        return 0;
 }