Re: [PATCH 1/3] nfc: s3fwrn5: convert to gpio descriptors

From: Jialu Xu

Date: Wed Mar 04 2026 - 05:36:43 EST


>> - phy->common.gpio_en = of_get_named_gpio(np, "en-gpios", 0);
>> - if (!gpio_is_valid(phy->common.gpio_en)) {
>> - /* Support also deprecated property */
>> - phy->common.gpio_en = of_get_named_gpio(np,
>> - "s3fwrn5,en-gpios",
>(...)
>
>> - phy->common.gpio_fw_wake = of_get_named_gpio(np, "wake-gpios", 0);
>> - if (!gpio_is_valid(phy->common.gpio_fw_wake)) {
>> - /* Support also deprecated property */
>> - phy->common.gpio_fw_wake = of_get_named_gpio(np,
>> - "s3fwrn5,fw-gpios",
>(...)
>
>old code supports the deprecated property too...

Thanks for the review!

I'm sorry for the oversight — I only checked the existing in-tree
device trees and assumed that was sufficient. I'll add rename quirks
in gpiolib-of.c to handle the deprecated properties. Will send v2
with this fixed.