From patchwork Wed Dec 11 05:24:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13902951 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 0BA29E77180 for ; Wed, 11 Dec 2024 05:32:14 +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:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OdiLjWqZCqkJzTb8taSGz82kJU+JDYdNANRgcY+U26Y=; b=MU8O92lPZBLHlBnZs+vLmv4L0V BY/PjK54kHAj+tz5sTtpOPPhnob432IRluwXCewrislzEWM6oBG2BXcG5V1dyKKHZJ9wADMX0frL0 YggC0OchMgaD7aTSqPQY6bzozDMNv/Fa+l8FDj8oMRABl5YFQXqrSsIBrf3YD+OwCZmT9icOQcnBM jTCpvKEXntgF0s/r5IA+lPKoq49HaNi5GBw9r6u4x4rwU2xggHXHZw+/ncMYgCsAwxKhkvgiLPXI+ 6kfP0w1KkuaXrXIg0EzneBFcJ2fT8VemD/U6G0Z3M5dilzeFobudnRLwG/L+kcvqrRS5TYvcURSCa 1NDi0zOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFKM-0000000DqNB-1pRP; Wed, 11 Dec 2024 05:32:02 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDP-0000000Dp8U-0VU2 for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2024 05:24:52 +0000 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-725dc290c00so258279b3a.0 for ; Tue, 10 Dec 2024 21:24:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733894690; x=1734499490; darn=lists.infradead.org; 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=OdiLjWqZCqkJzTb8taSGz82kJU+JDYdNANRgcY+U26Y=; b=lfuACHCu5WqPZDSphkHJ8CHsMOUtinT6Mw0f9NXIJFrgjFR7LezbXqG3yfbKbCV4Cv s+oRA1yu/6LMwbV0xf/w8hHTxN3RKX2+vRFdIf+ZAa77N5zaaCmyTcJUuIC1BhWIdXjV dQ0MrzxwG7RPSVPqcSJmqXHLMwIFYzTsfo+RA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733894690; x=1734499490; 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=OdiLjWqZCqkJzTb8taSGz82kJU+JDYdNANRgcY+U26Y=; b=pOLkCkuDJWV+SAD7/x3jO+5z97YVL1LUeQl7dTRpv+l0MsJrXxobAzDJ3GBNAv0zMr TpSUex9oTVOyY3rfweU1fTfodmY4u+O+rNsdF0rc/EdQyhGURb4NYnxK5VjrfnMAMuhK I80SYtMKrL9iupznMTeK7Vns1SDcivAikZDb9EzM1CeetPhxgmGNgjTmBez8G/nvPjNq bK9RSDBTL51c3mnhv1ka3n8xe5eHacnWleoq+//Z3jWGlMBm76I7NWztcZXjue8pKXBI QDmKh86tmdr44yFuiqwVckwMrYD7lkZIAQUyME2d/hjUy5yWeeBd6cnmLudUUsfQ2yLY iI5Q== X-Forwarded-Encrypted: i=1; AJvYcCWyTFazJIqcoZSls426Y2a1mT0ohOeCuSu8YT8z2LN5sLg8l+cyxxiGeeCXcoyj7cQwWmBSxKxItDEwaV8LhAGz@lists.infradead.org X-Gm-Message-State: AOJu0YyP3ysrfH857vGL2PVaF7VNUDQQEnQudSOYjmVrhmCfOUpLuBj5 ShpEsThR7oi9QP9H+lGcUtzBArLSjmYrETRt4Z2axfxehL78cUxJGsYegVcucg== X-Gm-Gg: ASbGncsvvHxuuNBLaTnbzvKJek06he8CEbK6sAiT+aZjf9PaI+Xw+TBw/QKjbt/ZcsS C8xTVK2cFkYuy3WEPCLgD+ASK6lXhviEHjpytEeadfMCgu76bK5HI0QbCaooB23oGEKRb5z42H6 wqG4zlFMYzXSP6lNYMRvQN62uZ0yLcZuKOAwcmud8v3MUgkUtq4f9p+IpNJi1az0rwRdI/Uauj1 ylvBF+reN/j4PmgY2XL3ZzavRskKUaSSMmVaoezteFEekOi912vxvfmb33pHeLVBLPj2EPJ X-Google-Smtp-Source: AGHT+IE3tH05FCDWD+zKQbH/6GkwhwOe3oH+eHt/gxo//2UmKzQG0AGbv9mpB/EeA/+0SV0LYD5TJw== X-Received: by 2002:a05:6a20:d8b:b0:1e1:a48f:1212 with SMTP id adf61e73a8af0-1e1c26a8ecbmr2332202637.4.1733894690317; Tue, 10 Dec 2024 21:24:50 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:4dfb:c0ae:6c93:d01e]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-725e66801e2sm5397702b3a.160.2024.12.10.21.24.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 21:24:49 -0800 (PST) From: Chen-Yu Tsai To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Hsin-Hsiung Wang Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/8] arm64: dts: mediatek: mt8195-demo: Drop regulator-compatible property Date: Wed, 11 Dec 2024 13:24:24 +0800 Message-ID: <20241211052427.4178367-7-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.338.g60cca15819-goog In-Reply-To: <20241211052427.4178367-1-wenst@chromium.org> References: <20241211052427.4178367-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241210_212451_151366_81389BB6 X-CRM114-Status: GOOD ( 11.52 ) 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 "regulator-compatible" property has been deprecated since 2012 in commit 13511def87b9 ("regulator: deprecate regulator-compatible DT property"), which is so old it's not even mentioned in the converted regulator bindings YAML file. It is also not listed in the MT6360 regulator and charger bindings. Drop the "regulator-compatible" property from the board dts. The MT6360 bindings actually require the lowercase name, so with the property present the regulators were likely not actually working. Fixes: 6147314aeedc ("arm64: dts: mediatek: Add device-tree for MT8195 Demo board") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts index 31d424b8fc7c..bfb75296795c 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts +++ b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts @@ -137,7 +137,6 @@ charger { richtek,vinovp-microvolt = <14500000>; otg_vbus_regulator: usb-otg-vbus-regulator { - regulator-compatible = "usb-otg-vbus"; regulator-name = "usb-otg-vbus"; regulator-min-microvolt = <4425000>; regulator-max-microvolt = <5825000>; @@ -149,7 +148,6 @@ regulator { LDO_VIN3-supply = <&mt6360_buck2>; mt6360_buck1: buck1 { - regulator-compatible = "BUCK1"; regulator-name = "mt6360,buck1"; regulator-min-microvolt = <300000>; regulator-max-microvolt = <1300000>; @@ -160,7 +158,6 @@ MT6360_OPMODE_LP }; mt6360_buck2: buck2 { - regulator-compatible = "BUCK2"; regulator-name = "mt6360,buck2"; regulator-min-microvolt = <300000>; regulator-max-microvolt = <1300000>; @@ -171,7 +168,6 @@ MT6360_OPMODE_LP }; mt6360_ldo1: ldo1 { - regulator-compatible = "LDO1"; regulator-name = "mt6360,ldo1"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3600000>; @@ -180,7 +176,6 @@ mt6360_ldo1: ldo1 { }; mt6360_ldo2: ldo2 { - regulator-compatible = "LDO2"; regulator-name = "mt6360,ldo2"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3600000>; @@ -189,7 +184,6 @@ mt6360_ldo2: ldo2 { }; mt6360_ldo3: ldo3 { - regulator-compatible = "LDO3"; regulator-name = "mt6360,ldo3"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3600000>; @@ -198,7 +192,6 @@ mt6360_ldo3: ldo3 { }; mt6360_ldo5: ldo5 { - regulator-compatible = "LDO5"; regulator-name = "mt6360,ldo5"; regulator-min-microvolt = <2700000>; regulator-max-microvolt = <3600000>; @@ -207,7 +200,6 @@ mt6360_ldo5: ldo5 { }; mt6360_ldo6: ldo6 { - regulator-compatible = "LDO6"; regulator-name = "mt6360,ldo6"; regulator-min-microvolt = <500000>; regulator-max-microvolt = <2100000>; @@ -216,7 +208,6 @@ mt6360_ldo6: ldo6 { }; mt6360_ldo7: ldo7 { - regulator-compatible = "LDO7"; regulator-name = "mt6360,ldo7"; regulator-min-microvolt = <500000>; regulator-max-microvolt = <2100000>;