From patchwork Wed Aug 9 19:46:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13348425 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 23FBFC001B0 for ; Wed, 9 Aug 2023 19:47:33 +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:CC:To:MIME-Version:Message-ID:Date: Subject: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=42xOIyGWSo3RLVuAH4D2ayq795LkARevQLZBXa/LlLI=; b=2hECbF9qhuYz/c L++NHDaS6yfzaODkMw1agpY9HERoEcEoDPYioDLGsbfsOU8stxeEHXNXonKjUCHruq5rd3VufgZmP yC231+yXdFzUwUNF9ZHdxmOmOUoRbWDKKAwxSJUeqLcLnsPPB46O6+rCAZRt0RzjML+5DZfFQjqQL PzfKdvdL8RXeScMBo3UeV1O7D7PGRsDvkcl+EUDZYqVydwKlWSaSHiUxUksBOWBVYpICC2/Uj/bYv yEUxvf2uL5mJmpvNtxziciGesfXvs41WPB9SvVeoviEXmHOZcCqFe6cOUza1kISImSIZA3imsRoqZ Vi78YAI43n2K7Rt49UFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTp9C-005lCC-2h; Wed, 09 Aug 2023 19:47:10 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qTp97-005l8G-2h for linux-arm-kernel@lists.infradead.org; Wed, 09 Aug 2023 19:47:07 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 379JkuoG011894; Wed, 9 Aug 2023 14:46:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691610417; bh=MsZHTTVuQCUoh95X071bxNmfsKCpVWc+nfv5ohY/Lnk=; h=From:Subject:Date:To:CC; b=j/zWLdcfj4UR/PzHgbDXX+a09j2JvDjuwJJ5gnLnm4GZ6/cNciWSrFJe0gya6ZsVn HUR7xRXSVVRRV4lGqb1Yh0BiGFdmv18tcBtQy24t7VgjbR5P/HzKNtCsNH/MZNoXUC BXNuaj6GRex/5tN0OSnDriJv3M3pKuChGguDOkt4= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 379JkuIB069528 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Aug 2023 14:46:56 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 9 Aug 2023 14:46:55 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 9 Aug 2023 14:46:55 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 379Jks8Y065101; Wed, 9 Aug 2023 14:46:55 -0500 From: Jai Luthra Subject: [PATCH v6 0/7] Add TPS6594 PMIC support on several boards Date: Thu, 10 Aug 2023 01:16:18 +0530 Message-ID: <20230810-tps6594-v6-0-2b2e2399e2ef@ti.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAArt02QC/2WOywqDMBQFf0WybuRqzMOu/I/iItFrDaiRJEhF/ PdGN110OXDOMAcJ6C0G8swO4nGzwbolgXhkpBv18kZq+8SkhJKBgprGNQheVxQrDoZLplAIkta rx8F+btOrTTx4N9M4etS/vyxlwaAGlRcguKAFRTPppWuM3idrPOadmy/ZaEN0fr+rNn4p/wM2T oFWig896wUTEppo7397nucXjLV4J9gAAAA= To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Apurva Nandan CC: , , , Esteban Blanc , , , , , , Vaishnav Achath , Hari Nagalla , Devarsh Thakkar X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=3820; i=j-luthra@ti.com; h=from:subject:message-id; bh=01aLfxD9vioUKGZ7tBuEkxohVI4kIHTM2e1ZUKbBmhA=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBk0+0sBLzyGqiUO61Jg6/RXCPB7GlvbJ9dfBPfG 7vFDotPKICJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZNPtLAAKCRBD3pH5JJpx RZhpD/987QU6KKvAaHPFSgSbTi++OCq6yF2Pdq/6+41FDJyN50e2VJm6M/kUaU1M+drl9sacQiT Si/V7SiGELvVi1DkiReAu6ym1nOOyZEVJsJFR3853w9Q1jkVke8zLts31Ru6RDKYTzDwn5cqa0Z E/1AY47uZrEfK5Gdg7dnLPDif7E/y5JMJrcK4PtVvY4yBi8ow8yIYnYyqJn2o9cvALY3q40QXt1 PRwqgKgKM8D3E5sWmk3IHQUnbkw3BQf4tmvlgyJ7M8REFpjR/3uiSXBPr2zfImqZ10ySQsDLMIy tGTi6ETkEAGlwasUe5HaWDO05ouJDoXGMgYEgDh1gphg2sG21bI/1e3NyJk7v8Z0ij0SQtR8XFB PVOMkHozHGzgTMPLIeSbf2tzcPYh3WopDt0xVCNoFwFIAmLKojynrGoWTZNAk6mSzSmbkxeELuZ SPVDqDZ0mBwvVgZY+tnOAGt8w5qm0sY73y87qt94cGTGn/gKrPZ7drzG+cZAJmFY4En4AzoutAK Fo66dqv0LWvAQpehvCMWlr0APgTwwAhtpLdb7pIwfG3xRzCysh6Y4PH7wLtO4m5jD3pH5GF5eiB Jpe7SPYWjzpleJxCjG5Q860ITxVsbw8FBfAog1QdFqVUz0qxaNhR1WYG6dv0gAZw0okskeafPTp MZ8e7yjVUVBS3ZA== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 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-20230809_124705_997329_2EAD4730 X-CRM114-Status: GOOD ( 16.83 ) 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 TPS6594 is a Power Management IC which provides regulators and others features like GPIOs, RTC, watchdog, ESMs (Error Signal Monitor), and PFSM (Pre-configurable Finite State Machine). The SoC and the PMIC can communicate through the I2C or SPI interfaces. TPS6594 is the super-set device while TPS6593 and LP8764 are derivatives. This serie adds device tree nodes for TI TPS6594 PMICs found in the following boards: - J721EXSOMXEVM: Link: https://www.ti.com/tool/J721EXSOMXEVM - J721S2XSOMXEVM: Link: https://www.ti.com/tool/J721S2XSOMXEVM - J7200XSOMXEVM: Link: https://www.ti.com/tool/J7200XSOMXEVM - AM62A-SKEVM: Link: https://www.ti.com/tool/SK-AM62A-LP - J784S4XEVM Link: https://www.ti.com/tool/J784S4XEVM --- Changes from v5: https://lore.kernel.org/all/20230809-tps6594-v5-0-485fd3d63670@ti.com - Range-diff: http://0x0.st/H_fD.diff - Reword the patch fixing interrupt ranges for mcu domain gpio intr, and add Fixes: tag - Also fix interrupt ranges for main domain gpio intr in the same patch - Change pinctrl node names to end in -pins to fix dtbs_check warnings - (New Patch) Enable TPS6594 in defconfig Changes from v4: https://lore.kernel.org/all/20230727130908.10656-1-eblanc@baylibre.com/ - Range-diff: https://0x0.st/H_L7.diff - Rebased on top of linux-next - Fix min voltage on vdd_usb_3v3 regulator (ldo2) on j721e-som - Use 3-hex-digit format for pinctrl values Changes from v3: https://lore.kernel.org/all/20230417154832.216774-1-eblanc@baylibre.com/ - Rebased on top of v6.5-rc1. - Change pinctrl number for irq pin as wkup_pmx0 was split on some boards. - Use already present wkup_i2c0 node instead of creating a new one. Changes from v2: https://lore.kernel.org/lkml/20230414112843.1358067-1-eblanc@baylibre.com/ - Change node name as per Krzysztof review. - Add a fix for the interrupt range of wakeup gpio used by TPS6594 pmic on J784S4. The interruptions of the PMIC were not working before that. - Remove dependencies on other patch series as that was a mistake, see https://lore.kernel.org/lkml/CRYY2V3HJ0CP.96JQ18PLZB3C@burritosblues/ Changes from v1: https://lore.kernel.org/lkml/20230329142948.833800-1-eblanc@baylibre.com/ - Harmonize regulators names across the different boards. - Adjust AVS voltage range. - Remove some outdated comments. - Add PMIC to J784S4 board. - Compatible string modified to match dt-bindings. - Add gpio-controller and gpio-cells properties. --- Apelete Seketeli (1): arm64: dts: ti: k3-j784s4: Fix interrupt ranges for wkup & main gpio Esteban Blanc (2): arm64: dts: ti: k3-j7200-som-p0: Add TP6594 family PMICs arm64: dts: ti: k3-j721s2-som-p0: Add TP6594 family PMICs Jai Luthra (1): arm64: defconfig: Enable TPS6593 PMIC for SK-AM62A Jerome Neanne (2): arm64: dts: ti: k3-j721e-som-p0: Add TP6594 family PMICs arm64: dts: ti: k3-j784s4-evm: Add support for TPS6594 PMIC Julien Panis (1): arm64: dts: ti: k3-am62a7-sk: Add support for TPS6593 PMIC arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 95 +++++++++++ arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 157 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 163 +++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 199 +++++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 104 ++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 2 +- arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 2 +- arch/arm64/configs/defconfig | 1 + 8 files changed, 721 insertions(+), 2 deletions(-) --- base-commit: 21ef7b1e17d039053edaeaf41142423810572741 change-id: 20230809-tps6594-e450b5738e66 Best regards,