Commit e8c9efd5 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Alexandre Belloni

dt-bindings: rtc: moxart: use proper names for gpio properties

MOXA ART RTC driver has been switched to gpiod API and is now using
properly named properties for its gpios (with gpiolib implementing a
quirk to recognize legacy names). Change binding document to use
proper names as well.
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20230201054815.4112632-2-dmitry.torokhov@gmail.comSigned-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 2985cda8
...@@ -3,15 +3,15 @@ MOXA ART real-time clock ...@@ -3,15 +3,15 @@ MOXA ART real-time clock
Required properties: Required properties:
- compatible : Should be "moxa,moxart-rtc" - compatible : Should be "moxa,moxart-rtc"
- gpio-rtc-sclk : RTC sclk gpio, with zero flags - rtc-sclk-gpios : RTC sclk gpio, with zero flags
- gpio-rtc-data : RTC data gpio, with zero flags - rtc-data-gpios : RTC data gpio, with zero flags
- gpio-rtc-reset : RTC reset gpio, with zero flags - rtc-reset-gpios : RTC reset gpio, with zero flags
Example: Example:
rtc: rtc { rtc: rtc {
compatible = "moxa,moxart-rtc"; compatible = "moxa,moxart-rtc";
gpio-rtc-sclk = <&gpio 5 0>; rtc-sclk-gpios = <&gpio 5 0>;
gpio-rtc-data = <&gpio 6 0>; rtc-data-gpios = <&gpio 6 0>;
gpio-rtc-reset = <&gpio 7 0>; rtc-reset-gpios = <&gpio 7 0>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment