Re: [PATCH 1/2] PCI: dwc: rcar-gen4: Replace pe_rst GPIO PERST with GPIO reset aux driver

From: Andy Shevchenko

Date: Thu Oct 29 2026 - 10:07:09 EST


On Wed, Oct 28, 2026 at 06:27:36PM +0100, Marek Vasut wrote:
> On 10/28/26 6:21 PM, Marek Vasut wrote:

[...]

> Bartosz, alternatively, I wonder if there is any way to request the
> reset-gpios as reset controller reset here already. That might be even
> cleaner, but I don't think there is anything like
> devm_reset_control_bulk_get_optional_exclusive_and_also_request_the_gpio_reset()
> or devm_reset_control_get_optional_exclusive_gpio_reset() . Maybe something
> like that could be added to the reset subsystem instead ?

It's already there, if I'm not mistaken, one describes reset-gpios in DT,
and reset-gpio driver takes care of this.

--
With Best Regards,
Andy Shevchenko