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: 13902935 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 08F3DE77180 for ; Wed, 11 Dec 2024 05:26:55 +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=MqrXc4k6CJAUOZq14uej8B/Y1H NZT39eUB7O+FEL85YKtYFOJW6UqJoUJ6+2s1lIDgzwLkUhfKsSYTFIGF8JzU1IjLurh+JcawDFZBe VDn1qhr1DsgqmQ5ZvdYPYAu1RHIgiU/dP64O/QkV3HkxZ2cUdtG61apMHd6j/qg5ot1nRtg1llreU Tzweaf/XQIlWmTI/7jLCNhs+TXMA3wgVMgCRVDZD9QAefa+0LBnOmLRsReOr3wG1usnodQIuAOSUG Q3/xvz5JfRGmoCwDRCVGSbwCawWZEjJlUooiTmszxXCjvDNK97eG7WEq/kmrSCYpmt3AE90yAtEDg pNMjoLyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFFF-0000000Dpc9-0zzG; Wed, 11 Dec 2024 05:26:45 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDC-0000000Dp2u-076q for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2024 05:24:39 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-728e78c4d7bso271413b3a.0 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=QoszZbLZc2nyNbG2499WrgjyeN258WA/sag7wlg6yVvqEt2n2Wt2oxvH/3r6+UW0FD 2NbDvNSphX8UsnFmO8wbuqq4lTTS8wJWeCXHzwiSrvljDCCi3qiIE0yhyB16q5Q7ORmZ vHS7oXh0J5yyUMPmIoOv7e2ZCHxV+Iq7+5LV+m/hdLGA/VvcK2KAgWyItzTg+hemVx+x PzXRSx4ujLSlNZPBCdWqtZkAz+I8r+vf0if+tVcf6woMaZNRwwDA5Y7lMA+RQiVweGoL bw3SC6o8ryj/AAQ/MdQNXAJCHiF9L7hAH7KyCFxmToTNMMJZ2+EaT6HT81gOhhrLvmTh ck2w== X-Forwarded-Encrypted: i=1; AJvYcCVX7tgHEVtQbTMd+yvgRLONEJrxDY7pT7ftp5R14VMf0LHBXfGc4blyT+0yihJVRtX3aVeJoz/SkotDaZFMxvfU@lists.infradead.org X-Gm-Message-State: AOJu0YyTdf2cCp6BMNj/S866A97RHoRF3wb7PgAMJSS0YhpuxfRQQ0I5 cABu7a9dvuZavSbCqt6F8kIfXnQVaMgmSZyqyaHkh1mycZ0T28snaDmeaFdCvw== X-Gm-Gg: ASbGncsHtakFwbMz1O+ur4GD58CZoZZ0Pk0t/FnQYaXm27oZ7GjydjATarQtrjPSIyb XQZVXs52wQMYfr0Bcdo6VOWqYdUVOgYE5wX/rLjptuS7W6ed+AnIvHWRQSMokBH6NvDgG1DAui+ K9DKHmQRexsxMFiijf7t1jdLpwE6oYHdp+rh2+bPKcOlPgAHVdXWve7vLo7QmMdGo8mLteFP09H /8yaaepOd568wmPe/Z5LHxXFPq5JAWQ/c+rFADpoMf208/LVrWaklbplkejF/xu8A9uU6a5 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_065755_12CF23C5 X-CRM114-Status: GOOD ( 10.88 ) 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 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: 13902936 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 E3985E7717D for ; Wed, 11 Dec 2024 05:28:01 +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=WXzn8BR0p11zCg5JWAEzax5ixw qtPm2j/mo62vF8Rxx+ZSoIPVRr2+WfD2Vs9/j7VNfJyQLYOAv9BV9AdaoEdyvpnTcWGFB1EeERs1h kpOBy1ybCmHO8PdiofB0bgvPO4mgyMdtvcshC40ixm90VsUzvPrgTlX/DgMEDDQJHm+zDN0yzwvUx K+5Cn6PuULUlUZvcrQpWyIuQYMvOsCfWdlujwNkm4DhUj8xz6EFNLVFrOE0/RhxTR0D3sjALgMA0i 2bS0dqHaozbEvRQ0/wEZROX2SKvEJg9KGc2UsZVAbJC7fLQ7lFrTJ41qUO8LWzQGEGXKDXaw2q8YO Bc4Utn3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFGH-0000000DpkV-1k5i; Wed, 11 Dec 2024 05:27:49 +0000 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDE-0000000Dp3g-2dlV for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2024 05:24:42 +0000 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-7fcf59a41ddso3943421a12.3 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=N6cKJAv0YTyoJRJ/HXlr5EXetb7iH1T6ZPcR4XQuyv8ZKgDm3fcVYNeGXMSB0SGGfT A7trXpeXwBg/teVgmYEG09U8nn5TM1+lvMwE2UIuzAFoEGm5vHtumF+WaosyBEIcsoou TimQkMD7du1HEt0z5AWv34cEbNcLRjnkvYdoR2MSd1SaUw9NJSbTejJSarrtPutxdjFC 8v+7ws93np9NgLu2PubIWjN4Ogn7WVJFQwNe7Nu6xwZ/TRjtiI6t9QGhxRqXcU2DG0By oxInJIDDsqQfSAA2BySYDKtMK3pFq+7/Yw8iY6uNMkhkovAk995EeK1kZfEl0+iQEf7v hELg== X-Forwarded-Encrypted: i=1; AJvYcCWSlAzGzHESNIJ5boHOhPpz9zIf5mkrVbxrWz4c8kf5sPbfJhRrLc4yEZK8ulSvlNUMv/j9wry3nU5qe8ej9L1/@lists.infradead.org X-Gm-Message-State: AOJu0YwBlm7l3lzalLhPngabTcPiW4cWke2tsND+fMORNz49xJAjoxb2 cPr1JhXxww6UOFcf9thKoGOzcBWULCEjmUXO6oS9MW5Hxh5QJ6kh0xK2RWY2vA== X-Gm-Gg: ASbGncsMw7IR4bHF6cjxwHnaNxM22RlN4BgbGWIVeUztkzktkVzlL11YOZYw0HIitUr QOB1C2OmG8nYARHiWoTzA1im4ziniJnXPqdMQR8V6lyJnGyvXa8Nk8WNlQAYhNcNb94DyUpZvDF u+JX1NmprmcNOIb/Tduof9GQEEOAWQ0CRfkTSwADXWI+Zs76MVfawXKwGsYB8+WYH//65JEgPBn 2ptiKq6JifwiyJolWK/x7fIT9kxYml+s3H3Vlh9RNbfiW2IPubL0/IuH1ORZNhifWm9xldh 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_668329_69212C35 X-CRM114-Status: GOOD ( 12.31 ) 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 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: 13902937 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 0C05CE7717D for ; Wed, 11 Dec 2024 05:29:02 +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=xcdvS/5j0ppujUeuhVbwEo7eXa pkspANwXIsRGcskzVgDNs9Nck/MXG9u/yLTLUtcAqI7f+b4GWyUh2Silo2XhhPWykOGUXtc++qzLk +59c5r+SBP7chzlCmbTbY1T7bRwJBCu1pLMHMcrQCn1FJ0+wbBQzD7hxY2Clk7MyFwtCg6OUqz8PA Om6JXZmvKbzFm0nO8UPZu98Abzigdnr7byQz+tisG6TO8tbdXbozHiyBKCril5klCCcBLeFa+PJdd bg09ClhJAT1KwommsbYcbp2VA4S9fYVZCu2rGPo26SZQG3n0pOgWwqotUCS5a5GkpjajF1iD3jJ+y +TCVSagg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFHI-0000000DptQ-1QCE; Wed, 11 Dec 2024 05:28:52 +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 1tLFDH-0000000Dp4T-19nR for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2024 05:24:44 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-725dc290c00so258217b3a.0 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=T/oZzAM6cL94Hf6CGj7GTbbZWVBqbUeFb2UxTtzo0n0Nhprw+A6qEs9OOFwvf798mY yscoL+I0P8zFbZvBXWoW+DPktzpvr5uBEMhHOVp4Qws8fPYM5VeweGLj3+8ZGBosbOrk aK61svNq4gweAJY1OISET+yGGzZuqhtTcu3lmILVgPEF6O/mZVQiFIIRcwSrcNLHMMlx +fTX2hKKUYc8CPt+I2XnOFOiO+2VVgmoKtTz0Jw465IEVIWOOhGyXDOwthnVud+mDYQR aLKq2pIcMVH+GxmFjfgSNN1Ym0YS6kRrZHy1l3V3eMSdbwdwMtokt7QB2v5mQ1hsgvLg gTBw== X-Forwarded-Encrypted: i=1; AJvYcCWI5T/ApCLjhHORu3QWRP4mE9N+rzjkIqUoArL2VYsWICzR7TxAgfOZzE1BiHyeOHsHSGeGOo/yvbpgOI15FlMi@lists.infradead.org X-Gm-Message-State: AOJu0Yy9g5+2AWuQZsSEDWraTVhHQRu+GokbhNITagLsLFNP1Q4mllsC jjQqHdw2TgRLQyuzflEimBjDGNRz6Rm2xWT9rBooGe0jSatbkyVTAGc4oWiYWA== X-Gm-Gg: ASbGncskpQPX6lwDUx5fs1uKEOeU8kU25XRqRTQfo1EbnTNEKZ6Y7MUyKaafpQLl6fw ZLeoO7iydYZHmKVCxauBGQvntqsazkVuo8NAgqQ+whtxL+2ISM1iy2SGnhaBGE7RO24bO7Sk1zX yLNKVcoo0cDLdgsYCS3iC6jIZSssXqjDf4Nj/tjuf3zyFjiEhVrxOBTdzS7xTvkw7IdiV5b+aTV oijztLqpowt7cqQkLQeH6IX8Zf6VaFeLdoQWeA/QF0ybU1TSzxrmikRTHNmxDemXDIXfMzz 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_311192_3DA52E79 X-CRM114-Status: GOOD ( 12.32 ) 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 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: 13902949 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 AE1C0E7717D for ; Wed, 11 Dec 2024 05:30: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=nsRd6GbIRJnWNHqT+PNa/aW5xM64tEdGNTQseKpNp3U=; b=JzHdg7ARqa83/eYg8ubgBQsIyP Ugod2oigUw0fnm0qVFOu1Oic2xFcPZ3uxgfW9Ds5I2PdS+0MLCfb6IVZ08fSlRawPp+B0jRdBKLI+ pTvDyY9QVJy5KLhHggzQftc+spQWZt3Rqjri6aWyrZ+DxsaQwgJ4ykmwCXXNfyXM5M3VoEordxzVg Nklon4d890QVtLnjhUPg1OfKUmMyM4oFAl1ZNS0wOHCW13gbrfFXUbFXU070CmSYVmYC4bmqZa45e VuG9EpEjTGJTF9T48ljTwv/w/PMogsB/G4D473XtsS5/QlL6c4ZuS9D/52g2EBnCyqLudWFBGjbzJ qKNFLiTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFIJ-0000000Dq1y-3vbs; Wed, 11 Dec 2024 05:29:55 +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 1tLFDJ-0000000Dp5G-3kH8 for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2024 05:24:46 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-728d1a2f180so252420b3a.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=hxcxJsm3+xx01xK7zz2gocnON/a41sH7RzOIfCFNwjqjhkWSz1TTowodX+Ju0tXR/q wIBTkAUx0UjZmVi9dzMO6Y+9OzdiZKk1rbnnDFCQJvl1xHybAMxJv4d+GvMobGEv8n/D Enb8m1JS0lmmIPiti1kOG9tfirYqBpTqdHgzqvKrkCof5wmRIj05NfH1DF/WfiMBihEs VchcwFhpjN8k5n8pm+SHKUidHPmdbi/oNKyUoh8RzG3uOxZaYVXv5yomXkpoFAvsFAmi X61YbQxUpYnwza4N4WmUCf+MCmjwbKhzscJ5SujMlch9Lyr8yhipF40jwJfVqiD+3tNE 6AEw== X-Forwarded-Encrypted: i=1; AJvYcCUkMG2GV0Y58sP2nW8Q2tObaSEDc5kGYR+HZ1wQn8CQMXBjJhoNrDXqa9XnQ1wJgojWOTCXb/shVf5fxyujtIkH@lists.infradead.org X-Gm-Message-State: AOJu0YylK6cGbdi3OS4eS5nXslmtbGmYdhUZmjB5TVN2bG0HgX9xokQX gf2j8yZAvrzt8OUZbWg2UXTJiVSSAc2QqO5yt5qUJf66daO8HevFZHn+mbvEBQ== X-Gm-Gg: ASbGnct9mJGTqCTr5sg1mQieJZMAbVuTxfsG7lmiHZj/uZMaXo2aG8flcPY6n0iPTsk /59YBgl/24qdYmuYaY/LpQu87Xkcs2TjUXRNnKkV5ob5F5o9m71A6YzXYPRlyUgvXB7sDx+o2oC TgcqsMBEFwrohHs2R+MX8HcNtm+VJQl+rsBylPers5GH51fhSdFrXQ8I9xo4AWoKZH55WVdANeT cWJ1gqWnz7/dlEeMwrjdlYcbInEIdjxUQI7qstbZPruJTvWyiCwKGF2GKogWesl4ugK/rRp 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_930835_D9674361 X-CRM114-Status: GOOD ( 11.96 ) 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 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: 13902950 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 8AF0CE77180 for ; Wed, 11 Dec 2024 05:31:08 +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=aW4Nmr/5NkL+1hsMwXkLI4raeD bOpnpGDkd9zoWFnyA469zxyiL+DxwuI3TVHgZW0sXX4Zpm2XABw/P4YosXg9kTXgerORg1tzfiNe0 Eiguip3QuRItvzhT85SeD9CRf64pLnTVJezy26UqCuV5XK9TS3jujyWt7SWDsycFO2RhgHlJYJg6+ I5LeNDP3P7H3jgQgD6QwOKYnaBNbGYLDINtAct3BQONHjeZSVh34sSY4L/8SlVDxZC0aNjm8umd87 DqDm259rEdCvWnaiGfSRHoOUNM9Uf70ljpkTv3n0RC+nYTaNTp50ywrkWD81eXpGfr8QI05ouiyyK 0GKKLO+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFJL-0000000DqDc-0uW6; Wed, 11 Dec 2024 05:30:59 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDM-0000000Dp7M-2C23 for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2024 05:24:50 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-8019338c2b2so975318a12.3 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=rdX5+9toeKEKZ3zYyDP8U/X8KZidoy5ASBKKeqXlIA5Rm+9yRNmCPknlshFuvPnOJk rcr/rF/YswSe4RdTTB6E4GYJyhLg6UyWKLebIGxjp2PnUf6fmXJTia5cbcLJabU+tkZi bhh46ejIZnMhcTQpRfGN02gmjDFpY0fUlqLJXpnx+ki6hH+bFwnBbLMSI7bfXtmF03nu iKeZp21EFvemOkp5aet7M4fV3YaA5zPYwhAIpdvdoN6E2yjY0W6LiHT1UIiMNnwP7V8k k6GFYGeKnuDWYakK7LkHHdpyIpscF0LWEEUAtkI1tT42fXaF7vx1G5xTUmZ2Xb3Nfjq3 YEnA== X-Forwarded-Encrypted: i=1; AJvYcCWhcUCfJtTOo6LWUaTFWm8F4KDV80Pce8LRVyA4l/6jZ2KITy3sQxuQyDxdRkX7o7d0Sk/kXws/DAXqE7ZuW0bl@lists.infradead.org X-Gm-Message-State: AOJu0YytSHQH1RrZ8bH8mt/XDVAtQHTGznhvLIxCgmF+gJl5Ot4BmMOy Ap5H42tFzeTwSCJu/WV0oBXzRuMcMII5Rg2cv0M5dnf2szhJm6/DX/DlKS6C0w== X-Gm-Gg: ASbGncsheLsKNqZIdLGGR3mv2vuYrFX8Q03x87l2VExuXw4WuZYd4tLkV1r+Plpl00w 4vh9lwoemCaUWrdPwMDmWuvv0j+bwGntJ+a8GgyBVr39J+WVYpEk8am6fCT1cJrUh31IBrGpw3y ovrWMPjTC7AXk7rc6i+bhfRz4floMUXnCXG1MaDfPyg7zA6fZDfI46L1qhjShWnu2lOsC3fsr0u pDpYMVmMRrxl1bj740OtUIR9YsSReDarsJo9XbnWf1kixgUwa0dQYIXS0RRQ6R04Fsm7jYT 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_558166_A53A9B78 X-CRM114-Status: GOOD ( 12.63 ) 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 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: 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>; 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: 13902952 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 B6E72E77180 for ; Wed, 11 Dec 2024 05:33:15 +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=yUBG/6x/LUzcSZo1HwfTvRfDL5 Jj+f+nJMiEWlf/dqR1fsP1SOZXZ67AbsKF4ylVuusoUeX8/RRBSVntbO1wm9oVzcHRHkrqnxjCGaV TGWdsGn5J0T3Mv8pj7zBrLW33CgPJVEvzDdwNc0RiRH1qb/wvIbU7EkGmvPYc6ia/J9Xf9cV321aC Dyo1kEO2uFs5v/dmwQt2dcavWEw2k1i7Kk/yFOls2PFRu8Oj63f6l8OeX6XjhoYAM/PGGSA8FY+l6 4yMMzNRKTAOocsBUEeBpJdN9a5NAH+wpTnbzRUei4NMr88U6ir/WTFtVGnqLEiXm2foRUKUDNFPTD Et9K7bDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFLO-0000000DqXX-1NrJ; Wed, 11 Dec 2024 05:33:06 +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 1tLFDR-0000000Dp9g-1kn4 for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2024 05:24:55 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-7273967f2f0so2419043b3a.1 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=CvmBJHJrXnfx9Vd7phIq5yYc8SiA4gqxSGeaoOnEt/GUa+bUKJyuCHln+D76AVt/Ph 6EyrdllHj169/AZxG8NcHS1oBJ6g2t1V3DMQ26QY+K0YVlgHyviLBWHz6nt6igxoLh8a 3VxY71hdWyurMYQzgDC0YirYBS/Dlt6RoxjMRh3x/3OuaTI8t2vwWYrV5d+/EUM2YkSY uUVidWCbAgepeNima/jbs8bfaM8J4lLjUULUDMPbu/ki++rigjuXFZQ0r7ACFo1/bUuj 7Yc0bv8MmosdbCXH1fQFd+5BL3HHzpmC+jQbtiaUG5CqXhHY64QckhpLEJGtcxYSCKCO fPVA== X-Forwarded-Encrypted: i=1; AJvYcCV/nlmibiKQPbnDaECyBhhCJ0aknAgCpLZWqxlac9eH/cnavfg1WGsPkkrJuWkzqPJgi45YmBe0PR8iWwMNkuO9@lists.infradead.org X-Gm-Message-State: AOJu0YwNZh+yMtBOAj2+Imgxazn8Gp5GtM+bdCu4qTW2cQzN0PrtXCEY wWFaoeXX0SY4qevOQKlFfRL9nTgJy17LoJRtZU7Gj0UKPVU4wvI8HFU7FlElMQ== X-Gm-Gg: ASbGncvmAT7WKOSMyMb6/Q9yaFFAL93AjJzqVPkto2wHoN0Eq8S5AZ+vi4Oi1UG+dhy 91HUnhZ+OxzuuQIbgCF2dhPG87pwWeGSa13kZPeD+XzMXPACdYxWxOfdfaDqSMRCIFJuF4vula7 9otWoI6AMXIKjEdo+VI78zhcmm3kb1PyczXYfzKTjoxWcWvhd/BADNJl9RzPRS3TSe8fPBaOZXd Bbf8gPvRhx4lTEaVgnk2Gu+f3YRcZVMvx1m0m0LTz4YLecTvcpWVDVqZK0iZY3FTS8fZ5jx 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_449175_5E5C607E X-CRM114-Status: GOOD ( 12.55 ) 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 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: 13902955 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 5A8B4E77180 for ; Wed, 11 Dec 2024 05:34:23 +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=sPwUq1pcl/aWjc9zdIjYzEDp6i CLX/0fZTYPAtH5HYccbuOb0p1aLPJj0A6pMlSDxtw4mDjySvsvm4QueseXPMNa6Bie5OTcA1/8kB5 B6DD30TC2AdXpqZFCBL5IqTfvculjy73/d5B6U5muNk+NnzKE4Nz4PNQqSW3dmU50x4Dyjg60juIl KESofAFSJgoKYXIkDxpuUOmhuJtbDFKteofZxGo0iLVVlIFFoy7HP9zkXWhnmT6IEYfhlXBCNPRWz QGkVxZE6mIFvrIXglBCSMPxVyEPW2iC8P9TKsfPSZNUiVIFZjezZBKJCr1wh4flSns4ScF7oWabFS N/uLIVQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLFMP-0000000Dqkg-0r7p; Wed, 11 Dec 2024 05:34:09 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLFDU-0000000DpAy-1kur for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2024 05:24:57 +0000 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-728f1525565so134594b3a.1 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=gEiR+PBySXaTJSysm8VzDdOQ8h1VbflW1wbuohtvjYjZ51tGLjZPIL+IfGh/008tKG Lw2OyXj7IaHHCFqG5ak9xVGKgfxYOtylX19lp/cxJqomWSC280l7ArTPSPyN1U9TRZio FAlR3KhtYJzFm4A/VX5LislogtMtlnR3CCtGaNtgrLe+UvpQjEDztmjJvh7DYEnFDexp 8+5RVdiME2pawOR5eJU0ucKsUi2uuHWb8DupehtaH8ZGVyPcdQ6FivjIK85whEN/AR0x UdaqLW7L0LkXTylLt/iUeI7R1ivK/3fNeEhJzEBqPccEQnhSsb5gnbj2MgU8Lqea42qe p0iQ== X-Forwarded-Encrypted: i=1; AJvYcCW2AkU+esskrIF73QmeIK+j1/RTMFA3mqoas0MQfcLrDqrx+1ScU4oD/sDFGjXlQp/8rprT70PP8+568x1V8nIA@lists.infradead.org X-Gm-Message-State: AOJu0YwnQqMd7fLvPmTmtxUVKUvUEYQ0oE1A36ZyvcHSzCZrW7C8H+LM Mxp7QlmlVr17gPmthVtmO0rHDqZj8Isrrc2O7nO77QHmvwNkQmvpcKw9ZmFseg== X-Gm-Gg: ASbGnctEVO8dKKXoOyMK5bxkNb8CPK7pF0HCAcW+e9BPkVLV2RJByA7nu/0FrMwsBWn XhADKltTUBdOEy+e1SWVt/VLfSiNJbEjLBojWtuJllBhW578lWeWDq2qMyZOAhPkyzOhzcmH+qv MrwJJNVGxaCx61RpdKxxf4rB1cOPrJCP6TCw7VPAiZqUQF3TgWY2s6gtAd6j5qxJXghw4TTnj0a PVyKgAP/GyIAnmdOpydtRHKGEGUcAVfrXNXF1HetmkAdgGEe2/SKQ3gV4a3jpdvS/y1ujkE 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_453432_D6F0E76B X-CRM114-Status: GOOD ( 12.66 ) 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 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>;