From patchwork Thu Nov 30 07:40:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13474123 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 BDB10C10DC2 for ; Thu, 30 Nov 2023 07:41:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t8OfXkIATXfnpQmi3AHa7tdEyClPphBWRn69054a6uc=; b=gcTST3c6U/7YeK ZLQR6dZgYHtSEdCr2aVAggJCxPJCHNsRAxSP8fzNVvwoTfu0OrTFvSnSwZCNKiH17oXIQa0eVMr3b JWsWM9zA8aiXqqZ3fvFlvwOyY4gZe5tsam+AZG37cM7Od7mdcwV65XWqiqrP85yc9KVN6r5zpI3kH lp/BUL3yeuahFsf3JqfGx5j7El/KaK4FmgGDOfj1kJY4ZmDc764rPlL0wekG2yaI2hL7rFchTDmQG K5Jx6+7AdjqyShPfe/FscPUpMNhQyVkp5lZEAWRXbTqYH+7s8aMz41r2a2aRmWacJak1gZIFKRPuz axWR4RG/LzCLctYN5EzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8bfP-00A7N9-1f; Thu, 30 Nov 2023 07:40:59 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8bfG-00A7Ib-0c for linux-arm-kernel@lists.infradead.org; Thu, 30 Nov 2023 07:40:51 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6cbe6d514cdso614121b3a.1 for ; Wed, 29 Nov 2023 23:40:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701330048; x=1701934848; 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=IkpXrLW2063q1m94Ct7XMex/vBu1O/g0kp41KKzoVbE=; b=XdkalK0fFpRI/4evsTAR9aCLzFQW6OH4d9iteJtUx69YzdrJX3B1RxsH7zUKZtc3qz hvmbxV/sxxQgf5MbNdK9ta+KR7CsDeezlkUxChxnicv2wfgyTqRJTvIGxpiIEgidv1+o xpkJK9wYSSJoSRs7AFdQXmKU+B9oX5cFGbJsg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701330048; x=1701934848; 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=IkpXrLW2063q1m94Ct7XMex/vBu1O/g0kp41KKzoVbE=; b=Q+rab1wSIH3xiEkweWqFAvvpF84L2uAgAAcoPx2V0ee9M3nTysno2qxqk/H/fhwQB2 xFhnWTg9MBErNnH3sBcUG34Is7TZvDBs9CtZ6XzB505Wuk32zJjydJ+6OHqC9QHea8gW 5Og0IB/M0SabBT+Y8TOfyXyp2R4/i4TK7pDvaA7VXassKye+paXsIkA/Smef3gip3DZc 6wCNjgyv1QWl/n6cN1qT7vwEM7zw3zNqA+b6Xj0iXPQKCSzSpVL6hbf2XpuzgnqMJgG4 VIBSvVhjDTbg4ySQLA73kpSD+FIa424TIN7bO5gNQ++ouRLbsXlXflw9sBFDp7jnKIff Nw/g== X-Gm-Message-State: AOJu0YwHaX37ZtAv6tj0pKoo+4AJ4XF+VE1rmrNkcS+dYCLJj9ZHeBQP xxSRvOa0PEmeo+T5axgv1wgzfg== X-Google-Smtp-Source: AGHT+IHBrA2Ajkr3pUowl6+raRAc06e8yaFp0DgaWh6/FLZNLmhoUFHQvZ6F8XtSp7ig/5Si9AoLdw== X-Received: by 2002:a05:6a00:6c85:b0:6cd:edef:4b02 with SMTP id jc5-20020a056a006c8500b006cdedef4b02mr313263pfb.26.1701330048161; Wed, 29 Nov 2023 23:40:48 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:7c8f:dafd:65c3:2bcf]) by smtp.gmail.com with ESMTPSA id p35-20020a634f63000000b005bd3f34b10dsm612870pgl.24.2023.11.29.23.40.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 23:40:47 -0800 (PST) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 2/3] arm64: dts: mt6358: Drop bogus "regulator-fixed" compatible properties Date: Thu, 30 Nov 2023 15:40:30 +0800 Message-ID: <20231130074032.913511-3-wenst@chromium.org> X-Mailer: git-send-email 2.43.0.rc2.451.g8631bc7472-goog In-Reply-To: <20231130074032.913511-1-wenst@chromium.org> References: <20231130074032.913511-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231129_234050_233162_EEB5CF18 X-CRM114-Status: GOOD ( 12.09 ) 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 Whether a regulator under the MT6358 PMIC is a fixed regulator or not is derived from the node name. Compatible string properties are not used. This causes validation errors after the regulator binding is converted to DT schema. Drop the bogus "regulator-fixed" compatible properties from the PMIC's regulator sub-nodes. Fixes: 9f8872221674 ("arm64: dts: mt6358: add PMIC MT6358 related nodes") Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6358.dtsi | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6358.dtsi b/arch/arm64/boot/dts/mediatek/mt6358.dtsi index 186898f9384b..ad5e4022e06d 100644 --- a/arch/arm64/boot/dts/mediatek/mt6358.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6358.dtsi @@ -128,7 +128,6 @@ mt6358_vibr_reg: ldo_vibr { }; mt6358_vrf12_reg: ldo_vrf12 { - compatible = "regulator-fixed"; regulator-name = "vrf12"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; @@ -136,7 +135,6 @@ mt6358_vrf12_reg: ldo_vrf12 { }; mt6358_vio18_reg: ldo_vio18 { - compatible = "regulator-fixed"; regulator-name = "vio18"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -153,7 +151,6 @@ mt6358_vusb_reg: ldo_vusb { }; mt6358_vcamio_reg: ldo_vcamio { - compatible = "regulator-fixed"; regulator-name = "vcamio"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -168,7 +165,6 @@ mt6358_vcamd_reg: ldo_vcamd { }; mt6358_vcn18_reg: ldo_vcn18 { - compatible = "regulator-fixed"; regulator-name = "vcn18"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -176,7 +172,6 @@ mt6358_vcn18_reg: ldo_vcn18 { }; mt6358_vfe28_reg: ldo_vfe28 { - compatible = "regulator-fixed"; regulator-name = "vfe28"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; @@ -193,7 +188,6 @@ mt6358_vsram_proc11_reg: ldo_vsram_proc11 { }; mt6358_vcn28_reg: ldo_vcn28 { - compatible = "regulator-fixed"; regulator-name = "vcn28"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; @@ -218,7 +212,6 @@ mt6358_vsram_gpu_reg: ldo_vsram_gpu { }; mt6358_vxo22_reg: ldo_vxo22 { - compatible = "regulator-fixed"; regulator-name = "vxo22"; regulator-min-microvolt = <2200000>; regulator-max-microvolt = <2200000>; @@ -234,7 +227,6 @@ mt6358_vefuse_reg: ldo_vefuse { }; mt6358_vaux18_reg: ldo_vaux18 { - compatible = "regulator-fixed"; regulator-name = "vaux18"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -249,7 +241,6 @@ mt6358_vmch_reg: ldo_vmch { }; mt6358_vbif28_reg: ldo_vbif28 { - compatible = "regulator-fixed"; regulator-name = "vbif28"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; @@ -280,7 +271,6 @@ mt6358_vemc_reg: ldo_vemc { }; mt6358_vio28_reg: ldo_vio28 { - compatible = "regulator-fixed"; regulator-name = "vio28"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; @@ -288,7 +278,6 @@ mt6358_vio28_reg: ldo_vio28 { }; mt6358_va12_reg: ldo_va12 { - compatible = "regulator-fixed"; regulator-name = "va12"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; @@ -297,7 +286,6 @@ mt6358_va12_reg: ldo_va12 { }; mt6358_vrf18_reg: ldo_vrf18 { - compatible = "regulator-fixed"; regulator-name = "vrf18"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -333,7 +321,6 @@ mt6358_vldo28_reg: ldo_vldo28 { }; mt6358_vaud28_reg: ldo_vaud28 { - compatible = "regulator-fixed"; regulator-name = "vaud28"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>;