From patchwork Fri Oct 28 22:55:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 13024379 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07D9AECAAA1 for ; Fri, 28 Oct 2022 22:55:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230220AbiJ1Wzl (ORCPT ); Fri, 28 Oct 2022 18:55:41 -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 Precedence: bulk List-ID: X-Mailing-List: linux-mips@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(-)