From patchwork Sat Oct 12 14:39:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 13833982 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 179AACF2566 for ; Sat, 12 Oct 2024 14:49:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9N1QRWG1+vGqch+tHQPBAnNZwJAl+Fys3rUYZOZKJwk=; b=t7YlRha2vxU8x/9SvL8TJQyTVh CDrwAoy0vLsmvnR/UOhaDDBh5d23/+FDM3l3v3MBsnNmhlMdoL5xMoXAJ6VTaj6F2PsueYd9OPm7a n1ZjlZcAFVR3a7L3WHz5wLbazDi1G8PSWRaTBKTfvNXmeTQJvCX4RMc4MVAa6u/f6a0r8fznzj4wL kI4RRgkYMnm4NPsgWxE7Dr00TQyR0qYFzlhsMvhGXq18uqIM68CTR2T6CXQeeRwYpNb3e4StHx9rz 33I4D5IOYUzCVIlQa8NnvNiZ2JGxEtSFRX/Mpmux0H0YUv8I5CkGiy3cSMVfsV15v9VIp46sNb5yn gw908Eng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szdRF-00000001Njp-1JT1; Sat, 12 Oct 2024 14:49:49 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szdI9-00000001LkO-28lZ for linux-arm-kernel@lists.infradead.org; Sat, 12 Oct 2024 14:40:26 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5c928611371so4139842a12.0 for ; Sat, 12 Oct 2024 07:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1728744023; x=1729348823; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=9N1QRWG1+vGqch+tHQPBAnNZwJAl+Fys3rUYZOZKJwk=; b=Ob7oLmTMwZWqAOUTrxYUmNtIimmfl3wBAbtm519gYeOM3NWUi+ErgpjOWaiYJl9ptm 0hnMIPW5YZJl6nAwJbmAkK6qmMq3W+dDnE2iWKp8Ff2TMoww5I5RF3IoLX7FP1rf+A1Z q/Pgxjae5uB7oO2zvQ+UxS0pM0QHX+LXH9dkOnIRZPbs6sgCV1jyVQrbpa9elp//7pMw fJNXIuTPSCJr12VL6GezKnCZlkO4vipXz+kMsReFumqIvXk+Sh5LIH8Ng+Nqs9eL7Yq9 TEFYF4vk3za1YG1nwdc2rxPV9xKVpIsmVrGXl2PifCpeKDosFgSFWiWvQGYte0OxFhNd dXqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728744023; x=1729348823; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9N1QRWG1+vGqch+tHQPBAnNZwJAl+Fys3rUYZOZKJwk=; b=lRRlpWxX8jNRQ0NNVSTcNVCmRFH1ASgAK4PyoFbZ1zuDrVq57oEWOP/UZ+bDBskiNj on9Tetjy8EBXnxCYrGxJHM5ZJgv7vCBRdF8VPfdGMJt0jcOw7Z3hiMdqh5lIO/h3rn5M LrBWnNhpqkKAOJWIb/PDmQ18/WRtgoFhY9/YFUViA5zN8eYW7qoMSWY1Ooxi6aBytv+6 NeDEkC0/BAQq6dxysfRSEJ9Ob1cMrNwctUpHTrurhcFTAMj9e+o//Hzo17NxFXbKcJbI Q7eNjRDpah7TFIT2SLnPa+UGOR/tvZHJzVg/if7DRDx2hlID/BwPp+Gke3Pxyg4ROEEK ay0g== X-Gm-Message-State: AOJu0Yx4tcIvunGacGqaBsyeirhp99woVUHSqegzm7d+mRcYAvJVkej4 V9PwcGj1CLXrZPDmhcBLj0FugfW7PYL5hQ+u1tygJOuDfTHlucV50VArtLF9X7U= X-Google-Smtp-Source: AGHT+IFB/80TsoIFcqOP89wUuKPAaBM6QE7qOspyWm7HaILKW2tXt8EZeLi+xkFDPhSFFTfLKDwO9g== X-Received: by 2002:a05:6402:42d4:b0:5c9:4281:451e with SMTP id 4fb4d7f45d1cf-5c948c88378mr4204260a12.1.1728744023446; Sat, 12 Oct 2024 07:40:23 -0700 (PDT) Received: from localhost ([2001:4090:a244:83ae:2517:2666:43c9:d0d3]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c9370d22fesm2905032a12.19.2024.10.12.07.40.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2024 07:40:22 -0700 (PDT) From: Markus Schneider-Pargmann Date: Sat, 12 Oct 2024 16:39:30 +0200 Subject: [PATCH v3 4/6] arm64: dts: ti: am62-lp-sk: Add vcc_3v3_sys regulator MIME-Version: 1.0 Message-Id: <20241012-topic-am62-partialio-v6-12-b4-v3-4-f7c6c2739681@baylibre.com> References: <20241012-topic-am62-partialio-v6-12-b4-v3-0-f7c6c2739681@baylibre.com> In-Reply-To: <20241012-topic-am62-partialio-v6-12-b4-v3-0-f7c6c2739681@baylibre.com> To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Anand Gadiyar Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Vishal Mahaveer , Kevin Hilman , Dhruva Gole , Markus Schneider-Pargmann X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1572; i=msp@baylibre.com; h=from:subject:message-id; bh=XhzApypE5f+qCrdy/4fKvPPdyBST0xn9vF9MGvotmC4=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNK5uhzdZY6nmczOe3lfMv7Imklsn4+8eJuk97Xwg2aR5 KbnfNrvO0pZGMQ4GGTFFFnuflj4rk7u+oKIdY8cYeawMoEMYeDiFICJvI5i+F+ce/demWLfp8UV m3Ywsyh0Cp9Yrr/qt1Yd4+JJghss799mZHiXGDxlHrf5ddeO2zYrr/M57Ohdx1pw77p58Z9PRz8 tOMgJAA== X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241012_074025_583602_8D3D42E5 X-CRM114-Status: GOOD ( 11.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org vcc_3v3_main is currently modeled slightly wrong. vcc_3v3_main has a parent called vcc_3v3_sys which is currently not present. Add the regulator for vcc_3v3_sys to be able to describe other regulators in the next patch. Fixes: e6a51ffabfc1 ("arm64: ti: dts: Add support for AM62x LP SK") Signed-off-by: Markus Schneider-Pargmann --- arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts b/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts index 8e9fc00a6b3c7459a360f9e1d6bbb60e68c460ab..529360b5e6fe052dd99f04b74c129193922f76ac 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts @@ -34,10 +34,10 @@ vcc_5v0: regulator-1 { regulator-boot-on; }; - vcc_3v3_sys: regulator-2 { + vcc_3v3_main: regulator-2 { /* output of LM61460-Q1 */ compatible = "regulator-fixed"; - regulator-name = "vcc_3v3_sys"; + regulator-name = "vcc_3v3_main"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vmain_pd>; @@ -70,6 +70,16 @@ vddshv_sdio: regulator-4 { states = <1800000 0x0>, <3300000 0x1>; }; + + vcc_3v3_sys: regulator-5 { + compatible = "regulator-fixed"; + regulator-name = "vcc_3v3_sys"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc_3v3_main>; + regulator-always-on; + regulator-boot-on; + }; }; &main_pmx0 {