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 62B04C77B61 for ; Fri, 7 Apr 2023 13:35:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 964758618C; Fri, 7 Apr 2023 15:34:32 +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.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.b="bEW8yrIX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 962E786078; Fri, 7 Apr 2023 15:34:11 +0200 (CEST) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 EBC9D86078 for ; Fri, 7 Apr 2023 15:34:02 +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=jneanne@baylibre.com Received: by mail-wm1-x332.google.com with SMTP id eo6-20020a05600c82c600b003ee5157346cso839935wmb.1 for ; Fri, 07 Apr 2023 06:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680874442; x=1683466442; 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=MwHFFxUJ0aqCJgaCtz/SAsA7aabnuxxAVN8Or4BSEBM=; b=bEW8yrIXguDQ3hJdIE2TYAt0jiypxMaxB1+hjvhyyN/K9djnK69WUdNPLEmLOW09fm +xx9fNYIloyL56O9Kyl2SVDbcGUPHbYd3qfY44MSvxVybdQacBAmw1JadGtaFkXhOzET tlGFRALILCS+zkORCPcRWEvebcJE1P51ArE7PhZBPBU6HnXTtma+gGveH9GRr2m4jJcf /oCER3vZeFoJQnqeiQOWjpTfkwYg89NdwJy6bMvtZtT19kmXWjePIyh6HfKyms2pxCQ6 i26om3o8nTS/WJHtIHGODG2HFEboYrjWffiajEFUXWLFRmunkRNRB8oePrs9Ug4yy3G9 uLJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680874442; x=1683466442; 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=MwHFFxUJ0aqCJgaCtz/SAsA7aabnuxxAVN8Or4BSEBM=; b=GCT1isLxEQj+y3/cjjt8+N9iguRKzGCahoNAKsOlCMYFEeStd35Wy5v7pw8O1FEc4J iApVbGLXVQYFzmWE7UeLN59PNbWapGc70vR+fxjuyrA04t7atzX9mJSKggYV9YGGgPAe C10w4hUtL61U0OmV5a7PncVm9TGoDA3VRSLBafxBU1FIbKMZ4he5u8mLt6SLDNEcUH2d fpDeDBpRxJUurzoXErnjWmm+Kb1IiWmAcMuEVADuhu/IAcxVctZJtQZ6JyO+l1g+FRwV MFCGCESSlV5F3eT2Q6wyFr2sMcR4mJFmFdpWXL1KntIfiQVdKI8D11lok+MJA5B3UB4u U6qw== X-Gm-Message-State: AAQBX9c1HLIboYWc+e7dTYOs+icZayiQZpji55U4TZycepkgeJUnGCJb LNH4xAY8hx+HKgk6uwTcjqjF+g== X-Google-Smtp-Source: AKy350YwcDeIB+9qOkXly2cjeXnBNkZ6c7U1WpJi3RqH5uEr9XipV+KawQJGF7c42+i7rCZ9iKpaQA== X-Received: by 2002:a1c:6a03:0:b0:3ed:6ba7:66d9 with SMTP id f3-20020a1c6a03000000b003ed6ba766d9mr1310017wmc.5.1680874442289; Fri, 07 Apr 2023 06:34:02 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id z16-20020a5d4c90000000b002cf1c435afcsm4573138wrs.11.2023.04.07.06.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 06:34:01 -0700 (PDT) From: Jerome Neanne To: vigneshr@ti.com, bb@ti.com, jh80.chung@samsung.com, nm@ti.com, g-vlaev@ti.com, d-gerlach@ti.com, jpanis@baylibre.com, jneanne@baylibre.com, vaishnav.a@ti.com, michal.simek@amd.com, j-keerthy@ti.com Cc: u-boot@lists.denx.de, sterzik@ti.com, u-kumar1@ti.com, eblanc@baylibre.com, khilman@baylibre.com Subject: [PATCH v2 05/13] DONOTMERGE: arm: dts: k3-j721e: u-boot overlay for TI tps6594 PMIC Date: Fri, 7 Apr 2023 15:33:39 +0200 Message-Id: <20230407133347.2957435-6-jneanne@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230407133347.2957435-1-jneanne@baylibre.com> References: <20230407133347.2957435-1-jneanne@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 --- .../k3-j721e-common-proc-board-u-boot.dtsi | 21 +++++++++++++++++++ 1 file changed, 21 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..a57d491689 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: tps65941-wd@12 { + compatible = "ti,tps65941_watchdog"; + reg = <0x12>; + }; + }; }; &secure_proxy_main { @@ -170,6 +178,19 @@ &wkup_i2c0 { bootph-pre-ram; + tps659413: tps659413@48 { + bootph-pre-ram; + compatible = "ti,tps659413"; + + regulators { + bootph-pre-ram; + bucka12_reg: buck12 { + }; + }; + }; + tps659411: tps659411@4c { + compatible = "ti,tps659411"; + }; }; &main_i2c0 { -- 2.34.1