Hi, On Thu, Oct 17, 2019 at 08:25:50AM +0100, Lee Jones wrote: > On Wed, 16 Oct 2019, Jacopo Mondi wrote: > > > Hi, sorry for not having replied earlier > > > > On Wed, Oct 16, 2019 at 02:56:57PM +0200, Linus Walleij wrote: > > > On Mon, Oct 14, 2019 at 10:12 AM Lee Jones <lee.jo...@linaro.org> wrote: > > > > > > > > arch/sh/boards/mach-ecovec24/setup.c | 33 ++++-- > > > > > > > > I guess we're just waiting for the SH Acks now? > > > > > > The one maintainer with this board is probably overloaded. > > > > > > I would say just apply it, it can't hold back the entire series. > > > > I've been able to resurect the Ecovec, and I've also been given a copy > > of its schematics file a few weeks ago. > > > > It's in my TODO list to test this series but I didn't manage to find > > time. If I pinky promise I get back to you before end of the week, > > could you wait for me ? :)
Finally had some time to spend on this. As I've reported to Bartosz, this version does not work on Ecovec out of the box, as the GPIO line connected to the backlight needs to be configured to work in output mode before registering the backlight device. With this simple change: $ git diff diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index dd427bac5cde..eec6e805c3ed 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -1473,6 +1473,7 @@ static int __init arch_setup(void) #endif #endif + gpio_direction_output(GPIO_PTR1, 1); gpiod_add_lookup_table(&gpio_backlight_lookup); gpio_backlight_device = platform_device_register_full( &gpio_backlight_device_info); I can now control the gpio through the backlight interface. So please add this bit on top of next iteration and add my: Tested-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Thanks and sorry for the long time it took! > > Yes, no problem. > > -- > Lee Jones [李琼斯] > Linaro Services Technical Lead > Linaro.org │ Open source software for ARM SoCs > Follow Linaro: Facebook | Twitter | Blog
signature.asc
Description: PGP signature