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 D9346C77B61 for ; Fri, 7 Apr 2023 13:35:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5DCC08617A; Fri, 7 Apr 2023 15:34:24 +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="QbiZOSMh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D3A5486166; Fri, 7 Apr 2023 15:34:12 +0200 (CEST) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 EF78786152 for ; Fri, 7 Apr 2023 15:34:04 +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-wr1-x433.google.com with SMTP id r29so42303929wra.13 for ; Fri, 07 Apr 2023 06:34:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680874444; x=1683466444; 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=l8EqZ+RwremLn6/Ke+hyVV6IkLyuPeUdpBS9I+IJg6c=; b=QbiZOSMh4ceDlFlaocD7fBNNlFvdpSqJbaEtQvKku8g73+jHyPOekuRDsHNmFTqUHl EwUV3PDL4eoAL5y37Ic4tqNAQolBjxK15hhDCORQj+jGa2/AB1nedxDTpunaeA0ZhT74 VDysNRo61smxwNa99FieqHv5WEM5pl42VTBWXpjx/0u3kVNUGVM8DVAibVSRwdBWRyKk HktCYIxs8NXX1EQc/mT1UcTFFwMuH39DZ1LPh4t+fvUd4j1R4VPFb5QWYheki33CWAuA Hgeq60nFRMQ8cp8aBNWIuTSjbzpRUww7DkLR+jV8htHuw/CK3NcHpI03A4rb9vLEr5wX leZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680874444; x=1683466444; 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=l8EqZ+RwremLn6/Ke+hyVV6IkLyuPeUdpBS9I+IJg6c=; b=1gMrL1s3Kqbk4KdyJbYmHSwxAMaHogPjOu0458e4jscgY2fFBBO2hZPA5Ksk/8zzzx fDnsx4Jgf+EijMskKLxb6fbairZCP3ghvSHOx82Iir72j2b222QMAiSWsSoRVNSkAQig 7edNahpYqV1JPl1ePeyUwvpefHi1l5SkqCxcMxhznQUHtvWYiKRgvgQ+BiatE6JCLgyS nm2SnEIXikH2lXXt33mpU8N948dBGaGthJZD7ruUgCVymgWkdIaJv2kixM7Ud5fJbqaQ aK2SQLhvTr8ugGZiZWNpOuiPo2UmpM1c6yqu9ztE4qoBkK+6GZveyMU8RiPyMJEXIr38 0fDA== X-Gm-Message-State: AAQBX9fjfiEWS26lMZ88ywnddkikB4gOni/a+UOn6o32wcLUOF0HAC0c ONnjg/ZfaXuHewYyUVyzD85+Sw== X-Google-Smtp-Source: AKy350bMgmcll23KLs5GVv5LagNMmug95rV3u0WZ5az89kSIAoE8NgPGtRUDYRRNVJC6dp0/GcQIzQ== X-Received: by 2002:a05:6000:1149:b0:2db:11f3:f7ee with SMTP id d9-20020a056000114900b002db11f3f7eemr1335963wrx.63.1680874444314; Fri, 07 Apr 2023 06:34:04 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 06:34:04 -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 06/13] DONOTMERGE: arm: dts: k3-j721e: refactor r5 board file to use Linux dts tps6594 description Date: Fri, 7 Apr 2023 15:33:40 +0200 Message-Id: <20230407133347.2957435-7-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 Use a copy of Linux dts for TPS6594 PMIC description instead of custom u-boot Signed-off-by: Jerome Neanne --- .../arm/dts/k3-j721e-r5-common-proc-board.dts | 48 +++++++++---------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts b/arch/arm/dts/k3-j721e-r5-common-proc-board.dts index e9e50538cb..f31d1c4649 100644 --- a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts +++ b/arch/arm/dts/k3-j721e-r5-common-proc-board.dts @@ -21,6 +21,27 @@ tick-timer = &timer1; }; + evm_12v0: fixedregulator-evm12v0 { + /* main supply */ + compatible = "regulator-fixed"; + regulator-name = "evm_12v0"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-always-on; + regulator-boot-on; + }; + + vsys_3v3: fixedregulator-vsys3v3 { + /* Output of LM5140 */ + compatible = "regulator-fixed"; + regulator-name = "vsys_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&evm_12v0>; + regulator-always-on; + regulator-boot-on; + }; + a72_0: a72@0 { compatible = "ti,am654-rproc"; reg = <0x0 0x00a90000 0x0 0x10>; @@ -276,33 +297,8 @@ ti,driver-strength-ohm = <50>; }; -&wkup_i2c0 { - bootph-pre-ram; - tps659413a: tps659413a@48 { - reg = <0x48>; - compatible = "ti,tps659413"; - bootph-pre-ram; - pinctrl-names = "default"; - pinctrl-0 = <&wkup_i2c0_pins_default>; - clock-frequency = <400000>; - - regulators: regulators { - bootph-pre-ram; - buck12_reg: buck12 { - /*VDD_CPU*/ - regulator-name = "buck12"; - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <900000>; - regulator-always-on; - regulator-boot-on; - bootph-pre-ram; - }; - }; - }; -}; - &wkup_vtm0 { - vdd-supply-2 = <&buck12_reg>; + vdd-supply-2 = <&bucka12_reg>; bootph-pre-ram; }; -- 2.34.1