From patchwork Wed May 11 00:25:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 12845654 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F46EC433F5 for ; Wed, 11 May 2022 00:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=59UC/TTGZIUpmm6604hz8BHWoIoeVjUxxWMTW9cQMec=; b=yMoQunV1Z28r2t Gg2UVWek2lAwQqjknkkrqq6gDggBZtYARwOfnSohSccrq3K2AjRL4auA6XGFR5rbAtRYnT3Ebj18a L6fsUyR9RoFDcXqO9idMXDR9viop5VhUWSHD6iO/dYvrty77UXjIHZudXuDnw1QOx5ype/I73xvId CNiFAvSqPwyiLtQVAufMUBhTbbsm10AWdS/EcAPkDrYLm2Mf60NBjrNLaKBFlbE5i9QS7Mbs2TJHs wJyF893GhRKniE2kP8vY5DzCXo2z/n4ZBdaiUj5kdhSj6ikjk4c0HWcg5sBkB2cO6CjS1ypvHA8nn K3c0twNPlt7uvQV7Zzbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noaBC-004Va5-Ss; Wed, 11 May 2022 00:26:14 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noaB9-004VYl-Hb for linux-arm-kernel@lists.infradead.org; Wed, 11 May 2022 00:26:13 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 24B0Q2oF088303; Tue, 10 May 2022 19:26:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1652228762; bh=r+u+xNyw/SIOrcRn/x4HsI3UIutpES3API0Xd2YG4N0=; h=From:To:CC:Subject:Date; b=qju2WNU5uyOIWzk4jWq4qJpImFpaNa2FUwp3sTg252GTX1KMLbLlPS2QWDdXBbQ8J 2iayAPKXHjilADVd66s7XZTgLst77J0NdOHrJftgzkmfJ0+vPTLauvjKWZpVolMSVx 7LtEpk8W2JPW920wnViEfy/eBFOD6rjpxuYWMv0E= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 24B0Q2FP016478 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 10 May 2022 19:26:02 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 10 May 2022 19:26:01 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE110.ent.ti.com (157.170.170.21) 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; Tue, 10 May 2022 19:26:01 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 24B0Q1uI028296; Tue, 10 May 2022 19:26:01 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Alexandre Belloni , Alessandro Zummo CC: , , , , Vignesh Raghavendra , Andrew Davis , Nishanth Menon Subject: [PATCH V2 0/2] rtc: Introduce rtc-ti-k3 Date: Tue, 10 May 2022 19:25:57 -0500 Message-ID: <20220511002600.27964-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_172611_676976_251A0C14 X-CRM114-Status: GOOD ( 10.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, 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/df536a01c3c14cf8b6c809aec8972339 Changes since V1: * bindings updated for review comments * driver modified to move to regmap fields and review comments incorporated. 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 | 61 ++ drivers/rtc/Kconfig | 11 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-ti-k3.c | 688 ++++++++++++++++++ 4 files changed, 761 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/ti,k3-rtc.yaml create mode 100644 drivers/rtc/rtc-ti-k3.c