Hi Jacopo,
On Thu, Dec 21, 2017 at 9:31 PM, jacopo mondi <[email protected]> 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 -- [email protected]
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