Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp995463rdf; Wed, 22 Nov 2023 02:47:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEEl2nO3hPA+QZlX6JGlHylU+Ec5bGy6wwtnE2y2LMFua+1LtBGK5ez9vuq64Qrxbs7xnO6 X-Received: by 2002:a05:6830:3490:b0:6d6:4c54:730c with SMTP id c16-20020a056830349000b006d64c54730cmr2777912otu.24.1700650079615; Wed, 22 Nov 2023 02:47:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700650079; cv=none; d=google.com; s=arc-20160816; b=tAqFwtVqlx+Pq8FZFD3HDPAiJYXQROJdbLlZLNblJyCDOrgWnOGaPbk2ySEs2L/mqN /PqkMmY9g4YARymhpwyFZn32qYRBECKjD3E6Jox/fOHZ5y0Ig7mJacCfurzWAXb+5UCJ JCRai6MLtOuCKjtK6mnCp3WFMq1MYNldRDgdnD/LwShsJNRRn7XrSECLe4qnD3j4GZjf KHIIV/cpZ9zHuqDZLqUD/QSA1Z9euQt0y6Nb0onzyk8SZTMtRhMaPmYD79Dnfc3UIh6h uYcBlKVAIRu0ShCmD8Id5SPWS1aeHmbIJsvmK78ii06OA8s+KlUXW36QlV/tgAGlybG0 Qf5A== 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=e+lEpcGRYl3Tb76nO14RLpG8f70M6EixwdVRMkENcVU=; fh=ixlzbOwtdQLaMBLxT6l8ojfZdjKBSwk3Blf1u+Qy4VY=; b=e/tHhrDfay7P6A8W3569YAEbSES+v3sit3w9C0OLtZcsQ6e4MalQ+5TJxMHq7yKJ1f /ffoUoh81QTaNs1AU5qmZ/U81k9bVfPGdAhzUVEGzHHG69lpI4y+M4MJHoNYGBUMcd6c WwXA3NulinKVfa4CvHdTIpG1IolZ9PC04/japPPbPSn74YyooTMPpo539p6Mq+37LQNH iqr/7XnImCv5wd9iQXovhMfH6q1vldrExGnZSUcN4PSUMHfY+h9qK4P7bkzkseSWwoq0 mBENPX1WSL1SUF2ymCRT5KG5J885STk/ijREW0/h6WBy4V6PP6Z+KfRyUwEjvhTWYFAt oBzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Q7ZOHG1Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id s18-20020a632c12000000b00578c64433c9si12137973pgs.894.2023.11.22.02.47.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 02:47:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Q7ZOHG1Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 929FF80C591B; Wed, 22 Nov 2023 02:46:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343704AbjKVKpo (ORCPT + 99 others); Wed, 22 Nov 2023 05:45:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343693AbjKVKpk (ORCPT ); Wed, 22 Nov 2023 05:45:40 -0500 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08D80198; Wed, 22 Nov 2023 02:45:35 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AMAjJdD127773; Wed, 22 Nov 2023 04:45:19 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700649920; bh=e+lEpcGRYl3Tb76nO14RLpG8f70M6EixwdVRMkENcVU=; h=From:To:CC:Subject:Date; b=Q7ZOHG1Q4yvYA/TxxSMXBNcXzPYCsfczYjP90c3Qx+ZYZmxZqf0kObJWLQpPbVBao NgiKKSN89rvdX0FkMLTNTqv+CQBVvSAqONY2YdJfUhOVhKaE9Ras2IDFcJvGwUH9vn rph0IvZ/q+Us+gmPRvq+Byx50H3bzsl3dcDiX+lM= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AMAjJq8078322 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Nov 2023 04:45:19 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 22 Nov 2023 04:45:19 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE113.ent.ti.com (10.64.6.34) 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, 22 Nov 2023 04:45:19 -0600 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AMAjErt018560; Wed, 22 Nov 2023 04:45:14 -0600 From: Neha Malcom Francis To: , , , , , , CC: , , , , , , , , , , , , Subject: [PATCH v7 0/4] Add TPS6594 PMIC support on several boards Date: Wed, 22 Nov 2023 16:15:09 +0530 Message-ID: <20231122104513.2335757-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=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 02:46:14 -0800 (PST) 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 Boot Logs: https://gist.github.com/nehamalcom/384cf594e37739a34f8a08664830e37a --- 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 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 ++++++++++ 4 files changed, 623 insertions(+) -- 2.34.1