diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-02-01 08:48:13 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-02-10 01:31:46 +0300 |
commit | 2985cda83b8107213e108f95c3cb8caa0da74918 (patch) | |
tree | 0f38904cd51f91df7e97e65333e009e871006349 /Documentation/devicetree/bindings/rtc | |
parent | c94fb939e65155bc889e62396f83ef4317d643ac (diff) | |
download | linux-2985cda83b8107213e108f95c3cb8caa0da74918.tar.xz |
rtc: moxart: switch to using gpiod API
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").
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20230201054815.4112632-1-dmitry.torokhov@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc')
0 files changed, 0 insertions, 0 deletions