Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29404400rwd; Wed, 5 Jul 2023 11:17:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlEUOA3NBzQVlbr5ZOqIldAHEi+zKQwONo+VtD50ZbY+GDRc9rGjojVul7pKSTnsDraTlTM5 X-Received: by 2002:a05:6a00:e84:b0:65e:1d92:c0cc with SMTP id bo4-20020a056a000e8400b0065e1d92c0ccmr3684652pfb.10.1688581073101; Wed, 05 Jul 2023 11:17:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688581073; cv=none; d=google.com; s=arc-20160816; b=hW6VZeTUcKIpXozhzqfwmQumpqa6M50IVp0mPazL4rG9E4LVfYybdj7/xX4Kphr5Uw Up7LkwskxOgMt+8lJq+SxtzWNuXH4VzCcAhevUptTYkIlK92LT7nLpGkwRtUQgZjsXXN IDNYuk5iJfyTh9Xxj1zRY2u/XsVTndITf+lb65cnN7vJu06NkeasWwyNarE9dDW/Nh5N Do7dGtOpN0YjlR2lmIcSaqwWHz5Awixf/myh9G5tz81/Fza56/hFr5yEjAQnm1W0ykK5 6q4TstpUmfde/wcpPuyM7FwTbtgiyImKOCLsQI/b2VEt3FaLyZ1SlYCznn5RmsP/IoLk /IFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YUgd+kLtuoT6+D/S4yEnkLsPb3DToCAxmS/mQp6zeO4=; fh=5pGMV673fZ76hUIw4USzjq+zMK+c1PI7r40jfOQEA90=; b=kv7azwWZDccf7tNjj8Typ9K/bgC7C7OnOmQgvAlK+ZllMr9lJjEMsKjFjkz36F36Wk iRP/w09NOPg5citUWJKiERQ9FmRi9qSJ6bn1+ijp3YH9YwimyYHF8/KNcB/KNTM3NBv2 93efa7ycmiIq00TrVfyx88xwVie+QhKZ7ueTjsFJjy1O0DzSPVVoQ1Fo1YQtw62/qxzd EMocyEr+wl8ulEBYbtsix4ZHvlMwzx+HF/2tc2mWoXJUYP31B7I+XeftmNmfE355I6M3 IYvGkv1pWp7A5lM4VTLmF3/v7JEN+U4RTcZt3laQy11h0uJHm4CpK4bc2j2CxFf/JVd/ Anqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Mjoeysbd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t190-20020a6381c7000000b00524eef20da6si23755450pgd.642.2023.07.05.11.17.40; Wed, 05 Jul 2023 11:17:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Mjoeysbd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232935AbjGERoM (ORCPT + 99 others); Wed, 5 Jul 2023 13:44:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230178AbjGERoL (ORCPT ); Wed, 5 Jul 2023 13:44:11 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B798E18E; Wed, 5 Jul 2023 10:44:10 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 365F3qX0010377; Wed, 5 Jul 2023 19:44:03 +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=YUgd+kLtuoT6+D/S4yEnkLsPb3DToCAxmS/mQp6zeO4=; b=MjoeysbdbysRFmNCxDSaMrC6hSVYitjPEn+kF9lp9LLlRKt97BaJ+/AWH2rM7weXYp5d lopm3QCUUl7U4/wwU3hTTYEDoZrkgyNhVcynqsff/ahfZc6E21RuPxTDjX1NtI2/XM7+ Ygt7LbIbe40QzwJAKqRZJFRkJIJeQ5Q1aA63mopnAl1eEN1KAG/FOqBEr035v9jtUM4P n+cVACaL8Iq29TUgr/KpiNzCMP56G7hNKtNCEuMQZri+3Qtb4WrimCUK+09X3aOEQmm/ GSC/8Pg17UQGzs8XC70VAPLV/Q4exR4DPW63otLEbJCaP21MBnXpI597SOplhRQnS3W2 5Q== 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 3rn7wp2bsb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jul 2023 19:44:03 +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 D8FDE10005E; Wed, 5 Jul 2023 19:44:02 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D0558252250; Wed, 5 Jul 2023 19:44:02 +0200 (CEST) Received: from localhost (10.201.20.168) 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; Wed, 5 Jul 2023 19:44:02 +0200 From: Valentin Caron To: Alexandre Belloni , Alessandro Zummo CC: Alexandre Torgue , Antonio Borneo , Christophe Guibout , Gabriel Fernandez , , , , , Valentin Caron Subject: [PATCH v2 0/7] rtc: stm32: multiple bug fixes and improvements Date: Wed, 5 Jul 2023 19:43:50 +0200 Message-ID: <20230705174357.353616-1-valentin.caron@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.201.20.168] 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.591,FMLib:17.11.176.26 definitions=2023-07-05_09,2023-07-05_01,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,URIBL_BLOCKED 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-kernel@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 Since v1: - Exchange "fix issues of stm32_rtc_valid_alrm" and "fix unnecessary parentheses" patches to optimize this series. 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 issues of stm32_rtc_valid_alrm function rtc: stm32: fix unnecessary parentheses drivers/rtc/rtc-stm32.c | 138 +++++++++++++++++++++++++--------------- 1 file changed, 85 insertions(+), 53 deletions(-) -- 2.25.1