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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4CFC1C77B7C for ; Fri, 12 May 2023 14:40:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 20650862EB; Fri, 12 May 2023 16:39:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20221208.gappssmtp.com header.i=@baylibre-com.20221208.gappssmtp.com header.b="4+przN2b"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 689EC8624D; Fri, 12 May 2023 15:17:54 +0200 (CEST) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8D76F86264 for ; Fri, 12 May 2023 15:17:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aseketeli@baylibre.com Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3f42711865eso40358825e9.0 for ; Fri, 12 May 2023 06:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683897471; x=1686489471; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fG88FT8i5N/Lb6JPdjDjkmL2XWYD6r5VvHxjylyIpcw=; b=4+przN2bFN9buFbpFYta2MXUoAIHzvGIyEUmf+cakZ/ZKpRxZr1Acnwrwul6Lj30k2 3XV9XT4gCQk5grTnQVQSVRp2unp+3thYq0tgQr7lk0AxsMWnTDmkLtc2BTUQlPc7edRg iHY2v2sAf2yxm6nY+OjC1sW//3AZemhQvrvfqsEq8Pkj4Z0RHfzNjHXr2zOPn7KhJ5pm Ja3VaZF2TM48t6/JHEjHb+2KMLcuRZW6yrQkLhQxoqy0tbodVcpWYFeRnkYAY2bV4BKQ fiRfbE5zDKcHn+MVhrJmkHs4u9ll/Tl6evt5BGRKHHcXZe8j0I583lT2X9dPMgNXy8yD DThw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683897471; x=1686489471; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fG88FT8i5N/Lb6JPdjDjkmL2XWYD6r5VvHxjylyIpcw=; b=lE9dSrWMfQC3OtaISS0+++QD6ESBb9wVdMdUIhBzkmTBZUzMESwy0ANHQB4LLQQw9e SOdsa41xN3bKNLjPGhu832Hgt2ZexRjiE8/mZS+DNbnfry83HiiVciLpBy7Vo3Mkl75z VybTNBVFXC/Thh92ypgx8EE3UcxS6JCEBlQemk9Qwq/Sk9RFCELOkB7m7KvGtVa0w2Au WdM2yLkoVKl4DXXT42JdoOiZ+VbzGspG81MmTzNJ3q+45SLYzS7CWjWu6fQchjMuI7iA oLjC+cYHNQHtrU7W8gjQMp0j+ek4wftl8+rgbp/EL0ZoSS1zKqaFCDkSQTc5zNUJoo/i 8eQQ== X-Gm-Message-State: AC+VfDwSV/IHbN2sasYltDllcNJkSQeKbTL/hepDQuMFSwvhBn/5WKxM Xp6vrsrTVeiZKb79+LGnBNZDVnofoeLzABEle7M= X-Google-Smtp-Source: ACHHUZ7nU1hmogPRKPFx7dVMTOuNE0VSGlLlmq6+Kz2suzdrNglWSMUb3m4x0pwp/mmTSSFA8lMoSg== X-Received: by 2002:a05:600c:204e:b0:3f4:ebfb:7414 with SMTP id p14-20020a05600c204e00b003f4ebfb7414mr3767574wmg.1.1683897470755; Fri, 12 May 2023 06:17:50 -0700 (PDT) Received: from FRILM-EL-ITE738.lan ([2001:861:324d:93:9ce7:d81a:148f:69ad]) by smtp.gmail.com with ESMTPSA id n22-20020a7bcbd6000000b003f41bb52834sm19206881wmi.38.2023.05.12.06.17.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 06:17:50 -0700 (PDT) From: Apelete Seketeli To: u-boot@lists.denx.de, a-govindraju@ti.com, vigneshr@ti.com, bb@ti.com, hnagalla@ti.com, jh80.chung@samsung.com, nm@ti.com, sjg@chromium.org, jpanis@baylibre.com, aseketeli@baylibre.com, g-vlaev@ti.com, jneanne@baylibre.com, eblanc@baylibre.com, m-chawdhry@ti.com, vaishnav.a@ti.com, sinthu.raja@ti.com, a-nandan@ti.com, michal.simek@amd.com, j-keerthy@ti.com Cc: sterzik@ti.com, u-kumar1@ti.com, khilman@baylibre.com Subject: [PATCH 05/18] DONOTMERGE: arm: dts: k3-j721e: u-boot overlay for TI tps6594 PMIC Date: Fri, 12 May 2023 15:17:32 +0200 Message-Id: <20230512131745.2321727-6-aseketeli@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230512131745.2321727-1-aseketeli@baylibre.com> References: <20230512131745.2321727-1-aseketeli@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 12 May 2023 16:38:57 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Jerome Neanne j721e board includes 2 instances of TPS6594: - Primary PMIC - Secondary PMIC Add AVS class0 in u-boot SPL. AVS is supported only on CPU rail: vdd_cpu_avs. This rail is supplied by the primary PMIC: tps659413 This rail is supplied by a dual-phased buck: buck12. Other PMICs rails are not AVS capable. Each PMIC includes a Watchdog that is active by default at boot. This would issue a platform reset unless pmic GPIO8 is driven or this is handled by SW. Watchdog driver is not required for identified use of this product. This software disable inside u-boot avoids parasitic wd reset. GPIO8 can then be used for other purpose. Board documentation: Link: https://www.ti.com/tool/J721EXSOMXEVM Signed-off-by: Jerome Neanne Signed-off-by: Apelete Seketeli --- .../k3-j721e-common-proc-board-u-boot.dtsi | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi index 867ec2bb1a..857d0c0529 100644 --- a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi +++ b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi @@ -79,6 +79,14 @@ chipid@43000014 { bootph-pre-ram; }; + + mcu_i2c0: i2c@40b00000 { + status = "okay"; + tps65941_wd: watchdog@12 { + compatible = "ti,tps65941_watchdog"; + reg = <0x12>; + }; + }; }; &secure_proxy_main { @@ -170,6 +178,20 @@ &wkup_i2c0 { bootph-pre-ram; + tps659413: pmic@48 { + bootph-pre-ram; + compatible = "ti,tps659413"; + + regulators { + bootph-pre-ram; + bucka12: buck12 { + bootph-pre-ram; + }; + }; + }; + tps659411: pmic@4c { + compatible = "ti,tps659411"; + }; }; &main_i2c0 { -- 2.34.1