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 0FD01C77B6C for ; Thu, 6 Apr 2023 17:42:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 785F78215F; Thu, 6 Apr 2023 19:41:35 +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="oMO2iYMo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C597E8607F; Thu, 6 Apr 2023 17:38:40 +0200 (CEST) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 8563386052 for ; Thu, 6 Apr 2023 17:38:37 +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-x336.google.com with SMTP id v14-20020a05600c470e00b003f06520825fso3108607wmo.0 for ; Thu, 06 Apr 2023 08:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680795517; x=1683387517; 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=YOIyG+qgvRF5fb5GqJrHxKUeXpzmve73OoQh4seBqDI=; b=oMO2iYMoLEUx2ldWaZ5Ir20X1YcRrM9YsaL6WN2/ylBPRolj+BRH+OOqD3yH72fpDd ijFD8mckz+C22KyKs4IpkuxcEkx6KMkFwXtb5nMxHd08Gc3M+UTSZad0DGFLPlKA+ZTc Uvkr2qyRecSTS7iXDdbzNmYB18kzuSDDgSHoD41CabusDa0eIpM0j8YT6+zYVN40nZeQ j8H46lsgtINtVEdwDzvoV+WYDCGgHDrs6DyS6LL8if/4epTmEDSK4BSmn/Wee5E1lyte K9aG/0mPhU/Z2k5T+dyqTjjyg3PD1P4kxMh6oahTZBRbSGYOa205hjupWTHj2EaaOLf+ yUdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680795517; x=1683387517; 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=YOIyG+qgvRF5fb5GqJrHxKUeXpzmve73OoQh4seBqDI=; b=nApso5IMWFy/WG3PjzxnfalnEQJot+0+yzoiCLCp1XdHRazW6JvxLe6POreEiv6PHp 2iTeiTGsAn5MxgvxHyunWhlP+FmYqdZz4dpZOHSp1BLSx2zYjb/IfsxiqKWfXsIwD5J8 ZEreAl/Py1DeaZKNtAvl0+koz/PM+qy2UkHG/zNiHFsinbVHOKFm0xjbib8UjUtADR0Y UsqUhjLdgNcyu66L5QMp2LaA21MULhu+/AsrfvOjP4mR5UVNWh54JAPwMTExHjyw5u0O FcHSXggiws7a2gT9/QixDEorX2/mYtI5nTxLyimf7k1Dc1UuP3HUxr/ArJwrIV6QeWO2 dqwA== X-Gm-Message-State: AAQBX9eTFbMD/qMmHwtD/moLap6DTD6Ea5cL8zOdREjJc2o8fG8wh56H Qc29PMvyzeCvLTpV0UqQ2iBNtg== X-Google-Smtp-Source: AKy350bPk79yPKbCsT4pSqhXWYv+rMhRzupK6I7cxJNIu2Jai0KxjlXA/rfqIrtIc59ZqYXbQhCnvA== X-Received: by 2002:a05:600c:ad2:b0:3dc:5b88:e6dd with SMTP id c18-20020a05600c0ad200b003dc5b88e6ddmr7687623wmr.10.1680795516935; Thu, 06 Apr 2023 08:38:36 -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 m21-20020a7bcb95000000b003ee4e99a8f6sm1891760wmi.33.2023.04.06.08.38.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 08:38:36 -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 v1 5/9] DONOTMERGE: arm: dts: k3-j721e: u-boot overlay for TI tps6594 PMIC Date: Thu, 6 Apr 2023 17:38:16 +0200 Message-Id: <20230406153820.2800054-6-jneanne@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230406153820.2800054-1-jneanne@baylibre.com> References: <20230406153820.2800054-1-jneanne@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 06 Apr 2023 19:41:06 +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 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 b2b81f804d..d05d3610ff 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 { u-boot,dm-spl; }; + + 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 { u-boot,dm-spl; + tps659413: tps659413@48 { + u-boot,dm-spl; + compatible = "ti,tps659413"; + + regulators { + u-boot,dm-spl; + bucka12_reg: buck12 { + }; + }; + }; + tps659411: tps659411@4c { + compatible = "ti,tps659411"; + }; }; &main_i2c0 { -- 2.25.1