From patchwork Fri May 13 19:44:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 572656 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 CF194C433FE for ; Fri, 13 May 2022 19:45:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359169AbiEMTpX (ORCPT ); Fri, 13 May 2022 15:45:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239033AbiEMTpV (ORCPT ); Fri, 13 May 2022 15:45:21 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B18095047D; Fri, 13 May 2022 12:45:19 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 24DJiwx4111958; Fri, 13 May 2022 14:44:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1652471098; bh=7zqVF9gee06v9UNFxBmER3A1z4bsxkTiqQMCrtf4vA8=; h=From:To:CC:Subject:Date; b=i7yZ4CQAG+1p12YSx86mkqzScBeve/ZNND5u8TjtA88D2jcies3Xw6cQ/974HlVaK xp3ko11y482haz+ajfYJml80xxk28jOgRUBnws8IPIxGk3LLArpTdfRJDOQwYtJsum VqIGtIKmo0ILWtRxEAO/UUhxPwgx3NEfFWVPH2Nw= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 24DJiwiG037671 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 13 May 2022 14:44:58 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 13 May 2022 14:44:58 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 13 May 2022 14:44:58 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 24DJiws4019326; Fri, 13 May 2022 14:44:58 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Alexandre Belloni , Alessandro Zummo CC: , , , , Vignesh Raghavendra , Andrew Davis , Nishanth Menon Subject: [PATCH V3 0/2] rtc: Introduce rtc-ti-k3 Date: Fri, 13 May 2022 14:44:55 -0500 Message-ID: <20220513194457.25942-1-nm@ti.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Folks, Hopefully third time is a charm ;). This series adds support for TI K3 RTC as instantiated on TI's AM625 SoC. Documentation in the current early release version of Technical Reference Manual is incomplete at the moment, but due to be updated later this year. https://www.ti.com/lit/pdf/spruiv7 Testing log can be found here (next-20220509 + additional node for dts): https://gist.github.com/nmenon/2139c57212605bb38a4624ad0523416f Changes since V2: * bindings updated for review comments * Driver updated with fixes for issues caught during system level tests in 5.10 backport testing. * Picked up Andrew's Acked-by V2: https://lore.kernel.org/all/20220511002600.27964-1-nm@ti.com/ V1: https://lore.kernel.org/all/20220412073138.25027-1-nm@ti.com/ Nishanth Menon (2): dt-bindings: rtc: Add TI K3 RTC description rtc: Introduce ti-k3-rtc .../devicetree/bindings/rtc/ti,k3-rtc.yaml | 62 ++ drivers/rtc/Kconfig | 11 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-ti-k3.c | 695 ++++++++++++++++++ 4 files changed, 769 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/ti,k3-rtc.yaml create mode 100644 drivers/rtc/rtc-ti-k3.c