From: Patrick DELAUNAY Date: Mon, 22 Jul 2019 12:37:44 +0000 Subject: [U-Boot] [PATCH v3 2/2] rtc: Add rtc driver for stm32mp1 In-Reply-To: <20190711100338.1327-3-benjamin.gaignard@st.com> References: <20190711100338.1327-1-benjamin.gaignard@st.com> <20190711100338.1327-3-benjamin.gaignard@st.com> Message-ID: <1d92e9d35b3f4aa3897e1c5b4340033d@SFHDAG6NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > From: Benjamin GAIGNARD > Sent: jeudi 11 juillet 2019 12:04 > > Add support of STM32MP1 rtc driver. > Enable it for basic and trusted configurations. > > Signed-off-by: Benjamin Gaignard > --- > version 3: > - release clock only on error cases. > > configs/stm32mp15_basic_defconfig | 2 + > configs/stm32mp15_trusted_defconfig | 2 + > drivers/rtc/Kconfig | 6 + > drivers/rtc/Makefile | 1 + > drivers/rtc/stm32_rtc.c | 323 > ++++++++++++++++++++++++++++++++++++ > 5 files changed, 334 insertions(+) > create mode 100644 drivers/rtc/stm32_rtc.c > Applied to u-boot-stm32/master, thanks! But still errors because RTC year as only 2 digits in register (00-99 only =>> %100 is missing) and U-Boot expect year with 4 digits (0000-9999) => I will push a correction today. Patrick