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

Valentin Caron valentin.caron at foss.st.com
Wed May 4 06:02:27 PDT 2022


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




More information about the linux-arm-kernel mailing list