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 F3FD0C7618D for ; Thu, 6 Apr 2023 17:42:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1C0B786020; Thu, 6 Apr 2023 19:41:40 +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="6ROZm106"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1A12386077; Thu, 6 Apr 2023 17:38:43 +0200 (CEST) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 98FB486070 for ; Thu, 6 Apr 2023 17:38:39 +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-x32c.google.com with SMTP id n19so22821708wms.0 for ; Thu, 06 Apr 2023 08:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680795519; x=1683387519; 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=ZN+LiEKovu7OlJ1P9WGeUVf+OXtzjK+J4scEIawmsiI=; b=6ROZm106nF51mxG2FfHZvsSQuBIqyYr54hO6NPa0VAxZYMScrlhbyUYSQWlJmS0VvT lJkk7X+l7B6wKTSJU1FRkvNS95KYVCToAD/tnZD9wSkuTlh6VyVBlzaa5ukltzw66oOQ a6kzE53dzNts+FhM0J7Cxpdrnp1V6bU/YbxDCHqqUdBY/g7gQLChyqQ0VTflD5Iwtt/g v5ZBTksUxFBkFFZFe6fPVCIx+Y9Tm3GB63uYSUnSQsEf874tWxP6Q+dI0nFdgHqf2Efk TSylDLSz2SSVb4/V3mqHGMeJM1tvxoETeBA59qDCg6A9kTmatzM0XZu38Z9FxlbSW86s 4UaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680795519; x=1683387519; 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=ZN+LiEKovu7OlJ1P9WGeUVf+OXtzjK+J4scEIawmsiI=; b=ZfADrNdANdETgx9kcLdxYt0vkbvYBl7f+gJLNzSLJJFVO1KVdzCWboOVez2dO+1NTY jp3qR5anVJZ5qELspe0cWYDWgw6mf6Ud4mb3G43tDgJz8Xs6WFVjGACPlAThp4TUzKr/ 8aFQGS7YkEA9P9bRt0QDfxNKTbgusHdcsgcZuNvdQhRNcoFuLH1o9d92g+CNV0o4CxAJ onOeQQO6wWF9VDgoGUhhvxWk2110D8YQIJzOb7JQQxW+0fVOx7uotMBqxO2XufWuBUXY msODRnjC2u2Fvng60t07WxeLVcHNf3JoGhbVfPKSt/ENl6rZCiPiFXNCMgZG2yO0i0+s YSrA== X-Gm-Message-State: AAQBX9foX4d4Wrp/KyOJx+H/EE9hUa402TzxRn1hPjM1EU5ANmrU203n 1ZemB2koV5LJB4FnXW5knamJKA== X-Google-Smtp-Source: AKy350b9wGChk78/2vwYFwXfcsgz06TB9O2jTEnGnJPKq1alTxi/imzOLeaHI4CTzf5KsaJYGFbVsg== X-Received: by 2002:a7b:c4c6:0:b0:3eb:3945:d3fd with SMTP id g6-20020a7bc4c6000000b003eb3945d3fdmr7693084wmk.14.1680795519126; Thu, 06 Apr 2023 08:38:39 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 08:38:38 -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 6/9] DONOTMERGE: arm: dts: k3-j721e: refactor r5 board file to use Linux dts tps6594 description Date: Thu, 6 Apr 2023 17:38:17 +0200 Message-Id: <20230406153820.2800054-7-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-Type: text/plain; charset=UTF-8 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 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 ab9d6e65d8..a5c0222e91 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 { - u-boot,dm-spl; - tps659413a: tps659413a@48 { - reg = <0x48>; - compatible = "ti,tps659413"; - u-boot,dm-spl; - pinctrl-names = "default"; - pinctrl-0 = <&wkup_i2c0_pins_default>; - clock-frequency = <400000>; - - regulators: regulators { - u-boot,dm-spl; - buck12_reg: buck12 { - /*VDD_CPU*/ - regulator-name = "buck12"; - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <900000>; - regulator-always-on; - regulator-boot-on; - u-boot,dm-spl; - }; - }; - }; -}; - &wkup_vtm0 { - vdd-supply-2 = <&buck12_reg>; + vdd-supply-2 = <&bucka12_reg>; u-boot,dm-spl; }; -- 2.25.1