Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3097702rwi; Fri, 28 Oct 2022 16:00:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4UZZvMPJP9GItRiIAjWGYLDFE8jhL0RUxlr0ZAy6j1PIVmi9Iqwx0q5x4WDrkiVVVsxZWB X-Received: by 2002:a05:6402:2751:b0:443:d90a:43d4 with SMTP id z17-20020a056402275100b00443d90a43d4mr1729736edd.368.1666998059296; Fri, 28 Oct 2022 16:00:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666998059; cv=none; d=google.com; s=arc-20160816; b=nX1h+A99EzxtadZZhKVamOIKvJdrh+KqoE6CSoYMd7EP2T58H9RLmCOZZKPzTICP5l y+1Wl3DY2ZtAoF1JKDvTYEBo3y0ok7+4MPlpWvXhZH6zs45eAT+USpJbRFJ2XBhk9bu1 HhpSCEoMCI+GWWjuhbxJXkmg5iotEHwBdvlGn3L5o4B3BcrxkkQ8YdyiH8rdNOPy86sK H4TH2mNaCrVi7nD/S79wq8AIT+7XKQmSYZpcvoLoc4VECn2zIOSWVHttlNMVxPbxT0aV O9BPdL1e7xwMB8YLeNR61/TR9mJvuHZg0BWpsNCinvR/mCBsfmVZLcnWcm8yzYwDa8Pm 7ICg== 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=7rlLnd7xNWQad1M+asDuys3euM61zFqauDXbafni6hw=; b=sviUt1G7ghae5d4vECq9HJFgvTqOccW3m0BGg4hUjDs3BFiEuJjFjEva4AA2TmhN+e clKaY5k25jPGx0nMI73wr3xFR3hbG7fEOUAQwHjrlPUoXmwEkpDE0L6+5aRi9l9MKx05 06kcDdTSmefM7zDbAqD8C3iIA2IpJuR76TAh8PZiMQqRTQIkrjY9YzkNjWd8TfZyguwt MaA4tknL75+xu/SkrsDA7+M9jx7fZa6VIjp5CUYmS5bRyLgM+mlVYe0JZDa6WyRjs6s+ 5nBhlg5lzk6SGT3gmxe+X4IfLaIBLcDQ03HssnphtycfCAt81rZ486PzUu9psTAKG4Bg wssg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=Ar0nt1tO; 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=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w6-20020a05640234c600b0045c13366de4si6447617edc.572.2022.10.28.16.00.34; Fri, 28 Oct 2022 16:00:59 -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=@crapouillou.net header.s=mail header.b=Ar0nt1tO; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230232AbiJ1Wzn (ORCPT + 99 others); Fri, 28 Oct 2022 18:55:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230196AbiJ1Wzf (ORCPT ); Fri, 28 Oct 2022 18:55:35 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DA23171CC3; Fri, 28 Oct 2022 15:55:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1666997726; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=7rlLnd7xNWQad1M+asDuys3euM61zFqauDXbafni6hw=; b=Ar0nt1tO9pfYoUUqueO7Exx2jkrZsuCoDkr479Zdw66/HVlzo7fda9WGLLzA018o9Lufk3 RDRDxNhCRHNPAnEHs8nZfp0jOZMQIRD4vnKwdN8R5JNpNS482AtGI61EREZsRw8/LT4NNW TbWP3wq+7Itna/nnb4zJ2QN5L2ZSP3A= From: Paul Cercueil To: Alessandro Zummo , Alexandre Belloni , Rob Herring , Krzysztof Kozlowski Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, od@opendingux.net, Paul Cercueil Subject: [PATCH v2 0/4] rtc: ingenic: various updates Date: Fri, 28 Oct 2022 23:55:15 +0100 Message-Id: <20221028225519.89210-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS 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 Hi Alessandro / Alexandre, Here's the V2 of a previous patchset I sent back in April. Patch [1/4] was updated with Krzysztof's feedback. Patches 2-4 are unmodified from V1 as they didn't receive any feedback. Patch 4 is RFC; I *think* it works, but I don't know how to test it. V1 had a 5th patch which would reset the scratchpad register on power loss, but was dropped following upstream feedback. Cheers, - Paul Paul Cercueil (4): dt-bindings: rtc: ingenic: Rework compatible strings and add #clock-cells rtc: jz4740: Use readl_poll_timeout rtc: jz4740: Register clock provider for the CLK32K pin rtc: jz4740: Support for fine-tuning the RTC clock .../devicetree/bindings/rtc/ingenic,rtc.yaml | 32 ++++- drivers/rtc/rtc-jz4740.c | 113 +++++++++++++++--- 2 files changed, 129 insertions(+), 16 deletions(-) -- 2.35.1