2022-05-09 08:44:23

by Valentin Caron

[permalink] [raw]
Subject: [PATCH 0/6] rtc: stm32: add alarm out and LSCO features.

On STM32MP1x SOCs, RTC is able to output some signals on its own pins.

This series add the possibility to select two of these signals on
RTC pins :
- LSCO (Low Speed Clock Output) that allow to output LSE clock on a pin.
On STM32MP1x Discovery boards this feature is used to generate a clock
to Wifi/Bluetooth module.
- Alarm out that allow to send a pulse on a pin when alarm A of the RTC
expires.

Amelie Delaunay (2):
dt-bindings: rtc: stm32: add st,lsco optional property to select
output
rtc: stm32: add Low Speed Clock Output (LSCO) support

Gabriel Fernandez (2):
ARM: dts: stm32: add RTC LSCO support on stm32mp157c-dk2
ARM: dts: stm32: add RTC LSCO support on stm32mp135f-dk

Valentin Caron (2):
dt-bindings: rtc: stm32: add alarm A out property to select output
rtc: stm32: add alarm A out feature

.../devicetree/bindings/rtc/st,stm32-rtc.yaml | 37 +++
arch/arm/boot/dts/stm32mp13-pinctrl.dtsi | 6 +
arch/arm/boot/dts/stm32mp135f-dk.dts | 4 +
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 6 +
arch/arm/boot/dts/stm32mp157c-dk2.dts | 7 +
drivers/rtc/Kconfig | 1 +
drivers/rtc/rtc-stm32.c | 210 ++++++++++++++++++
include/dt-bindings/rtc/rtc-stm32.h | 14 ++
8 files changed, 285 insertions(+)
create mode 100644 include/dt-bindings/rtc/rtc-stm32.h

--
2.25.1