Re: [PATCH v1 05/10] arch: sh: migor: Use new renesas-ceu camera driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jacopo,

On Thu, Dec 21, 2017 at 9:31 PM, jacopo mondi <jacopo@xxxxxxxxxx> wrote:
> On Tue, Dec 12, 2017 at 12:00:43PM +0200, Laurent Pinchart wrote:
>> On Wednesday, 15 November 2017 12:55:58 EET Jacopo Mondi wrote:
>> The TV_IN_EN and CAM_EN signals (PTT2 and PTT0 GPIOs respectively) shouldn't
>> be difficult either. You can expose them as the PDN and PWDN GPIOs for the
>> OV7720 and TW9910 and handle them in the respective drivers. CAM_EN also
>> controls the digital video bus multiplexing, and unless I'm mistaken it will
>> just work as a side effect of power down signal control as long as you make
>> sure that the OV7720 remains in power down when not selected as the CEU input.
>
> Same as above, should I "gpio_request" or even better use the new
> "gpiod_" APIs in setup.c and pass to driver the result of the request
> or should I request the gpios in the drivers?

Can gpiod_add_lookup_table() provide a solution?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux