From patchwork Tue Apr 9 11:42:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13622389 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 A1F7DCD1284 for ; Tue, 9 Apr 2024 11:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aqZIpgiNRwWROyadrFbqwQ+CCQdV/VCwp0+Ir9VxI4A=; b=k8ryDCZMxr9I64 AAs/ZfjrGEDA/1lacnY+uhHXMETqZgqHlfBwKnY8bA+EuzmOHMoRB1aPfYFsePZA316ZAMyuCMYrX XLPYfOuVYKZ7mIUCVsuH+azZAATC+HZZl2ovEbZ6x4yGzO+l4yVBL/ERnlvEnLx+LJ8HO0Bzrvg9j ZN7pteduZ3jnxmPdrhZdO+TAkZXhQrndu4ddSceOkiZZTyQHxW3LhF6mObYrXh/1awfsiHuQWvR9W 7ECsi/nTf4t21uCzU4eFQ+VIuoy6khZ7W7bu7miaM6k090dpQBCzWVHWN/51XU7yRxfIjzlXb+l9u 6ecqGn7FRXjxH+5ueGcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru9s3-00000001kki-1thH; Tue, 09 Apr 2024 11:42:35 +0000 Received: from madrid.collaboradmins.com ([46.235.227.194]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru9rv-00000001ket-43VT; Tue, 09 Apr 2024 11:42:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1712662946; bh=v4vUCuSjUww6FJAfXwVkRyRenCihx6Rkh72bQi4n8MQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h15vBCMvFNJEepnXxpT1jZtNp37p8f03FkdXhLd6AzvvZzYAyBdNIQe0ud6IUbmO0 4b8wLG80kk1IO6NjPAPdt+zDxDJjUJwyFExAjOndiHRuvqUoTgZbUinholQ6qOREcP A+jcnFPaC9ybm48SJI0490KddvghK4WSXzl6yfveRumMB+bwqrY9QCL2kTTswpW6WY OcUFE44wOpTEAay1FNyiIrpgvLA7YmrxD7UFM/QS+njM1IRuqc7NvIt4ZgGK7TuPcl henBVapu+v0hMtt/owY6KG70Ws24yHsvLw3ReFrBJhBbLU+xlrW8TJ1CuRXXv87vjf M6R8dzWKUYntw== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id D4F2837820F8; Tue, 9 Apr 2024 11:42:25 +0000 (UTC) From: AngeloGioacchino Del Regno To: linux-mediatek@lists.infradead.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: [PATCH 1/5] arm64: dts: mediatek: mt8395-nio-12l: Fix MT6360 regulator nodes names Date: Tue, 9 Apr 2024 13:42:07 +0200 Message-ID: <20240409114211.310462-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240409114211.310462-1-angelogioacchino.delregno@collabora.com> References: <20240409114211.310462-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240409_044228_153001_48B9B580 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. 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 The regulators' node names for mt6360-regulator are supposed to be uppercase. Also, drop "-regulator" from the usb-otg-vbus node name to make all vregs to probe correctly. The alternative would've been to use regulator-compatible, but that's a deprecated property. Now all regulators are probing fine. Fixes: 96564b1e2ea4 ("arm64: dts: mediatek: Introduce the MT8395 Radxa NIO 12L board") Signed-off-by: AngeloGioacchino Del Regno --- .../boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts index e5d9b671a405..18182cf073fb 100644 --- a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts +++ b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts @@ -216,7 +216,7 @@ charger { compatible = "mediatek,mt6360-chg"; richtek,vinovp-microvolt = <14500000>; - otg_vbus_regulator: usb-otg-vbus-regulator { + otg_vbus_regulator: usb-otg-vbus { regulator-name = "usb-otg-vbus"; regulator-min-microvolt = <4425000>; regulator-max-microvolt = <5825000>; @@ -228,7 +228,7 @@ regulator { LDO_VIN1-supply = <&vsys_buck>; LDO_VIN3-supply = <&mt6360_buck2>; - mt6360_buck1: buck1 { + mt6360_buck1: BUCK1 { regulator-name = "emi_vdd2"; regulator-min-microvolt = <300000>; regulator-max-microvolt = <1300000>; @@ -238,7 +238,7 @@ MT6360_OPMODE_LP regulator-always-on; }; - mt6360_buck2: buck2 { + mt6360_buck2: BUCK2 { regulator-name = "emi_vddq"; regulator-min-microvolt = <300000>; regulator-max-microvolt = <1300000>; @@ -248,7 +248,7 @@ MT6360_OPMODE_LP regulator-always-on; }; - mt6360_ldo1: ldo1 { + mt6360_ldo1: LDO1 { regulator-name = "ext_lcd_3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; @@ -257,7 +257,7 @@ mt6360_ldo1: ldo1 { regulator-always-on; }; - mt6360_ldo2: ldo2 { + mt6360_ldo2: LDO2 { regulator-name = "panel1_p1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -265,7 +265,7 @@ mt6360_ldo2: ldo2 { MT6360_OPMODE_LP>; }; - mt6360_ldo3: ldo3 { + mt6360_ldo3: LDO3 { regulator-name = "vmc_pmu"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3600000>; @@ -273,7 +273,7 @@ mt6360_ldo3: ldo3 { MT6360_OPMODE_LP>; }; - mt6360_ldo5: ldo5 { + mt6360_ldo5: LDO5 { regulator-name = "vmch_pmu"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; @@ -282,7 +282,7 @@ mt6360_ldo5: ldo5 { regulator-always-on; }; - mt6360_ldo6: ldo6 { + mt6360_ldo6: LDO6 { regulator-name = "mt6360_ldo6"; /* Test point */ regulator-min-microvolt = <500000>; regulator-max-microvolt = <2100000>; @@ -290,7 +290,7 @@ mt6360_ldo6: ldo6 { MT6360_OPMODE_LP>; }; - mt6360_ldo7: ldo7 { + mt6360_ldo7: LDO7 { regulator-name = "emi_vmddr_en"; regulator-min-microvolt = <500000>; regulator-max-microvolt = <2100000>;