From patchwork Thu Jun 15 09:27:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentin Caron X-Patchwork-Id: 1795326 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-rtc-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector1 header.b=qME7t9rp; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4QhcX84MV6z20QH for ; Thu, 15 Jun 2023 19:32:40 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244884AbjFOJcj (ORCPT ); Thu, 15 Jun 2023 05:32:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234714AbjFOJch (ORCPT ); Thu, 15 Jun 2023 05:32:37 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFD2326AA; Thu, 15 Jun 2023 02:32:36 -0700 (PDT) Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35F8I2Et009956; Thu, 15 Jun 2023 11:32:21 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=7FTvGFOInZeY6DQoM9GEo1BZzNU9jNs0DHdmg607YF4=; b=qME7t9rpEE4303bvZoAbFXYZETQhqt3DN7XsWVgXTkasE71XsacSUGPg+3hJE+ZiTRJk 9+EuJmCmskQvzB2YNOT1/HicbCmgSIFBBY0XMMMulR/KELxqFmYEF/gz2+rQFjEJpp/y vBao6xoe/OCnSqe7ifadgLH9bHBA34HIqnEaHQpoG7NNROTAWc/Afm18Qj/fY5mwif7k xF+NsB98MBYb51e9kGYv6cibAsPl7ROZ5oohAGh1WFSIzC6HqUN+TJlrkgRMMcZzJexD cVRnqaOlpPYoGDT5tTNyO/GqFxoETVrtJOWsnP0sGSniHncvPC1xkhcimh3YCXbIXMC/ Kg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3r7s1maxqa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Jun 2023 11:32:21 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E8D0110002A; Thu, 15 Jun 2023 11:32:20 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B712521A91B; Thu, 15 Jun 2023 11:32:20 +0200 (CEST) Received: from localhost (10.252.8.64) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 15 Jun 2023 11:32:20 +0200 From: Valentin Caron To: Alessandro Zummo , Alexandre Belloni CC: Alexandre Torgue , Antonio Borneo , Christophe Guibout , Gabriel Fernandez , , , , , Valentin Caron Subject: [PATCH 0/7] rtc: stm32: multiple bug fixes and improvements Date: Thu, 15 Jun 2023 11:27:46 +0200 Message-ID: <20230615092753.323844-1-valentin.caron@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.252.8.64] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-15_06,2023-06-14_02,2023-05-22_02 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org This series implements some bug fixes for theses issues: - typo issues - register read sequence issue - irq during pm callbacks issue This series implements also some improvements: - don't switch to INIT mode uselessly - improve error printing during probe - improve rtc precision on stm32mp1 Antonio Borneo (2): rtc: stm32: use the proper register sequence to read date/time rtc: stm32: don't stop time counter if not needed Christophe Guibout (1): rtc: stm32: improve rtc precision Gabriel Fernandez (1): rtc: stm32: change PM callbacks to "_noirq()" Valentin Caron (3): rtc: stm32: don't print an error on probe deferral rtc: stm32: fix unnecessary parentheses rtc: stm32: fix issues of stm32_rtc_valid_alrm function drivers/rtc/rtc-stm32.c | 138 +++++++++++++++++++++++++--------------- 1 file changed, 85 insertions(+), 53 deletions(-)