Re: [PATCH 3/4] media: i2c: ov02c10: Implement power-on reset

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

 



Hi,

On 15-Mar-25 10:09 PM, Bryan O'Donoghue wrote:
> On 15/03/2025 21:05, Hans de Goede wrote:
>> So I think for v10 I'll go with the above solution to sleep
>> 2 ms in power_on() before de-asserting reset.
>>
>> Bryan, any comments on that ?
> 
> Don't we go through power_on/power_off cycles if/when we add runtime PM though ?

Right, notice that I said "to sleep 2 ms in power_on()
before de-asserting reset"

IOW I'm suggesting to go with your solution.

> So to me it makes sense to do it the same way we did it in ov08x40 for example.

Ack, I agreee :)

Except for explictly driving the GPIO high before
the 2ms sleep, it should always be high when we enter
the power_on() helper since power_on() / off() calls
are guaranteed to be paired (and we request it to be
high initially).

Regards,

Hans







[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux