From patchwork Thu Jul 27 13:09:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Esteban Blanc X-Patchwork-Id: 13330092 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 AD73FC0015E for ; Thu, 27 Jul 2023 13:09:46 +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=xCs1OUvOx0zFgvIZnLN3eRb0Obhbt6Y7AzXtOxke+gU=; b=cSzM/ssVnP6dqK XYfNmhPiEmsPTqpmj1I1DRvkjnT5OomfpBhVV4HP59DYvgXiXnRCLFuSI1xNxMlXd0RetqY3D0GdU 6cJJANORgZxoP2OPY1+bHn4NCJS1m7J7uQsXzpR8s5PtIfEZd8B6Hge/N8XZb1KNgsBZX1WK5UZAA Ux45aLz7MR9ux2rPxZCCEVac+rNblKE9GjGDWgHFmWXYxWR9RY+SPy+TQgFPji6I7MSfFRW4AbIH/ vmGnLKPxKY5JyL97IE6g7BY3JDbBkIgoOFS5fOYbE01GR73q1CiqMdV1oqL5YUQoy4Ui7LafHlPEZ YmKEd0RuoKITZa41+iuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qP0k3-00ELjC-2J; Thu, 27 Jul 2023 13:09:19 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qP0jy-00ELb8-1k for linux-arm-kernel@lists.infradead.org; Thu, 27 Jul 2023 13:09:17 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3fb4146e8ceso9854575e9.0 for ; Thu, 27 Jul 2023 06:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1690463350; x=1691068150; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xdr7a1zxIjE41L1aP5DMj9AQCGqisfi4eUcGMyHfM7k=; b=45A1zvucx3H64BF/DJz76ORjDbRhHvf5s5smDZhA/+e+fet4Mx9sqDuRc+1Ryc0sRq jR9TiZvDWclNjO6p2m1uZaDpbD2Xk9xG8AXIfzT9bGG8v2I9MqR1D6H0ANheaFobzSyV 87kMSuEuEL6eG1fwJyIo8Z91qNS7Afhzk7aoPGAu67KaHMeV27AbsEnOa+ctA59U9ik9 YjfLj36yN2syrsbrA5eqKufNLbZ4rHm5n75KOWrAf1ism5DviJ6/PuaYDsqohJ+4uZxK 2e/ytcCa1D+0BxbKnb6/vXhkNeW+iCVfppmgRpWH7vX72/3FT35yZ6/GCyb4LAGGyOHa rY7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690463350; x=1691068150; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xdr7a1zxIjE41L1aP5DMj9AQCGqisfi4eUcGMyHfM7k=; b=LOZpsj6xuMMiKHOPKKLmaVTtCmchh6PYnF1xvyU4w8AxPAC5QgJKQTO0mAyOFlLqWz Z+9iu6KDphsb9+i5BDeIcKQarXo4zwjV2OVH1Yr+NSwTLbp6f9jlfzmqBWtufP1Oozrm XbxR6CFeikvVGh5bTRzJR0mIj6FQprfbxjsKmS05js97qS9ccGp3YcD7pBEoAtN62ucw Ugy6gAHTAFjGIUStRu14q1xhvrzm1qeo9t5bHx9XiBYrySere8Zli+heRXenD3tx2cDA /ywhdZvy5NiSyA02oWYtC5FMTzLhF5gKm1WVjjO3uHfC2H4Ybbd/rIFEX49/TJtr8dEX jr2w== X-Gm-Message-State: ABy/qLZuyLX6wHtBvOHqowj5ViUh9y7fCTQCL27e24LNdB8TtrdLgNLI gEykivvjFTzz2GReKJy/p94jrA== X-Google-Smtp-Source: APBJJlGc9QrVFvmE4C4bkcFYiXoO+u2KC64aURWeVrD2cKlZZ3RNiKRomk/6myFGpH7tU9/39D7l6Q== X-Received: by 2002:a1c:f702:0:b0:3fa:7478:64be with SMTP id v2-20020a1cf702000000b003fa747864bemr1704834wmh.1.1690463349705; Thu, 27 Jul 2023 06:09:09 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:28d:66d0:4512:80d4:6b13:bb70]) by smtp.gmail.com with ESMTPSA id h14-20020a05600c260e00b003fbca942499sm4698042wma.14.2023.07.27.06.09.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 06:09:09 -0700 (PDT) From: Esteban Blanc To: nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, u-kumar1@ti.com, eblanc@baylibre.com, jneanne@baylibre.com, aseketeli@baylibre.com, jpanis@baylibre.com Subject: [PATCH v4 0/6] Add TPS6594 PMIC support on several boards Date: Thu, 27 Jul 2023 15:09:02 +0200 Message-ID: <20230727130908.10656-1-eblanc@baylibre.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230727_060914_657897_24EC5F57 X-CRM114-Status: GOOD ( 13.34 ) 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 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-evm: Fix interrupt ranges for TPS6594 PMIC 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 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 +++++++++ .../boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 2 +- 6 files changed, 719 insertions(+), 1 deletion(-)