From patchwork Wed Dec 11 05:24:19 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: 13902931 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 BCD84E77182 for ; Wed, 11 Dec 2024 05:25:43 +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=Jun60MmpzFO+KyxqgW/fdFZZGJL7nbsZCnl87/9ABDo=; b=iJHdGWwTpudll27/9wdfIoUB7J 2B8dMW4LrjlaQG6Yv3IXBCgoRdV5nerXQKiBQsLnYZO6P92EWZlh8sustpnLYEYisEyb5xQXPuAC3 +cUOMvMNzpxigHMzqYeMjrEnMbPHZ7ADkSkiV5QPxukpMnT6c/XefFJpdhapHpbtgKSJveLlXALkI TeJP9XuhgG52g6e/6Rl94LuXZloMWsFa8HEE2sSqAb8S/j1Kf3L093uyvHiEsklLZeSJ74VloEb2k +PhIEJX+J9Oox1CRF5sIiA+Qs+pNWmP67H/IxDL0UglXwwAocuC0Hqu25qTEYBSHiuacV8+YzuKHa eTLaNeyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFEE-0000000DpN9-3Vcz; Wed, 11 Dec 2024 05:25:42 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDC-0000000Dp2v-080k for linux-mediatek@lists.infradead.org; Wed, 11 Dec 2024 05:24:39 +0000 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-728d1a2f180so252375b3a.1 for ; Tue, 10 Dec 2024 21:24:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733894677; x=1734499477; 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=Jun60MmpzFO+KyxqgW/fdFZZGJL7nbsZCnl87/9ABDo=; b=lO0rmazp5TKs25tg6u8oSKqs1pxHm8tGfCp9wOeYzjT4Fi0H1EHZ43ExTjOfxjMzLx U7NJXQDM0m4Z+yymmMcFhB1O1SdOjyR05LbNfFE75jm1kKTrQgJgc7P9Wz6e9r+VpQBo nx5gnaSB4ypkGw+YDZKRbRgZ+w/2Pyd7l2d44= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733894677; x=1734499477; 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=Jun60MmpzFO+KyxqgW/fdFZZGJL7nbsZCnl87/9ABDo=; b=QH6kiqzLa7aCzwCEAAQbCvAV15J5sfJCbS/MTvB+tku3dlnunUbNNWLJfVR3Kfyz7c Iz4s3o69ym0diy7ZzGGnr85Io/lRH1uLil//a2K4E7AEOmd8ll4Yyl3hgT82lufqxh6c Mocz6vmgTxaeBUpl8dtuBQ5hspigj7ksQEHQsW8ya7/Pz0Rb+ZithQlTcRMx95j1ec/t DR0N/JlI0sGmfAGbRDu9nP3/tIVLv5cOCktTVbHXUubwoVIaz1v5fal1GvQImiud0n3k A4l9HqqrHw93kH3DTk2vdqstPa5ogFKcG9+tfKxZKmreoWOqAUcFcI2NfryXHS6KC6bw ALBw== X-Forwarded-Encrypted: i=1; AJvYcCXNUzoNfIf0V2PdSwfLix4JjYz8TyvDRY/rudMoRZZn6LrpgYgfqwCWe61R2hUIFFOeUvqE9mOvviFkpvNtFw==@lists.infradead.org X-Gm-Message-State: AOJu0YyQGPAl6TJlSjnjhz9QGKNMkyxjOX5HK8r3pncBzL/Vb5nl+nu+ ltT3nHs3oijwNPrfvH1c7uTFkmm96GQSR26PlR8MJLUQyYl89HtuJZr/xpABBQ== X-Gm-Gg: ASbGncs5zSVCvt/EPi6JFfrcBZODZUWIcC1FoNqB8cv65Nwj9Pz9nrRUspnAyaFggpd qqugnRACuLXp2xolFLYyMUEJ3ygCv6FPh0Io/FTJXoLpvTIohaOVozfbHXM5VJw3sGLnpYGtCID kafAk85O0RFdF2I+mywftsocf1tRPH2sztnJSgqZUezKD8gYugMDE2jbapuZqp/gbhMiyAzDhFA KlMPdb/KC1zcIo5hQW8FknVAajg02C7VHMHkUBFaKVr7ixDi6hCNgEa3rP9pr3hC40AfRas X-Google-Smtp-Source: AGHT+IGbqDRc3+clit5iH+/2d79c7sSOb6z0W5OMm5yS5wDnwt6aR/KeI2oLsBGyyaqwf97b+Km3wg== X-Received: by 2002:a05:6a00:3cc8:b0:725:4a1b:38ec with SMTP id d2e1a72fcca58-728edb5c343mr2486433b3a.3.1733894677079; Tue, 10 Dec 2024 21:24:37 -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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 21:24:36 -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 1/8] regulator: dt-bindings: mt6315: Drop regulator-compatible property Date: Wed, 11 Dec 2024 13:24:19 +0800 Message-ID: <20241211052427.4178367-2-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_212438_065302_A3DE226E X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 should not have been used for new submissions such as the MT6315. Drop the property from the MT6315 regulator binding and its examples. Fixes: 977fb5b58469 ("regulator: document binding for MT6315 regulator") Fixes: 6d435a94ba5b ("regulator: mt6315: Enforce regulator-compatible, not name") Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/regulator/mt6315-regulator.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml b/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml index cd4aa27218a1..fa6743bb269d 100644 --- a/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml @@ -35,10 +35,6 @@ properties: $ref: regulator.yaml# unevaluatedProperties: false - properties: - regulator-compatible: - pattern: "^vbuck[1-4]$" - additionalProperties: false required: @@ -56,7 +52,6 @@ examples: regulators { vbuck1 { - regulator-compatible = "vbuck1"; regulator-min-microvolt = <300000>; regulator-max-microvolt = <1193750>; regulator-enable-ramp-delay = <256>; @@ -64,7 +59,6 @@ examples: }; vbuck3 { - regulator-compatible = "vbuck3"; regulator-min-microvolt = <300000>; regulator-max-microvolt = <1193750>; regulator-enable-ramp-delay = <256>; From patchwork Wed Dec 11 05:24:20 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: 13902932 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 8A6CDE7717D for ; Wed, 11 Dec 2024 05:26:46 +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=VajpwNXgLRwnVxUzuVzg5zr/x+BvIvcxvW3/imNa1GE=; b=bcvk9SM1yxjelmceWRsx9YsJqX kTmTf2x8AXT2NxN/hnILmvYvY5eQ0czqDIfia64wsuyIds3y7t23TDPcD5CjQVFTk8md0luUR5pYq kWo2vhVqew2i+B11WpDrrthHsoEPBvnZ0xto80+iObcj0zcTJtbe1q8K6EqiIU5QaEX20kreFd8ru E2seMp/EeHlkJzptsV7YudXRoUinz8x79iVYu9rv13Zar3TwTGXE4U/uV6qlf8N6J4uJCKrEO8zkQ wjIsF4QvmzhJwO73laDhTSTGuhWyUHxBpjWUMYib9GTGE25sd9JiRO43oonf8aGMxv0pgZwbBVPTk kukeltRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFFF-0000000DpcH-2yWZ; Wed, 11 Dec 2024 05:26:45 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDE-0000000Dp3f-2di5 for linux-mediatek@lists.infradead.org; Wed, 11 Dec 2024 05:24:41 +0000 Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-7ea8de14848so4022818a12.2 for ; Tue, 10 Dec 2024 21:24:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733894680; x=1734499480; 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=VajpwNXgLRwnVxUzuVzg5zr/x+BvIvcxvW3/imNa1GE=; b=In0X1xABBOderg0uL/2502ZP05e5MLrXidvixJsam3qUjt8xZcwiGohzbThAkWr5XH nYmvzR5nhmoFgXpq0epSGMqcPPTu06788sD5sSwuus3kRoLe75B/LILHDp9sHOiTEkRq 5sDVWZcXo3Xncca9AQUXr26qlcGnjPSVfDwQY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733894680; x=1734499480; 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=VajpwNXgLRwnVxUzuVzg5zr/x+BvIvcxvW3/imNa1GE=; b=VQCUTQDK1r0pB/GP8rQ/c+82GagovkF95hZ5la87XIjLtAH2x4PnRc2Mp9BuLhzTHw B5CcBb/A82v7O+hb+ZeJZRU1CvVTGIgqAvvuH2KhSG1mX1DUP36L15ftLGdaNgCG7XJp IEyV2IKu6LZxZK38PkUt5P3AmlaTU5jeav9OlWjM8fdi04D4jpvoEAwznXWghataaiiw TnBjQhc2qwe45Bh6i7M3thRAEDA3ykBosZQNijbHxcva9qbJqEL64eBoWEoIBXEpjRLa AqB/toLxJYmCEGK6Z0UVEHzL5Eda51C3fGWdTcj1PY1FV1V9zVTTRd1DJrB733UvKnMD gd3w== X-Forwarded-Encrypted: i=1; AJvYcCXZzVybqELJp9dvzAxYiqUqSGpxl1K7PEuT7zo6HmWBpIaX9sxuvc13SovVFn//sC/VijIaFtaGoYGYVR63TA==@lists.infradead.org X-Gm-Message-State: AOJu0Yzu2+0nu3MzIpwBQAkgS+1b+s91F8NQkjbultLFLM+JiUgJPl8c s8tI46j7q+/Nt3GkhdjsgPO5mq5Na1aPnmEuuPk9sfnA4FsyboiTMhp2XRxZmg== X-Gm-Gg: ASbGnctWb4YR1ILiFGYgQftqWBCHiu/FWkHCD9TQ/8C7m9U6LHAuTcGxwgpWAnOMyCR /+cx3toWDKy/tctPUiUjtCI/I8OkslubVol1RcdKhiGyv4RR2qHXLwRFIi9nA694W+ICEaAJ+mz Ak4EVcKUxxarNGWnJCsTCobVrlbD/122KCLnJUq/Ir2lxWtUVTSw9nprvF+5m+YVf2YWD9sggFH F//Sd1K52lDbm7DS5YJYpT7szanHekk4VHNYrq/lkYEE4njcrBScRBNwkSohEAHdZEifSPH X-Google-Smtp-Source: AGHT+IGHa9pLW8AmgWmPpkt2d3AMc62yA8lmyj5k97y8xXtFztxBU4CrT22oxWpzrhhtYTUKJaIAkg== X-Received: by 2002:a05:6a20:d50c:b0:1e0:d7ec:5aae with SMTP id adf61e73a8af0-1e1c126ef4dmr3311686637.4.1733894679722; Tue, 10 Dec 2024 21:24:39 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 21:24:39 -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 2/8] arm64: dts: mediatek: mt8173-evb: Drop regulator-compatible property Date: Wed, 11 Dec 2024 13:24:20 +0800 Message-ID: <20241211052427.4178367-3-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_212440_668544_20EF8A35 X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 MT6397 regulator bindings. Having them present produces a whole bunch of validation errors: Unevaluated properties are not allowed ('regulator-compatible' was unexpected) Drop the "regulator-compatible" property from the board dts. The property values are the same as the node name, so everything should continue to work. Fixes: 16ea61fc5614 ("arm64: dts: mt8173-evb: Add PMIC support") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 23 --------------------- 1 file changed, 23 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts index bb4671c18e3b..511c16cb1d59 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts @@ -311,7 +311,6 @@ mt6397regulator: mt6397regulator { compatible = "mediatek,mt6397-regulator"; mt6397_vpca15_reg: buck_vpca15 { - regulator-compatible = "buck_vpca15"; regulator-name = "vpca15"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -320,7 +319,6 @@ mt6397_vpca15_reg: buck_vpca15 { }; mt6397_vpca7_reg: buck_vpca7 { - regulator-compatible = "buck_vpca7"; regulator-name = "vpca7"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -329,7 +327,6 @@ mt6397_vpca7_reg: buck_vpca7 { }; mt6397_vsramca15_reg: buck_vsramca15 { - regulator-compatible = "buck_vsramca15"; regulator-name = "vsramca15"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -338,7 +335,6 @@ mt6397_vsramca15_reg: buck_vsramca15 { }; mt6397_vsramca7_reg: buck_vsramca7 { - regulator-compatible = "buck_vsramca7"; regulator-name = "vsramca7"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -347,7 +343,6 @@ mt6397_vsramca7_reg: buck_vsramca7 { }; mt6397_vcore_reg: buck_vcore { - regulator-compatible = "buck_vcore"; regulator-name = "vcore"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -356,7 +351,6 @@ mt6397_vcore_reg: buck_vcore { }; mt6397_vgpu_reg: buck_vgpu { - regulator-compatible = "buck_vgpu"; regulator-name = "vgpu"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -365,7 +359,6 @@ mt6397_vgpu_reg: buck_vgpu { }; mt6397_vdrm_reg: buck_vdrm { - regulator-compatible = "buck_vdrm"; regulator-name = "vdrm"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1400000>; @@ -374,7 +367,6 @@ mt6397_vdrm_reg: buck_vdrm { }; mt6397_vio18_reg: buck_vio18 { - regulator-compatible = "buck_vio18"; regulator-name = "vio18"; regulator-min-microvolt = <1620000>; regulator-max-microvolt = <1980000>; @@ -383,19 +375,16 @@ mt6397_vio18_reg: buck_vio18 { }; mt6397_vtcxo_reg: ldo_vtcxo { - regulator-compatible = "ldo_vtcxo"; regulator-name = "vtcxo"; regulator-always-on; }; mt6397_va28_reg: ldo_va28 { - regulator-compatible = "ldo_va28"; regulator-name = "va28"; regulator-always-on; }; mt6397_vcama_reg: ldo_vcama { - regulator-compatible = "ldo_vcama"; regulator-name = "vcama"; regulator-min-microvolt = <1500000>; regulator-max-microvolt = <2800000>; @@ -403,18 +392,15 @@ mt6397_vcama_reg: ldo_vcama { }; mt6397_vio28_reg: ldo_vio28 { - regulator-compatible = "ldo_vio28"; regulator-name = "vio28"; regulator-always-on; }; mt6397_vusb_reg: ldo_vusb { - regulator-compatible = "ldo_vusb"; regulator-name = "vusb"; }; mt6397_vmc_reg: ldo_vmc { - regulator-compatible = "ldo_vmc"; regulator-name = "vmc"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; @@ -422,7 +408,6 @@ mt6397_vmc_reg: ldo_vmc { }; mt6397_vmch_reg: ldo_vmch { - regulator-compatible = "ldo_vmch"; regulator-name = "vmch"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3300000>; @@ -430,7 +415,6 @@ mt6397_vmch_reg: ldo_vmch { }; mt6397_vemc_3v3_reg: ldo_vemc3v3 { - regulator-compatible = "ldo_vemc3v3"; regulator-name = "vemc_3v3"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3300000>; @@ -438,7 +422,6 @@ mt6397_vemc_3v3_reg: ldo_vemc3v3 { }; mt6397_vgp1_reg: ldo_vgp1 { - regulator-compatible = "ldo_vgp1"; regulator-name = "vcamd"; regulator-min-microvolt = <1220000>; regulator-max-microvolt = <3300000>; @@ -446,7 +429,6 @@ mt6397_vgp1_reg: ldo_vgp1 { }; mt6397_vgp2_reg: ldo_vgp2 { - regulator-compatible = "ldo_vgp2"; regulator-name = "vcamio"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <3300000>; @@ -454,7 +436,6 @@ mt6397_vgp2_reg: ldo_vgp2 { }; mt6397_vgp3_reg: ldo_vgp3 { - regulator-compatible = "ldo_vgp3"; regulator-name = "vcamaf"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3300000>; @@ -462,7 +443,6 @@ mt6397_vgp3_reg: ldo_vgp3 { }; mt6397_vgp4_reg: ldo_vgp4 { - regulator-compatible = "ldo_vgp4"; regulator-name = "vgp4"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3300000>; @@ -470,7 +450,6 @@ mt6397_vgp4_reg: ldo_vgp4 { }; mt6397_vgp5_reg: ldo_vgp5 { - regulator-compatible = "ldo_vgp5"; regulator-name = "vgp5"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3000000>; @@ -478,7 +457,6 @@ mt6397_vgp5_reg: ldo_vgp5 { }; mt6397_vgp6_reg: ldo_vgp6 { - regulator-compatible = "ldo_vgp6"; regulator-name = "vgp6"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3300000>; @@ -486,7 +464,6 @@ mt6397_vgp6_reg: ldo_vgp6 { }; mt6397_vibr_reg: ldo_vibr { - regulator-compatible = "ldo_vibr"; regulator-name = "vibr"; regulator-min-microvolt = <1300000>; regulator-max-microvolt = <3300000>; From patchwork Wed Dec 11 05:24:21 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: 13902933 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 B6652E7717D for ; Wed, 11 Dec 2024 05:27:50 +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=tY7r3wEjIkXTlIAMLJz+ui9MVhaOPU6f72Mx3sHGkok=; b=1MGL7VkDxFppoaYT7Mz2V0SsSJ 0kAj5FWDcLqdmzqPy255k69Te1LZewkMybZ2BBQpGvrmZzkN1B3TTAaeH2y84zY+PxyTvp3Rg1vau c3OXNefh2NuTyq1VS74Zlvb86ejcwDlzv+F/65ObHWS0m7pYszN4yC2XrOmwl/HMdrraUPnxiBdou Hu0GKLNiNyyOgjmbOLlC/hhmGx2DB7kqINeZavIGlvw7w6seNjbZt2VJdd3JwdcogHSvDgsQH10HT bSDE3W9GdGsglU1NkODRXABWBO+Y/UjHu/xOhfNP4KvOFOEmNXaHq3TflGCh1j5geQg2dBycLhwgh OtjdNILw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFGH-0000000Dpkl-3lZW; Wed, 11 Dec 2024 05:27:49 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDH-0000000Dp4U-19MX for linux-mediatek@lists.infradead.org; Wed, 11 Dec 2024 05:24:44 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-725e71a11f7so245468b3a.1 for ; Tue, 10 Dec 2024 21:24:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733894682; x=1734499482; 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=tY7r3wEjIkXTlIAMLJz+ui9MVhaOPU6f72Mx3sHGkok=; b=NbY/eJKOGPo3xdBz+8EBHpXdtiOlrR1/Jp1fRWfpapy5aV+Ox6OUj3ZdUJMhPErrNS qsomXVf4dQfhJHxa4BplOjT/yAlj/4nYVfbsqefU1zc6j97vdlW6C6yTtTczOXM8duPs xC51J3GU6tJBGkyumj0KTDQ6LPnAXWTCcl6SY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733894682; x=1734499482; 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=tY7r3wEjIkXTlIAMLJz+ui9MVhaOPU6f72Mx3sHGkok=; b=kVnXzUsViN/LFUGClKpsMfECdolGLGxZCiBVPtPV337zND2RR2LP1MATCR1gKg0CfZ CHhrYVieidwajMJ4eWVp7TnRlvLexPBVCcbOO6GpyvCG5k76HSTtxTzc9SFKVK7YnRy3 CCe3xqyiT6+vcU/pD1ZBnr2k+xZRJiowN1d1X2gD7LqwE1tN7hIy8yeXA7GoM0KSQMxk al3AU5cF2YAQW+4GLANn5lSMLLDafgZalw2mpET0Yy91Ksh9oxtNNOP4vt+NFDWnq8XN iXGO5BryehCOuUa98KDYBcCkXVvrt1+9vPYN72ytRUhR2qatcCAMYCHRUgU2IO+4+Q1Z OYBQ== X-Forwarded-Encrypted: i=1; AJvYcCWygpnhXLJRqMGmebRRsSZ5q5c49GZbOCwXXW8gajs61HA1Sw7xscA3swnUNMwt00WOClYUsinznIFrw6bDTA==@lists.infradead.org X-Gm-Message-State: AOJu0Yw3eQIZP/DlJVXFmaa5WWKbsn24Mhqp4YaIznDEbnMakbJ4xNIK hiR7cVuh60kkdvlPhtyqE/NVYVKLiWaBCiAL1WNC2ypAzLM59HbYGLUJqZ6JFQ== X-Gm-Gg: ASbGncsuGvwNse+mlonztxPg7ZIE8sGFZeo7KN5Dbcy+NORx3W0xGL6JWpCnMDBZN9t iQK/nPe2CB0ZYTaQ5esvzacY0tOSGkBocgQmXl6eas8ROsmTpf6Jp0+acLhLq+JPjtXPR65diuy j/OncS7+4jW4xal+CZht8utkqN/Imce846jLHIjdtbdy+jFN6ghFxDmSxJ2vkDO2v93jX/tErcO cVefSQDOiY60E81455iudnL/iJF8PT4K19ih8h8GAK6DxHEaW1kELIuM3W93D1DKwQ+r+BD X-Google-Smtp-Source: AGHT+IHPBmMY46nd40L9l8B7rqf5OCepHo36t8dy/i4aNYeTnSBw7vMG0JUR5wQ8qEOw6/U4VQW7Bg== X-Received: by 2002:a05:6a20:d8b:b0:1e1:a48f:1212 with SMTP id adf61e73a8af0-1e1c26a8ecbmr2331768637.4.1733894682401; Tue, 10 Dec 2024 21:24:42 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 21:24:42 -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 3/8] arm64: dts: mediatek: mt8173-elm: Drop regulator-compatible property Date: Wed, 11 Dec 2024 13:24:21 +0800 Message-ID: <20241211052427.4178367-4-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_212443_311545_AF213E0D X-CRM114-Status: GOOD ( 10.83 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 MT6397 regulator bindings. Having them present produces a whole bunch of validation errors: Unevaluated properties are not allowed ('regulator-compatible' was unexpected) Drop the "regulator-compatible" property from the board dts. The property values are the same as the node name, so everything should continue to work. Fixes: 689b937bedde ("arm64: dts: mediatek: add mt8173 elm and hana board") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 23 -------------------- 1 file changed, 23 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index eee64461421f..b91072f4723f 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -946,7 +946,6 @@ regulator: mt6397regulator { compatible = "mediatek,mt6397-regulator"; mt6397_vpca15_reg: buck_vpca15 { - regulator-compatible = "buck_vpca15"; regulator-name = "vpca15"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -956,7 +955,6 @@ mt6397_vpca15_reg: buck_vpca15 { }; mt6397_vpca7_reg: buck_vpca7 { - regulator-compatible = "buck_vpca7"; regulator-name = "vpca7"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -966,7 +964,6 @@ mt6397_vpca7_reg: buck_vpca7 { }; mt6397_vsramca15_reg: buck_vsramca15 { - regulator-compatible = "buck_vsramca15"; regulator-name = "vsramca15"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -975,7 +972,6 @@ mt6397_vsramca15_reg: buck_vsramca15 { }; mt6397_vsramca7_reg: buck_vsramca7 { - regulator-compatible = "buck_vsramca7"; regulator-name = "vsramca7"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -984,7 +980,6 @@ mt6397_vsramca7_reg: buck_vsramca7 { }; mt6397_vcore_reg: buck_vcore { - regulator-compatible = "buck_vcore"; regulator-name = "vcore"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -993,7 +988,6 @@ mt6397_vcore_reg: buck_vcore { }; mt6397_vgpu_reg: buck_vgpu { - regulator-compatible = "buck_vgpu"; regulator-name = "vgpu"; regulator-min-microvolt = < 700000>; regulator-max-microvolt = <1350000>; @@ -1002,7 +996,6 @@ mt6397_vgpu_reg: buck_vgpu { }; mt6397_vdrm_reg: buck_vdrm { - regulator-compatible = "buck_vdrm"; regulator-name = "vdrm"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1400000>; @@ -1011,7 +1004,6 @@ mt6397_vdrm_reg: buck_vdrm { }; mt6397_vio18_reg: buck_vio18 { - regulator-compatible = "buck_vio18"; regulator-name = "vio18"; regulator-min-microvolt = <1620000>; regulator-max-microvolt = <1980000>; @@ -1020,18 +1012,15 @@ mt6397_vio18_reg: buck_vio18 { }; mt6397_vtcxo_reg: ldo_vtcxo { - regulator-compatible = "ldo_vtcxo"; regulator-name = "vtcxo"; regulator-always-on; }; mt6397_va28_reg: ldo_va28 { - regulator-compatible = "ldo_va28"; regulator-name = "va28"; }; mt6397_vcama_reg: ldo_vcama { - regulator-compatible = "ldo_vcama"; regulator-name = "vcama"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -1039,18 +1028,15 @@ mt6397_vcama_reg: ldo_vcama { }; mt6397_vio28_reg: ldo_vio28 { - regulator-compatible = "ldo_vio28"; regulator-name = "vio28"; regulator-always-on; }; mt6397_vusb_reg: ldo_vusb { - regulator-compatible = "ldo_vusb"; regulator-name = "vusb"; }; mt6397_vmc_reg: ldo_vmc { - regulator-compatible = "ldo_vmc"; regulator-name = "vmc"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; @@ -1058,7 +1044,6 @@ mt6397_vmc_reg: ldo_vmc { }; mt6397_vmch_reg: ldo_vmch { - regulator-compatible = "ldo_vmch"; regulator-name = "vmch"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3300000>; @@ -1066,7 +1051,6 @@ mt6397_vmch_reg: ldo_vmch { }; mt6397_vemc_3v3_reg: ldo_vemc3v3 { - regulator-compatible = "ldo_vemc3v3"; regulator-name = "vemc_3v3"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3300000>; @@ -1074,7 +1058,6 @@ mt6397_vemc_3v3_reg: ldo_vemc3v3 { }; mt6397_vgp1_reg: ldo_vgp1 { - regulator-compatible = "ldo_vgp1"; regulator-name = "vcamd"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -1082,7 +1065,6 @@ mt6397_vgp1_reg: ldo_vgp1 { }; mt6397_vgp2_reg: ldo_vgp2 { - regulator-compatible = "ldo_vgp2"; regulator-name = "vcamio"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; @@ -1090,7 +1072,6 @@ mt6397_vgp2_reg: ldo_vgp2 { }; mt6397_vgp3_reg: ldo_vgp3 { - regulator-compatible = "ldo_vgp3"; regulator-name = "vcamaf"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -1098,7 +1079,6 @@ mt6397_vgp3_reg: ldo_vgp3 { }; mt6397_vgp4_reg: ldo_vgp4 { - regulator-compatible = "ldo_vgp4"; regulator-name = "vgp4"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3300000>; @@ -1106,7 +1086,6 @@ mt6397_vgp4_reg: ldo_vgp4 { }; mt6397_vgp5_reg: ldo_vgp5 { - regulator-compatible = "ldo_vgp5"; regulator-name = "vgp5"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3000000>; @@ -1114,7 +1093,6 @@ mt6397_vgp5_reg: ldo_vgp5 { }; mt6397_vgp6_reg: ldo_vgp6 { - regulator-compatible = "ldo_vgp6"; regulator-name = "vgp6"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; @@ -1123,7 +1101,6 @@ mt6397_vgp6_reg: ldo_vgp6 { }; mt6397_vibr_reg: ldo_vibr { - regulator-compatible = "ldo_vibr"; regulator-name = "vibr"; regulator-min-microvolt = <1300000>; regulator-max-microvolt = <3300000>; From patchwork Wed Dec 11 05:24:22 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: 13902943 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 3BAF6E7717D for ; Wed, 11 Dec 2024 05:29:57 +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=nsRd6GbIRJnWNHqT+PNa/aW5xM64tEdGNTQseKpNp3U=; b=mNG4u3ZzkdwDL0cJkZCqwoouI2 RnQo3EVkotefpkjJhVBLecZhwyeU6fU7hyb81jIEvABJFNHrsXNFP5mVN8BbB6bA03v3PjCkaXvX4 tQy0JE0NYY4n09H8ktHrtzurS3RONEkuslJO3CZG+vuFSGgT6kHu/EoJbBLwofTtaz+Y/gWTruwXB +zR1/1xRFYuKO61fkVwnpH1uxYW2inFX0zHdPSWOXx90SbL/xkZZctumdM1zrxKyDlmJKV4KOpXxN C1QN8zFd+IFlnEo0dw363NGb2ES+z3JNBFmTzQ83bjhFV6Z/4vS2SxsZWt1DYvLg47kp00Xd21AJ4 sWDRFRFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFIK-0000000Dq2G-1qnz; Wed, 11 Dec 2024 05:29:56 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDJ-0000000Dp5H-3jtj for linux-mediatek@lists.infradead.org; Wed, 11 Dec 2024 05:24:47 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-728d1a2f180so252419b3a.1 for ; Tue, 10 Dec 2024 21:24:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733894685; x=1734499485; 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=nsRd6GbIRJnWNHqT+PNa/aW5xM64tEdGNTQseKpNp3U=; b=RXqpltN/Dyk9HEzFHxsXck/kdbz8zBufKMawZQm3MpbnhlzonFuowaXVNDP4FjN8kW qUy72DjGbKCdYhNRQ6UVsUiU0oK7ru0E19n/PD1HWNKU0p+ory9nq2ieotuomZXzm34M mvX4ZXQXeAVirye7KmDMVkI5YX9CNGrzqCpms= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733894685; x=1734499485; 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=nsRd6GbIRJnWNHqT+PNa/aW5xM64tEdGNTQseKpNp3U=; b=Myq7u+kAB+ZL3OwduS+Wbak0G8b3C8z9mnzwRLM7VAZZAlmeFBRwfyoNw84uTxBVGo t6dKYacSEGzABksJ/HRTaH5d/2vZ2WPdVgTs633viXeFjUF0Gt08MdNImTVcp7VEZpkE EcYGyEh+OiTdUwWhPx734bDgGundXSCsRtSN4DX8Wc1GVyE3rtMYPkg0smkdtWj7FpVq d51NcXtfHcM2S089Z7lb8yrX/Qzyw8iGM9GEV/vPAucAArYYuLdw0Wf+71Bqj3nccseX jM2WIyfOcxAtO+sHtnBI4fZTnNIi9eDEhtgGtc9WJ1armN5RTAeC9S2xfAbmX/8sbRtM uQrg== X-Forwarded-Encrypted: i=1; AJvYcCX1f4QHmJpIfAeHUoGgEQm0coTHfeP0qae95QLicBu5ytZ30tCgs+EraBo4SSsY2q/4cvXmc782Rl/VPlV+pA==@lists.infradead.org X-Gm-Message-State: AOJu0Yw5j0Rn5gE5yecI/pE9kn/cKHP9C6iZ8zVKf/6Jo6j/efaXR1kV heYSHuWXLC7xq8nwAE2YDYP+wps0uI9cytdf748KoPwhX4X/2GaMEYiZS4YFsA== X-Gm-Gg: ASbGnctpB8vvR6qhSBYM2PmSS5gggVXq7/jy7w73BccUIiq3x/mRrtGz+/e9LlbCP4v sNnuTm2qTcohR1KC210Wn3sr0hWliI/lSDkHAMFLt/imtbKCwJOOkztIvSP2HB4UQhOdYYHpSjM S6bJspRyeWdPiEfFSu0WxI14DDqPlFviJl8prK/bWjjs+ah402khZrM79TsiLRHONouMv5a6X3J kctl7x6jMDYfBVPe+2yTvOlA1pU3FluWvePdeeJwELTv68TWCDYhLjFJVSt3PkQp5j14P/u X-Google-Smtp-Source: AGHT+IFFxMXga6SeAVOQ7rY1CRuplpzUNVLLhXZiU0yZmrw4h4sktygVKCOPI2atcjtR3UsWVfl7nw== X-Received: by 2002:a05:6a00:c92:b0:725:e3e5:624f with SMTP id d2e1a72fcca58-728eda6a3fbmr2265644b3a.0.1733894685041; Tue, 10 Dec 2024 21:24:45 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 21:24:44 -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 4/8] arm64: dts: mediatek: mt8192-asurada: Drop regulator-compatible property Date: Wed, 11 Dec 2024 13:24:22 +0800 Message-ID: <20241211052427.4178367-5-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_212445_926735_F07653F4 X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 should not have been used for new submissions such as the MT6315. Drop the "regulator-compatible" property from the board dts. The property values are the same as the node name, so everything should continue to work. Fixes: 3183cb62b033 ("arm64: dts: mediatek: asurada: Add SPMI regulators") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi index 741af6a7f197..516fba9b3c6d 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi @@ -1580,7 +1580,6 @@ mt6315_6: pmic@6 { regulators { mt6315_6_vbuck1: vbuck1 { - regulator-compatible = "vbuck1"; regulator-name = "Vbcpu"; regulator-min-microvolt = <400000>; regulator-max-microvolt = <1193750>; @@ -1590,7 +1589,6 @@ mt6315_6_vbuck1: vbuck1 { }; mt6315_6_vbuck3: vbuck3 { - regulator-compatible = "vbuck3"; regulator-name = "Vlcpu"; regulator-min-microvolt = <400000>; regulator-max-microvolt = <1193750>; @@ -1607,7 +1605,6 @@ mt6315_7: pmic@7 { regulators { mt6315_7_vbuck1: vbuck1 { - regulator-compatible = "vbuck1"; regulator-name = "Vgpu"; regulator-min-microvolt = <400000>; regulator-max-microvolt = <800000>; From patchwork Wed Dec 11 05:24:23 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: 13902944 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 A0538E77182 for ; Wed, 11 Dec 2024 05:29:57 +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=+37Ej0Mm9yXagdLEw7xP+d3kLglfqR3xptBmnje5WIo=; b=VRew8G4KRVJaJVedmb7bK29Kdb pgmVSttPWRT072771W8MlOIVN28ls0Jucmd1wSd8oTxSQiLCCQvdIWBJQbKrgVNH0fY2cbNRHuqgR /lI1NqGoNO1f3p8omGz4UgaqfWjYEN3SLlcZS6DAjQ0EpXVtYNzJtX0Gt8JIvIMV59aN4gVF8mMfa TiwXFaKj2K3U6I0dxL7MIik4Xy1iopAQR1kgzUdAbz7zTsrbr6D5B/JpCQf4p7aIruDb9wFi3B5QU z3YyedBmZNRq0JrCHDImHM9/L4vu4svpXjt1WPgBSZHk//FMo28OfXtlj1GmdDu0rkvofpGD3OJ3o O242OVTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFIK-0000000Dq2Q-36rU; Wed, 11 Dec 2024 05:29:56 +0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDM-0000000Dp7N-2CCX for linux-mediatek@lists.infradead.org; Wed, 11 Dec 2024 05:24:49 +0000 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-7fdc6e04411so1321970a12.2 for ; Tue, 10 Dec 2024 21:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733894687; x=1734499487; 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=+37Ej0Mm9yXagdLEw7xP+d3kLglfqR3xptBmnje5WIo=; b=ewwhL/Rx9lAgMht63bFWTs8cwhfuZcK2LTI5GtNb5nAFx1SCpnyTtuXJS4K0Nygp7V yK9FmWFOVRNdI0X7d0lQpva801j5WSiOVLUnkmTbmKa+hrvS0OUNXHikWpYBRxBWqZMj 9BlN2PRSMZN0QFz+2YJLLahb3OD/iQ30tM62M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733894687; x=1734499487; 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=+37Ej0Mm9yXagdLEw7xP+d3kLglfqR3xptBmnje5WIo=; b=IcpKC1k5CzwCaWL5SJ9Fk+X7T1mFuD3gdNIs47/eLGb5GQ25zSt949v60ogJnlAJTX IB+FJI338FQ7WfSkQa44l8sfDsggYyBqSFkPYsZna/UH31B8gsvtDqoJ9o5l0xzByf/p HEM5XvL6Nf6PH8IyiMVYP0X1sImy5MMORuB9t6G7dYi2TZIDlv6r2CQR+t/1ImJOa7BE AfLJlt1XNAA5ldHXGfqJjdGQpDhniOm2ORwF+u+laZIassQ9yY/oA13gaf1S4OLefDaD wpBvk+Nn/95Qbc2HIDLhqfPN5h8SVmdYWR1yjkJJ8Yf8YP80ust07P25neFiH5CP5Zso IQjw== X-Forwarded-Encrypted: i=1; AJvYcCV71JVfRcvxRyKciJhuFaJ8vWfirfv5ET6a0yyPwpPRkAqmYfrynpEwOxyAN+FyQy9EY34sKrIiUmrCSfDNMg==@lists.infradead.org X-Gm-Message-State: AOJu0YxmYVUmT2bAAcnomALMJMSyDHWhNp7FMDVrhuqxuO8kn0bi6ITI w98QlhlK/A727+8Zi8ZAvS4ov54xhSn3AAVC8oQ5wtWsKJ7Udr5oV0QNLTPyPQ== X-Gm-Gg: ASbGncvIdP3OR/m85t09w3HdyJhA3U3csneFiuX4BW5EEfKRkY/0IsAn8Lj1/5NIBUr VxDyIlu63dJYq5VlHcJp/E90a8Us/rpCQsYc0Wr5Q2S/UdHt0Ihizie1cg9NlFJw5hhIamu9yri kEr9fzxN7VfaU182+cIYC3pZgdX0t/x2TX0FUhlVvTnnd5hP/8sJedQTGlINXzbYiNhC8zjv+a+ appYQSzBIHzFM3sUlG2e4mo+cVG5hacqk6PRbqOhc/9lfeqNQHSRwj/QiIjT5FIp5n72zBo X-Google-Smtp-Source: AGHT+IEnDOL+LPNNcjtycQIWGHlAJTgKm/mNrg0sjuKMLfoIK4R2jRd0ukkjYLye/s1Gfn5Kr4iv/A== X-Received: by 2002:a05:6a20:3d96:b0:1e1:b062:f403 with SMTP id adf61e73a8af0-1e1c1337146mr3393676637.34.1733894687682; Tue, 10 Dec 2024 21:24:47 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 21:24:47 -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 5/8] arm64: dts: mediatek: mt8195-cherry: Drop regulator-compatible property Date: Wed, 11 Dec 2024 13:24:23 +0800 Message-ID: <20241211052427.4178367-6-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_212448_560557_389EED1B X-CRM114-Status: GOOD ( 11.24 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 should not have been used for new submissions such as the MT6315. Drop the "regulator-compatible" property from the board dts. The property values are the same as the node name, so everything should continue to work. Fixes: 260c04d425eb ("arm64: dts: mediatek: cherry: Enable MT6315 regulators on SPMI bus") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi index 2c7b2223ee76..5056e07399e2 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi @@ -1285,7 +1285,6 @@ mt6315@6 { regulators { mt6315_6_vbuck1: vbuck1 { - regulator-compatible = "vbuck1"; regulator-name = "Vbcpu"; regulator-min-microvolt = <400000>; regulator-max-microvolt = <1193750>; @@ -1303,7 +1302,6 @@ mt6315@7 { regulators { mt6315_7_vbuck1: vbuck1 { - regulator-compatible = "vbuck1"; regulator-name = "Vgpu"; regulator-min-microvolt = <400000>; regulator-max-microvolt = <1193750>; 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: 13902945 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 B1D57E7717D for ; Wed, 11 Dec 2024 05:31:00 +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=edp7KJUiF6yRZi2PgKP3gvkD0z N5eWJxiXuPcAF5bJy6CEARf5Ldiq8qtcC1cfWDCgGyTnT77Qc9o4sonjal8tQofzIHlaTaLGa+BfR RwS+0OXF4Xnr/UY1uymWS0RNog0iFOZkcLvRUik6xMrMdVkb3zdTkIMSCYmlKz+CJVLNWpwKQP3/W dQr+mYGwaOxaSCmXlskO08t5kQ9GBgGPvsiVER7+Hme+F/YBVEgoDXOVduMiTzYt+5zXJmJgnp6Gb vmm0DVyeiT/WpJkD7TD+xy+PMbtoSFv/DfoXZO8xE6Q1VXypUxY4OxYIdL7+aidFLeTDbNFdOxNG6 EhFMtitw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFJL-0000000DqDw-31X3; Wed, 11 Dec 2024 05:30:59 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDO-0000000Dp8V-3H2m for linux-mediatek@lists.infradead.org; Wed, 11 Dec 2024 05:24:51 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-725e71a11f7so245524b3a.1 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=nOAkOyGvw7NzHnsETtovQp7fGBy2orAc8plksndWUWDHTBtyX7kox6DmW3Ysz4RZ/2 QW2U3cfQjOclWtN2VIkHsM443nMIOZmyuvf0aabcespEsYRBlyCQnrmjuFMsOlAORoKa bYRKvTqUvuD1Xe6/4tQ7IZD0ucBHnK3TdDUgHSwoq3/UxdYuaDdUwbn7xAHhqBAc+S1x EYkbP9M/ys16++go/bnbIGcEkjzUwuz2PvKqaFlCDUdJS82/W72SsRAK+fNCChkFGnAd fZdgS9b4cqd8+eEzojxTGK5jGkphmMl4Xy0cahGjvZ4WSgGhsgdRiZIMBRnpcTHYHmkt Ee6w== X-Forwarded-Encrypted: i=1; AJvYcCUEkYUL/91IgoPvHRUGedtatCBFDaKXiOUdnqV4cLU9rSsns1MzYrqTud1s/msWTdh2wPje25hbly8A/gGrTA==@lists.infradead.org X-Gm-Message-State: AOJu0YwYZ3wFritT5leiwoLcXaB/w9GhR6YLoVM+Ngh9azahz9uvjDSs oxAj2O0cZJv1gogcJfdc9InWIofJe1fOUWqTmHGR+n21WjUQaM2iIH6m5SP6jw== X-Gm-Gg: ASbGncvZ0Qe28kiqxoyEZnl/d1DBlu7r4h4MERr30TOA1koOiogGvmJbI6qE3G1VTEF ZyazpU9mzkemn5YLHgpz2v9BzOMk+w+tW8b+Y3Tbc5uDRuO13C51MNW06+9cJwrElxu7YPNNTOE 2880BaExtVzHPGR/WqhKXY1NsLq3kuTMuIM5UwhWqoSqpxrse7uwofi7WK//ieg5A31AIBGdgip vfrn/1uV8TBp7bnNQkQ/gVQyGmSg3nBIu7rd8OEC7fKYMasQMeCmWegCWwErs0bDYBUYrth 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_212450_817054_B9359649 X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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>; From patchwork Wed Dec 11 05:24:25 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: 13902946 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 CF7D1E7717D for ; Wed, 11 Dec 2024 05:32:03 +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=ToTdfUFmfxqqBVuM594sv5/lAPTiIQZKFHPkEQ17A1c=; b=4tyPN0t5o/2SCn4dznQjaBzuRm Ra8fSyad3YI0q2olo3m4/KCFFLevjqe5WxkVFFajy4b8rIfP+7vSbvnNUvFp3UZKwtm+2wzv4Z7FX +whq5gF1hXy/7dVywN8po/Rj7ZBQagTXEdemOe2p8ruMAGFNQUXyzz2A9RepZ0UoOVL2KxIKQyp/n T3IXr0vz/9gGIYK9iyRAttoZsvgs5Ub4oYq5mGAhPu2fKOFBWkhYvm6MITlNqVtJ8TRLPgRtr6YHy WaqLTF+KuvGGJt666jyk3pCzGj9E8C7T134uT/FPbkJJARcpLQddJ6bG2ErIkBmplVusm7YJtlgUs GlpeXb1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFKM-0000000DqNT-3sJD; Wed, 11 Dec 2024 05:32:02 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDR-0000000Dp9f-1hA4 for linux-mediatek@lists.infradead.org; Wed, 11 Dec 2024 05:24:54 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-728f337a921so24247b3a.3 for ; Tue, 10 Dec 2024 21:24:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733894693; x=1734499493; 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=ToTdfUFmfxqqBVuM594sv5/lAPTiIQZKFHPkEQ17A1c=; b=DUdXVVQhleKihfU0/9dNdZ+lSwMs51jH1xNmj5a/pH7WapHGQ7twtNegZXXjccQS8f PyDZqRHrzosXWrDseHb3RzelG1ay9vCRxun+hT7urWg7U/4Vuky0Z6BwgseR/jac4K8Z +X0OEOGoqZ85YTaUQFIJLZLwjtsY+XVljKxFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733894693; x=1734499493; 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=ToTdfUFmfxqqBVuM594sv5/lAPTiIQZKFHPkEQ17A1c=; b=CRq0woy/x0EpBPWcMDSLKi+QpCFeOtyyLzKcQ+/w9jJCei1/9nOeuOhYCbul+pb//2 iJyE66JnDwHdr6+MczdD/JLJfAcnDoQLu69Bvj47kenHyF0zIldVPiFA5EvRxlMa2dsg XE0fqaKZgqTI9zCpIa6AOitnC5DGaqFkIEwsKGtD5kDxxXvB/hMV0bguRykjm/ySpASw tLGjGyKmJ26tznPL4c89UU5s/cof+u4RHYFMMwKPGqhJuf5C5kqVC0mD2mVMElj1GoB5 bDDlYvTMbUA/xPFC/uD26ONHvRFdL4bltLXZZXou95kiFCicQxDSVDx0+dmOKVk/Yp8l LsZw== X-Forwarded-Encrypted: i=1; AJvYcCWvNETcQVvqHrM+gdeIH9r5V7MY7k4Y5kBlfHUcgW23ahMXtNDL9KHu9A5ya3uKvj05/pDAOxUJVFueZHBovw==@lists.infradead.org X-Gm-Message-State: AOJu0YyBKpAMcH1vmsgHgIFjVxEK1TikKU3mUVfmYLfqsaFkCms6u2/L VSaLiuqI+BFdCivHWo8H8Yfrx92zO6mgWfAl2GnzpMAcNOva/lGSAMooCPuiFw== X-Gm-Gg: ASbGnctWvFY6nXB3lmVBHUaGlCjiSS0htplghQevpyY2iBpzn5aviD5GB7C3kOuTf0t 275I+dU7TfFt/yLwVNpv/BfFmuknR3Wds9mlrqWBwFH2fsreVDc2qnYCKmFYy7I5OBXturVk8ih ZdkLMO09wuOdejMrQeKba4ESHwkAhnbFk/yDxPblVxEr09CstTVO83A43dFUdt+/F1YYV86i9iA CB+kKJ3W4uBhvPgF7NknQedMHhL8khktQaxiNICvOvrzWvimwyP881QfkhINax21ZCK/Sc8 X-Google-Smtp-Source: AGHT+IGlSrx9j4anjyHnvyNo1U+TCm1tsOqFjYIOo+mjUoxzwUz0kLYufreA4nXpiCewnzAxgBLNnA== X-Received: by 2002:a05:6a21:99a0:b0:1e1:a06b:375a with SMTP id adf61e73a8af0-1e1c1380cd4mr2924903637.35.1733894692966; Tue, 10 Dec 2024 21:24:52 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 21:24:52 -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 7/8] arm64: dts: medaitek: mt8395-nio-12l: Drop regulator-compatible property Date: Wed, 11 Dec 2024 13:24:25 +0800 Message-ID: <20241211052427.4178367-8-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_212453_444358_68BA3DA0 X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 should not have been used for new submissions such as the MT6315. Drop the "regulator-compatible" property from the board dts. The property values are the same as the node name, so everything should continue to work. Fixes: 96564b1e2ea4 ("arm64: dts: mediatek: Introduce the MT8395 Radxa NIO 12L board") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 2 -- 1 file changed, 2 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 14ec970c4e49..41dc34837b02 100644 --- a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts +++ b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts @@ -812,7 +812,6 @@ mt6315_6: pmic@6 { regulators { mt6315_6_vbuck1: vbuck1 { - regulator-compatible = "vbuck1"; regulator-name = "Vbcpu"; regulator-min-microvolt = <300000>; regulator-max-microvolt = <1193750>; @@ -829,7 +828,6 @@ mt6315_7: pmic@7 { regulators { mt6315_7_vbuck1: vbuck1 { - regulator-compatible = "vbuck1"; regulator-name = "Vgpu"; regulator-min-microvolt = <300000>; regulator-max-microvolt = <1193750>; From patchwork Wed Dec 11 05:24:26 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: 13902947 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 A958DE77180 for ; Wed, 11 Dec 2024 05:33:07 +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=mRYLo1XVsoZcdIe8JMdl8StALXaXVo/fdHv6b61KhZg=; b=CnoUv8THglmWWk42ZYcHxiacjI MVctXBJ156HfCNVuIhDA1jse+0kzOxcgJjb+Ksrg0UyLMwNNiFI+5JCbcQJiFmn8KMkptCT+EWx/h FyyLwYshFtmvZnaVrukERyOVL1oQjOnJP6gBF2kQNKIAEUP5F4R6kPlhctrepC9GTn2P2ZFzrNQrA kQA5u3CRfEAkjAQzBLL2FLS0wQrop+fXHTkR//y4B2d3dUQm9SmuIF0TrDwD47ULhX481eh+o6g2h TQbcmRZsNuqiEImZTguWKN4OaoAxa4plb9gA4jrt0RlKEDW7Nqq/wB9VEKsQJPlfYP7/XcJP4APAT 4eWW0gvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFLO-0000000DqXs-3MIf; Wed, 11 Dec 2024 05:33:06 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDU-0000000DpAz-1kzi for linux-mediatek@lists.infradead.org; Wed, 11 Dec 2024 05:24:57 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-725ecc42d43so2397630b3a.3 for ; Tue, 10 Dec 2024 21:24:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733894695; x=1734499495; 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=mRYLo1XVsoZcdIe8JMdl8StALXaXVo/fdHv6b61KhZg=; b=etpK22ujyWGhHho6th+4fkkiXJXyO09JPEfVZD3/2SNnWRZ6jkBoOVF0OPrF9D8r+B x78ywlnGchqr9hAoyDSzmyDUUS0HbbM//LdT5NdDRR0P2Lt1hwBEMocWZP2tLPaSG83G Sw8ZV5WCJS+acg0fRIKZ8WWnrCgWpsUqeymDY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733894695; x=1734499495; 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=mRYLo1XVsoZcdIe8JMdl8StALXaXVo/fdHv6b61KhZg=; b=KpAuwBJPm49FEemD91L6ioqCGAi4j1eoWywit2h0CCs3ZEml3B0imXSDEUia354DC9 Q6no7jWupAQx2K9Fr1Kk0LcNhkSYCz/GcBEiw+KHtJFaPIKRzQDPJIXt0R+KnZOWL0iC smgvGV+yLLqV2bhIx63jKLrrGGnlloFt0T/57P4kAyvJ/ijCKZz7Um+dBXeyG7dmn//I SZLFzP+NZ/YwNMbCeY/Fy8mDX1+RZ31IvIzflinZgf93Ugsc+ebPZJPSS5qOrZQuvKIw zX1iymgj3ygfdN3py2utFTUYP19djfHbUyJSoxkNMqXxFluZebKcefDXnTrNzBPxfas2 X+Pw== X-Forwarded-Encrypted: i=1; AJvYcCUo8vJ5nVbfgqfc8LdJaB08dibrHc3DPWC46+wnDmNSDdoK35w2YApQ+fgG4lVZ9Zeq4mUSofZq+LaXZJYjhQ==@lists.infradead.org X-Gm-Message-State: AOJu0Yyq4aj8ebc7Mz2+cHxVlRdNWhTpEambZg4P5rdbrzsfRAO/blQk 49j7Xfj46PGtosVE/FTeGFWe8X9LK6Su3Ysbo7joDI3C8R2Dmy/+JO+FpdAf/g== X-Gm-Gg: ASbGnctWcDwgVK/2vYqN1rgm2eTySg3ykABJO70IGT3L7lP3RUd0AC5fk14vNxwqAVe uwSBeWZYVykaXJvCnbqLtXTc+KW+PNGxGFTcJ3dWJfRiXfmRRJeFqj1nP24G5P/8H0YmCDoba6N cPY2Nfl3uK9V4GNbBBDOahZSq8z3GX4LPk4HYfknRJodqoFLC7SWcSmzpN09bDK6CQCAnF/1TNn KhyaqQayVBA/yN8fbSauvVyeyc+Fjr3E8Lmjmyua7U/1Vb1Nyi7gcC2ZXPTVoGyDmvU6ZBW X-Google-Smtp-Source: AGHT+IGcmT3GR4NnAQIsxi7y5dgBXEJxX3Yf6AWVmokkpdMshwchaRs79fYSgZNuL4uxCYG7JeSC7w== X-Received: by 2002:aa7:88c7:0:b0:725:ab14:6249 with SMTP id d2e1a72fcca58-728ed1bb30bmr2871732b3a.2.1733894695561; Tue, 10 Dec 2024 21:24:55 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 21:24:55 -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 8/8] arm64: dts: mediatek: mt8395-genio-1200-evk: Drop regulator-compatible property Date: Wed, 11 Dec 2024 13:24:26 +0800 Message-ID: <20241211052427.4178367-9-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_212456_453278_C9D77883 X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 should not have been used for new submissions such as the MT6315. Drop the "regulator-compatible" property from the board dts. The property values are the same as the node name, so everything should continue to work. Fixes: f2b543a191b6 ("arm64: dts: mediatek: add device-tree for Genio 1200 EVK board") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts b/arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts index 5f16fb820580..5950194c9ccb 100644 --- a/arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts +++ b/arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts @@ -835,7 +835,6 @@ mt6315_6: pmic@6 { regulators { mt6315_6_vbuck1: vbuck1 { - regulator-compatible = "vbuck1"; regulator-name = "Vbcpu"; regulator-min-microvolt = <300000>; regulator-max-microvolt = <1193750>; @@ -852,7 +851,6 @@ mt6315_7: pmic@7 { regulators { mt6315_7_vbuck1: vbuck1 { - regulator-compatible = "vbuck1"; regulator-name = "Vgpu"; regulator-min-microvolt = <546000>; regulator-max-microvolt = <787000>;