Re: [PATCH v7 4/8] i2c: of-prober: skip post-power-on delay if powered on sufficiently long

From: Wolfram Sang

Date: Tue Nov 10 2026 - 05:41:00 EST


On Tue, Nov 03, 2026 at 12:37:28PM +0800, Chen-Yu Tsai wrote:
> On some devices the I2C component is powered from an always-on power
> rail, or the power rail has been left on by either POR defaults or
> the bootloader. By the time the prober probes the device, the device
> most certainly has finished initializing and can respond. There is no
> need for the delay.
>
> In such designs, the system integrators tend to work around the delay
> to avoid the boot time penalty by simply omitting it from the device
> tree and the component prober. This is undesired, as the device tree
> is not fully describing the hardware.
>
> Switch to the new regulator_enable_and_wait() function that makes sure
> a certain amount of time has passed since the regulator supply was
> actually enabled.
>
> Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>

Acked-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

@Andi: Chen-Yu is the maintainer of the of-prober, so I suggest these
changes just go in together with this series.