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

From: Marek Vasut

Date: Thu Oct 29 2026 - 12:23:54 EST


On 10/29/26 2:52 PM, Andy Shevchenko wrote:
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.
That part works fine, but please see the DT snippets in the patch, I have both resets/reset-names and reset-gpios DT properties in the same DT node. That is why I need this crutch.