Message ID | 20230914093027.3901602-1-w.egorov@phytec.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp226890vqi; Thu, 14 Sep 2023 02:43:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFRJSOy3mXIt6d4PeVKaIpVE9dp2ZKxTbAHTp/+1ZuEzWAEuJdpZBPBqrK3XeaAXb42d2X4 X-Received: by 2002:a05:6a21:a5a2:b0:137:4fd0:e2e6 with SMTP id gd34-20020a056a21a5a200b001374fd0e2e6mr5831204pzc.6.1694684606954; Thu, 14 Sep 2023 02:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694684606; cv=none; d=google.com; s=arc-20160816; b=NvFG0tJi8rwVTtoGVk81I73h82mwZsTdJ3p3fZc+WSD0jU9riMYEOIQZ5h66B2REUG s+3CsCWY48F7w2RAjaGhFF20y0poDfDhWvBtMQ4N1nQQlgDseMj1MWH+9fQ0D0/Tlzie BU2VirSr0K1FOcBznMCdJ9xAIETayCVthL+45IM4Rsjh64zpVmKVakVYKYsggtk0sWfk hJO8NedoYu4ofhPdKX3dLOOv0mWR/qI4JTaJJkkoB0ocUHN7PM3tAwZvfwC3Trzj6Hn3 3vpdKPrCSAxeC8fghKJQIYxcfkJ7XRALToaY9GTcj974f1opanMrvsC5IKCV7ddikiyI E3UA== 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=9n700PxTLrTJpejSjq9y0dHK85GJWnORvsncKn6fXv0=; fh=c+K/6+Ppf4sJD7zqv9MFGoyvs/YW4pAu/HKPo1HSu6Q=; b=SmVBhexZS4PM56D4KapsOxBKuNr2QyKBXaXGJ5YhzgsO3t7hWh0K78YrZfF1VNLhkd ZgRn+JmVi854r+QvE6iQTXIF7l6IHjxCA5RL9RyRZerkz82nJLvXFiw/dRJe5txjLY1Y y58RBRz6nJfgct9U1PmRonQay3mjxHEwAaXSDUj5UMuLU2aNcotlaJKdovxjUv/G84fk 0ZEvi+lcLw2we3I8UttaU+lccEQ8fnf5jBxNqMX5cCvnl7Y69rvLqDgzGqUNYgZUF9TC j0Z0aW7+bR6cBvQ80LBI+EkmuutaqTs+Uln/hye1RLmw3swfiblUXCtP3B2ohcXR453i RBVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@phytec.de header.s=a4 header.b=lpkXwOUT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id j2-20020a17090a588200b00263d0beafafsi3260425pji.181.2023.09.14.02.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:43:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=fail header.i=@phytec.de header.s=a4 header.b=lpkXwOUT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id BA1918098EA2; Thu, 14 Sep 2023 02:31:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237039AbjINJa4 (ORCPT <rfc822;chrisfriedt@gmail.com> + 35 others); Thu, 14 Sep 2023 05:30:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236984AbjINJax (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 14 Sep 2023 05:30:53 -0400 Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32B3B1BFB for <linux-kernel@vger.kernel.org>; Thu, 14 Sep 2023 02:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1694683846; x=1697275846; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BikrMtESuNp+DgxwHDrljdpsjzQ302FVUhgX7muuOUk=; b=lpkXwOUT0ck26Q2lbH75Gdhzvt+BV2lyGyqcC6WEEGpNfk2Yi7tAk2i8kJYN2YCR Hs62PkMQrQ5ot15wAwoMXnvQNV7sMJzvJkHCHbbg/tKuQFqBU+4q1H88ogyTQHeJ V+by2xr+dXJztt4bJGsLHlKOQTwRCKB2rFJp1FMGK0g=; X-AuditID: ac14000a-6e25770000001e37-f1-6502d2c626ef Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id B9.F2.07735.6C2D2056; Thu, 14 Sep 2023 11:30:46 +0200 (CEST) Received: from augenblix2.phytec.de (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Thu, 14 Sep 2023 11:30:46 +0200 From: Wadim Egorov <w.egorov@phytec.de> To: <nm@ti.com>, <vigneshr@ti.com>, <kristo@kernel.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org> CC: <upstream@lists.phytec.de>, <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH] arm64: dts: ti: phycore-am64: Add RTC interrupt pin Date: Thu, 14 Sep 2023 11:30:27 +0200 Message-ID: <20230914093027.3901602-1-w.egorov@phytec.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsWyRpKBR/fYJaZUg9ZFShZr9p5jsph/5Byr xfLPs9kt+l48ZLbY9Pgaq8XlXXPYLN78OMtk0br3CLtF9zt1i/9nP7A7cHlsWtXJ5nHn2h42 j81L6j36u1tYPY7f2M7k8XmTXABbFJdNSmpOZllqkb5dAlfGiXWn2QvecFbcPPeQvYGxj6OL kZNDQsBE4uXRTqYuRi4OIYElTBLn19xghXCeMErcmXCXDaSKTUBd4s6Gb2AJEYFuRomTB5Yx gzjMAm2MEof2rmEEqRIWcJFY9fYNK4jNIqAqceH3axYQm1fAUuLz01NsEPvkJWZe+s4OEReU ODnzCVgNM1C8eetsZghbQuLgixdgthBQ/MWl5SwwvdPOvWaGsEMljmxazTSBUWAWklGzkIya hWTUAkbmVYxCuZnJ2alFmdl6BRmVJanJeimpmxhBkSDCwLWDsW+OxyFGJg7GQ4wSHMxKIrxs tkypQrwpiZVVqUX58UWlOanFhxilOViUxHnv9zAlCgmkJ5akZqemFqQWwWSZODilGhitpIKv lzAErJdyeXFTJPrhhM0lBSeNPXZM8FT35wxa4dvMe9NturTfJN9zej8v3/At5V8ZkSl/wL+O 8UxwdEz3HKUuZQ0lvQyR0zMF/9k+tsz738Q968XMrM1OVfZ9hYdCuRsXPD0gJMSz4iTLXNfn tXVWB/+90lv4Xp5Z5dXc7+ZZUwq/pyixFGckGmoxFxUnAgDh8L4rcgIAAA== Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:31:05 -0700 (PDT) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777005606334194894 X-GMAIL-MSGID: 1777005606334194894 |
Series |
arm64: dts: ti: phycore-am64: Add RTC interrupt pin
|
|
Commit Message
Wadim Egorov
Sept. 14, 2023, 9:30 a.m. UTC
Wth commit 16b26f602758 ("rtc: rv3028: Use IRQ flags obtained from device
tree if available") we can now use the interrupt pin of the RTC.
Let's add interrupt pin definitions to the SoM RTC.
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
---
arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
Comments
Hi Wadim Egorov, On Thu, 14 Sep 2023 11:30:27 +0200, Wadim Egorov wrote: > Wth commit 16b26f602758 ("rtc: rv3028: Use IRQ flags obtained from device > tree if available") we can now use the interrupt pin of the RTC. > Let's add interrupt pin definitions to the SoM RTC. > > I have applied the following to branch ti-k3-dts-next on [1]. Thank you! [1/1] arm64: dts: ti: phycore-am64: Add RTC interrupt pin commit: a1cd710f56c145bc7e7fc2bfbe332d944d5338cd All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. [1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git -- Vignesh
diff --git a/arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi b/arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi index 1c2c8f0daca9..f87f09d83c95 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi @@ -126,6 +126,12 @@ AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* (M17) OSPI0_D7 */ AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (L19) OSPI0_CSn0 */ >; }; + + rtc_pins_default: rtc-defaults-pins { + pinctrl-single,pins = < + AM64X_IOPAD(0x0278, PIN_INPUT, 7) /* (C19) EXTINTn.GPIO1_70 */ + >; + }; }; &cpsw3g { @@ -177,6 +183,11 @@ eeprom@50 { i2c_som_rtc: rtc@52 { compatible = "microcrystal,rv3028"; reg = <0x52>; + pinctrl-names = "default"; + pinctrl-0 = <&rtc_pins_default>; + interrupt-parent = <&main_gpio1>; + interrupts = <70 IRQ_TYPE_EDGE_FALLING>; + wakeup-source; }; };