On Wed, Nov 27, 2024 at 8:15 AM <haibo.chen@xxxxxxx> wrote: > > From: Haibo Chen <haibo.chen@xxxxxxx> > > Regmap cache mechanism is enabled in default. Thus, IO expander wouldn't > handle GPIO set really before resuming back. > > But there are cases need to toggle gpio in NO_IRQ stage. > e.g. To align with PCIe specification, PERST# signal connected on the IO > expander must be toggled during PCIe RC's NO_IRQ_RESUME. > > Do not enable the regmap cache when IO expander doesn't have the regulator > during system PM. That means the power of IO expander would be kept on, > and the GPIOs of the IO expander can be toggled really during system PM. > > Signed-off-by: Haibo Chen <haibo.chen@xxxxxxx> > --- The commit title should be: "gpio: pca953x: ..." This description makes it sound like a fix, can you add a Fixes: tag? Bart