Message ID | 20231208114919.3429562-1-n-francis@ti.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5397475vqy; Fri, 8 Dec 2023 03:49:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6shbSwdNkCfsYVOXYSYHf/GVCblB775t52ViQr8py9W5qQFTcGI1zco9fbklXbNRWohho X-Received: by 2002:a17:903:648:b0:1d0:559e:57e8 with SMTP id kh8-20020a170903064800b001d0559e57e8mr3459561plb.38.1702036192108; Fri, 08 Dec 2023 03:49:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702036192; cv=none; d=google.com; s=arc-20160816; b=uhXCyFQ2a89vFI3ljhmXVSGoGbPXkAHkoSybgDNmjWOaFViiF5PSYA6aDw59wl2QjL EsoaGKFR3BtRo0o1bNMsTlmElmunkrsyU4XKWX6rQm/OzSr0oBTq4QO5YkV+eYzggpG3 R6frvNZK6pDvEv2gAaccJR96u6bpBwk8Pc8KS26ErvKxwm8IoI4XUT66f2H7mRs45GoJ BVXHGAbQt4NasffnHnMZ57UAk9T7ParjolCNtMvfkHIgJ/72WmBYuyUUbA15yQeBQs16 mDDySkak7Fuy5LJ8ahk0xivsSGFsYhW/xQ/mXcQP5PUbv7q3/V2hqJvQkP5sR1n02fpe Buxw== 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=V1sOL2g2vHjN3p1fnKzrsPRmlwW1z1Hge3wOiS/p38E=; fh=ixlzbOwtdQLaMBLxT6l8ojfZdjKBSwk3Blf1u+Qy4VY=; b=lYgyWOj62SzR669amhE+Vr5X5caY5pzoP4CoSlcZvzTF7ssNjisX9MRhsxXni4SJQC N8mHtvC3PVr9C6IPPcB2O9h0GMOBV00L0EuG3FJogsyja/0+zRFgZvGONbmTniNSRTdk cSzK1WVPK3vAVckS7EC0hCAJ0npkGX9VtBOE0OuuvZ+7WXpQEdTOEtOzOh+6Ytnsq02s 4Aqz4M3aO3lfBYzIxdMiUlizNotLyhde4woaskB/Ddm1sYYKp15Xt3CI45Bo0JQQPYvN MFjXnHUZmj2JkLRr2BNbZCvS7W+mY+zwADEPdMGKhLvKYFWSx0sw/uh3bC7fMWH1ZeOa ujhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nxL7AAuE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id h9-20020a170902b94900b001cf85115f38si1517462pls.72.2023.12.08.03.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 03:49:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nxL7AAuE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 39D0C8087539; Fri, 8 Dec 2023 03:49:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233477AbjLHLtf (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 8 Dec 2023 06:49:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232873AbjLHLte (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 8 Dec 2023 06:49:34 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B8D51735; Fri, 8 Dec 2023 03:49:40 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B8BnPLP031731; Fri, 8 Dec 2023 05:49:25 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702036165; bh=V1sOL2g2vHjN3p1fnKzrsPRmlwW1z1Hge3wOiS/p38E=; h=From:To:CC:Subject:Date; b=nxL7AAuEqs8e3c/dvhpi648lScgr+jlaLHMt2FcWektaBfdbB/ImTnq5eBdklmoYc Xe51koz5jAkGz7PQFVpfD5/wvL7NA4T6cZBNbjcZnD8VywlnBAETuE7CLDKEaUXOZQ +uiP0jgH64Xhk3NLUHGoO7yFtxrhVI6NB3DWR1e8= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B8BnP5v024084 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 8 Dec 2023 05:49:25 -0600 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 8 Dec 2023 05:49:25 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE112.ent.ti.com (157.170.170.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; Fri, 8 Dec 2023 05:49:25 -0600 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [172.24.227.36]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B8BnJPL085375; Fri, 8 Dec 2023 05:49:20 -0600 From: Neha Malcom Francis <n-francis@ti.com> To: <nm@ti.com>, <vigneshr@ti.com>, <kristo@kernel.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <a-nandan@ti.com> CC: <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <eblanc@baylibre.com>, <jneanne@baylibre.com>, <aseketeli@baylibre.com>, <jpanis@baylibre.com>, <u-kumar1@ti.com>, <j-luthra@ti.com>, <vaishnav.a@ti.com>, <hnagalla@ti.com>, <devarsht@ti.com>, <n-francis@ti.com> Subject: [PATCH v10 0/7] Add TPS6594 PMIC support on several boards Date: Fri, 8 Dec 2023 17:19:12 +0530 Message-ID: <20231208114919.3429562-1-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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]); Fri, 08 Dec 2023 03:49:45 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784714302168624683 X-GMAIL-MSGID: 1784714302168624683 |
Series |
Add TPS6594 PMIC support on several boards
|
|
Message
Neha Malcom Francis
Dec. 8, 2023, 11:49 a.m. UTC
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 series 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 - J784S4XEVM Link: https://www.ti.com/tool/J784S4XEVM - SK-AM69 Link: https://www.ti.com/tool/SK-AM69 - SK-TDA4VM (J721E-SK) Link: https://www.ti.com/tool/SK-TDA4VM Boot Logs with required config (DONOTMERGE patch) enabled: https://gist.github.com/nehamalcom/f47fcd6183360ed8a146c9ba456202c3 Boot Logs without config enabled: https://gist.github.com/nehamalcom/58217b100e614ae55726f314e02b5001 --- Changes from v9: https://lore.kernel.org/all/20231205093439.2298296-1-n-francis@ti.com/ - moved from wkup_pmx1 to wkup_pmx2 (Udit) - changed boot logs for AM68-SK to the latest one - removed Tested-by tag for AM68-SK - modified order of properties in line with latest kernel DTS conventions Changes from v8: https://lore.kernel.org/all/20231128055230.342547-4-n-francis@ti.com/ - added bootph-pre-ram to AVS regulator (Udit) - keeping boot logs and Tested-by tags the same (no effect to kernel) Changes from v7: https://lore.kernel.org/all/20231122104513.2335757-1-n-francis@ti.com/ - (New Patches) Add support for SK boards that have TPS6594xx PMIC present (J721E-SK and AM69-SK) (Nishanth) - Add DONOTMERGE defconfig patch to show test logs Changes from v6: https://lore.kernel.org/all/20230810-tps6594-v6-0-2b2e2399e2ef@ti.com/ - Modify patch series to include only patches not merged (J7) - Add boot logs for all affected boards 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. 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 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 Neha Malcom Francis (3): arm64: dts: ti: k3-am69-sk: Add support for TPS6594 PMIC arm64: dts: ti: k3-j721e-sk: Add TPS6594 family PMICs DONOTMERGE: arm64: defconfig: Enable TPS6594 PMIC for J7 devices arch/arm64/boot/dts/ti/k3-am69-sk.dts | 94 +++++++++ arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 153 +++++++++++++++ arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 151 +++++++++++++++ arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 160 +++++++++++++++ arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 193 +++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 102 ++++++++++ arch/arm64/configs/defconfig | 2 +- 7 files changed, 854 insertions(+), 1 deletion(-)
Comments
Thanks Neha On 12/8/2023 5:19 PM, Neha Malcom Francis wrote: > 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 series 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 > - J784S4XEVM > Link: https://www.ti.com/tool/J784S4XEVM > - SK-AM69 > Link: https://www.ti.com/tool/SK-AM69 > - SK-TDA4VM (J721E-SK) > Link: https://www.ti.com/tool/SK-TDA4VM > > Boot Logs with required config (DONOTMERGE patch) enabled: > https://gist.github.com/nehamalcom/f47fcd6183360ed8a146c9ba456202c3 > Boot Logs without config enabled: > https://gist.github.com/nehamalcom/58217b100e614ae55726f314e02b5001 For series Reviewed-by: Udit Kumar <u-kumar1@ti.com> > --- > Changes from v9: > https://lore.kernel.org/all/20231205093439.2298296-1-n-francis@ti.com/ > - moved from wkup_pmx1 to wkup_pmx2 (Udit) > - changed boot logs for AM68-SK to the latest one > - removed Tested-by tag for AM68-SK > - modified order of properties in line with latest kernel DTS > conventions > > Changes from v8: > https://lore.kernel.org/all/20231128055230.342547-4-n-francis@ti.com/ > - added bootph-pre-ram to AVS regulator (Udit) > - keeping boot logs and Tested-by tags the same (no effect to kernel) > > Changes from v7: > https://lore.kernel.org/all/20231122104513.2335757-1-n-francis@ti.com/ > - (New Patches) Add support for SK boards that have TPS6594xx PMIC > present (J721E-SK and AM69-SK) (Nishanth) > - Add DONOTMERGE defconfig patch to show test logs > > Changes from v6: > https://lore.kernel.org/all/20230810-tps6594-v6-0-2b2e2399e2ef@ti.com/ > - Modify patch series to include only patches not merged (J7) > - Add boot logs for all affected boards > > 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. > > 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 > > 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 > > Neha Malcom Francis (3): > arm64: dts: ti: k3-am69-sk: Add support for TPS6594 PMIC > arm64: dts: ti: k3-j721e-sk: Add TPS6594 family PMICs > DONOTMERGE: arm64: defconfig: Enable TPS6594 PMIC for J7 devices > > arch/arm64/boot/dts/ti/k3-am69-sk.dts | 94 +++++++++ > arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 153 +++++++++++++++ > arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 151 +++++++++++++++ > arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 160 +++++++++++++++ > arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 193 +++++++++++++++++++ > arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 102 ++++++++++ > arch/arm64/configs/defconfig | 2 +- > 7 files changed, 854 insertions(+), 1 deletion(-) >
Hi Neha Malcom Francis, On Fri, 08 Dec 2023 17:19:12 +0530, Neha Malcom Francis wrote: > 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 series 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 > - J784S4XEVM > Link: https://www.ti.com/tool/J784S4XEVM > - SK-AM69 > Link: https://www.ti.com/tool/SK-AM69 > - SK-TDA4VM (J721E-SK) > Link: https://www.ti.com/tool/SK-TDA4VM > > [...] I have applied the following to branch ti-k3-dts-next on [1]. Thank you! [1/7] arm64: dts: ti: k3-j7200-som-p0: Add TP6594 family PMICs commit: 08aaf5f02e9d593cf6b2dc7da9c568e19199e00e [2/7] arm64: dts: ti: k3-j721s2-som-p0: Add TP6594 family PMICs commit: f4eb94b898f5b708d024a70fd544cdd76537bcf9 [3/7] arm64: dts: ti: k3-j721e-som-p0: Add TP6594 family PMICs commit: 46774eddde0ce499621cc8887106bcb449856e1f [4/7] arm64: dts: ti: k3-j784s4-evm: Add support for TPS6594 PMIC commit: 3044f0184089e910f4da923bf64dca60ff47a117 [5/7] arm64: dts: ti: k3-am69-sk: Add support for TPS6594 PMIC commit: 865a1593bf99e1b3d4ffa6182919429694b17a36 [6/7] arm64: dts: ti: k3-j721e-sk: Add TPS6594 family PMICs commit: b808cef0be467318d862f87b64d7eddde6906ba3 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