[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220504130233.330983-1-valentin.caron@foss.st.com>
Date: Wed, 4 May 2022 15:02:27 +0200
From: Valentin Caron <valentin.caron@...s.st.com>
To: Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Alexandre Torgue <alexandre.torgue@...s.st.com>
CC: Gabriel Fernandez <gabriel.fernandez@...s.st.com>,
Amelie Delaunay <amelie.delaunay@...s.st.com>,
Valentin Caron <valentin.caron@...s.st.com>,
<linux-rtc@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
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
Powered by blists - more mailing lists