Re: [PATCH 1/8] dt-bindings: media: i2c: document Omnivision OV08D10 CMOS image sensor

From: Sakari Ailus

Date: Mon Mar 09 2026 - 08:08:10 EST


Hi Matthias, Krzysztof,

On Fri, Feb 27, 2026 at 04:10:50PM +0100, Matthias Fend wrote:
> > > + reset-gpios:
> > > + description: Active low XSHUTDN pin
> >
> > So maybe rather powerdown-gpios, see gpio-consumer-common.yaml?
>
> As activating the XSHUTDN pin on this sensor works like a reset, I guess
> it's okay as it is.
>
> From what I've seen, it's also common practice for some other Omnivision
> sensors to designate the XSHUTDN pin as the reset pin.
> This is also the case, for example, with the recently added OS05B10.
>
> During a review for another sensor, I was asked to use the reset controller
> framework instead of the GPIO pin for the reset function, which I did in
> this case as well.
> To my knowledge, the fallback from the reset controller to a simple reset
> pin only works with the 'reset-gpios' property.

I'd use "reset" for this, too: it's first and foremost reset. In most
camera sensors with "xshutdown" or similar pin the function of the pin is
documented to be hardware reset. Most such devices still use very little
power in hardware reset state but from software point of view that is still
secondary to the reset function.

--
Regards,

Sakari Ailus