From patchwork Mon Apr 17 15:48:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Esteban Blanc X-Patchwork-Id: 13214302 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 2F5FDC77B7C for ; Mon, 17 Apr 2023 15:49:43 +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=T2Ratjb9hGBQKz42bUhUiOyNwYPjAIebpOKZ1TWx3iY=; b=ie51waZGMpL9jT 2D4NtQ6l516lcwzYqWQwQr0/0pQrf523jjRq02Q8xTpWt5LG0WPGoUcjDEg6l34rUgE1HPDrZKwe5 7dlj9WDLiTmzme3RPjgpTejxSB+yyt0fnRMcP4pID0zniWkinGQIh8vcgPo2ek+9WWJ661NjvBEBP O/7zARzNlnMvXkEjkeacVF/pOvKoLG8IPeyqXQHIm0Pu6toqz7REZGaAPam1V0C32/C/55w51T1QO oX025rhbC0F+IjDA3tscVxdjcgTvbeeMDVuZpla23nnhmvZ30DrIWNsVVn7zKERjN2UUtfuyU1I5W nakT8MBcH+/5e1EFOuDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1poR60-00Gwk3-0Z; Mon, 17 Apr 2023 15:48:48 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1poR5r-00Gwg4-0s for linux-arm-kernel@lists.infradead.org; Mon, 17 Apr 2023 15:48:42 +0000 Received: by mail-wm1-x32f.google.com with SMTP id gw13so14042139wmb.3 for ; Mon, 17 Apr 2023 08:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1681746514; x=1684338514; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KfS8K8m8DfdcF5M3jH2xa2Wa/kofGwNcdDqzwQSaKn0=; b=yxKhTchBTArFTGjQvZbOjnkh4WbWkgvGcgvPSUZTTDLkprYHylR1zF1gXY2jM2L3wB wxP4G0PosWshyQF+oLQi7PlXzRWU9JpczY/RWgotiS49XF4nx5n/v8P2Z0Z99LhzV5vj 4obKhk2NZxwsEbcpICVTiIFpwjowtKCvjAnw/QmqC8wkiJnppeIAKp5FI3Cu2q4Qfo2L oaaugiySZY+gioIBE8KBZer8lKvcYXOWxacfLvi7IY7M+q3inYUtxxILrddzydhXweee rslg0af193/QVrsiMBAgFXBYcsQ3IxXHNv3aj61LeVKG05kEblNhZU409yKZmMRuN1Qg BIiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681746514; x=1684338514; 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=KfS8K8m8DfdcF5M3jH2xa2Wa/kofGwNcdDqzwQSaKn0=; b=NxjKyHCj4200RKgw6leMXXrML8lUpAssPq/ADmQVRU8q1yd+UEpj2irCStdMKKM1Ew Lx3nPSdn5AcTWDI3ZxHQS+ykXImNifzvLcFaRTSCrJbp8ApGEWXxMxrF0isRDrC68bLL 1Mmtl69Rk18AhEy7MvOP9EYBw9fTtaKbT8LVQWTb5xmb0qqrySe+osMO+ysV52zefqZ6 JghRAYojf9fpWRsaL/PFVrVlm6uP9HMFnAt/y9/rGte9gX/BB/cRKGNtRD4HVLBjMaZo wKD1ITUi416erTH88dmxSz906d5BXSLFc8cGaiUrOMyPXhMThJ/1ee4zoCgbbwvkCQM8 aLZw== X-Gm-Message-State: AAQBX9c+ZxaXmkI/PB32yXTaCJ6wcD6BVc8eV/oGxswvwniPwx/T8le0 Wt2doXID7o2oYJpYZLy9LFGvaQ== X-Google-Smtp-Source: AKy350aFxi8d7waj6AjNIWNw5InKNtq0YnPz1uAR1GbP8k55NQ/sqJJfxDvxDRSraNuQKEC/AFXuNg== X-Received: by 2002:a1c:4b04:0:b0:3ee:282d:1016 with SMTP id y4-20020a1c4b04000000b003ee282d1016mr11130671wma.25.1681746514541; Mon, 17 Apr 2023 08:48:34 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:28d:66d0:5888:afdf:3f10:3b2b]) by smtp.gmail.com with ESMTPSA id v5-20020a05600c444500b003f09cda253esm16189932wmn.34.2023.04.17.08.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 08:48:34 -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, sterzik@ti.com, u-kumar1@ti.com, eblanc@baylibre.com, jneanne@baylibre.com, jpanis@baylibre.com, aseketeli@baylibre.com Subject: [PATCH v3 0/6] Add TPS6594 PMIC support on several boards Date: Mon, 17 Apr 2023 17:48:26 +0200 Message-Id: <20230417154832.216774-1-eblanc@baylibre.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230417_084839_304295_7DB017A9 X-CRM114-Status: GOOD ( 11.97 ) 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 since 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 Changes since 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/ Apelete Seketeli (1): arm64: dts: ti: k3-j784s4-evm: Fix wakeup gpio pinmux interrupt range 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 | 175 ++++++++++++++ arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 171 ++++++++++++++ arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 213 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 116 ++++++++++ .../boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 2 +- 6 files changed, 771 insertions(+), 1 deletion(-)