Re: [PATCH v2 1/2] reset: always bail out on missing RESET_GPIO driver

From: Krzysztof Kozlowski
Date: Mon Nov 03 2025 - 09:57:38 EST


On 30/10/2025 13:54, Philipp Zabel wrote:
> On Mi, 2025-10-15 at 22:59 +0200, Wolfram Sang wrote:
>> Optional GPIOs mean they can be omitted. If they are described, a
>> failure in acquiring them still needs to be reported. When the
>> RESET_GPIO is not enabled (so the reset core cannot provide its assumed
>> fallback), the user should be informed about it. So, not only bail out
>> but also give a hint how to fix the situation. This means the check has
>> to be moved after ensuring the GPIO is really described.
>>
>> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
>
> Patch 1 applied to reset/next, thanks!
>
> [1/2] reset: always bail out on missing RESET_GPIO driver
> https://git.pengutronix.de/cgit/pza/linux/commit/?id=25d4d4604d01


Why? This wasn't tested and wasn't reviewed... there were objections to
this patchset and long discussion.

Best regards,
Krzysztof