Re: (subset) [PATCH 1/3] rtc: moxart: switch to using gpiod API

From: Alexandre Belloni
Date: Thu Feb 09 2023 - 17:32:31 EST



On Tue, 31 Jan 2023 21:48:13 -0800, Dmitry Torokhov wrote:
> Switch the driver from legacy gpio API that is deprecated to the newer
> gpiod API that respects line polarities described in ACPI/DT.
>
> This makes driver use standard property name for its gpios
> ("rtc-*-gpios" vs "gpios-rtc-*"), however there is a quirk in gpiolib
> to also recognize legacy names and keep compatibility with older DTSes:
> eaf1a29665cd ("gpiolib: of: add a quirk for legacy names in MOXA ART
> RTC").
>
> [...]

Applied, thanks!

[1/3] rtc: moxart: switch to using gpiod API
commit: 2985cda83b8107213e108f95c3cb8caa0da74918
[2/3] dt-bindings: rtc: moxart: use proper names for gpio properties
commit: e8c9efd5d52f1da1c9e012466b9df94a38cc1c00

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com