notro / fbtft_tools

27 stars 17 forks source link

gpio_backlight.h? #2

Closed tz1 closed 9 years ago

tz1 commented 10 years ago

This apparently belongs in linux/platform_data/ or somewhere else, maybe in gpio_backlight_device itself? Everything else here compiles fine.

tz1 commented 10 years ago

Note that copying this file from a google search hit into the directory and changing <linux/platform_data/...> to "..." make it work. (now how do I turn the backlight on and off?)

notro commented 10 years ago

I use this patch to backport gpio-backlight from 3.12: https://github.com/notro/rpi-build/blob/master/patches/builtin/040-gpio_backlight.patch

And this to make it work with stmpe-gpio: https://github.com/notro/rpi-build/blob/master/patches/builtin/041-gpio_backlight-gpio-can-sleep.patch

notro commented 9 years ago

Closing issue since there has been no activity for more than 2 months. Reopen if needed.