From patchwork Tue Dec 10 09:26:12 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: 13901068 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 35ECFE7717F for ; Tue, 10 Dec 2024 09:27:36 +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: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:In-Reply-To:References:List-Owner; bh=kGRD0hSRVjDln2H041utB2MSY4gQ8R47O9Y5WYRUCMw=; b=fNHEpSdbFJin8oZE+uDS9VSXUK vcjkDWERozAdOKJ/wuZrmwr+vOYnKDji2FYrpjgvMyF17L6lh2ifXtz7zo9S+25vQsRvEi7BXnsb/ whcnHtx7eQKT2PYY9QSWPFkkpnZ0XQ4Y42CkaHrntRYoNSVBbQNgBgNK9Gtcl/vSdQksC3MIHRIJH xlToSgHCcwC0QTQzDp5zamTrZKsg9rm+c1wevxgZ/oeQY2mM2CW85B3TFo8vd9I7tjBKYJ2FSBfdm cGeBi105ocQltA08nBDoEGQo5JJGOt35KIpRx5QXiQ/llPRoDkPxCRnUfagr7SY4Lpx4KnTkhJpDj yJmH3rCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tKwWc-0000000As2d-1XXL; Tue, 10 Dec 2024 09:27:26 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tKwVY-0000000Arq2-0tgU for linux-arm-kernel@lists.infradead.org; Tue, 10 Dec 2024 09:26:21 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-21619108a6bso27228855ad.3 for ; Tue, 10 Dec 2024 01:26:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733822779; x=1734427579; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kGRD0hSRVjDln2H041utB2MSY4gQ8R47O9Y5WYRUCMw=; b=Obt0EcBIlWBpdYQhKMF3eUBiDSYF+8bcBqZf3/ZEgE6xOgwhjBej5HG9GCiUxMtYTm +3ADUMUNetzlxL/tquAK7slG7YYrm8+dy9Xl0iXlMEkaCFaiYuaM3AWfWwe3V83c1JVh j1FdBM29UM9uQyiJZ3GRvWjguiur8MmkpNhOs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733822779; x=1734427579; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kGRD0hSRVjDln2H041utB2MSY4gQ8R47O9Y5WYRUCMw=; b=evMYR06rr3bE+F4mf0FNx2WmvG3yHNHTFwvCPIGHiVTiFyu1ZE6r/zz2dIwUh4mHfx DFjrhhrk4fgjetnyraufmNdBY1yiSOYP3PV4ZJI6JtN1bPExIth3jSuN1WuDY9HlWAce /Fi/AMNL/A0MCpKb6VDTeh0btFcAX8E59RIuVeRq127r6ZFl3I9IRiaQPTn9fWh3P0sl sIUEcW8bSXUDmFPdgidw4RkHkJ5N0RJnU8ZUQjvWE75LO2T9QJDnlH4uhfmKSEIleRUC cXmxlsvwav2gQGKntW2dXIbSvrO8oURQA9XWd0pKvJ/u11ObimuvvI8Cmf/+lXoOpRo6 XkIw== X-Forwarded-Encrypted: i=1; AJvYcCV9rkJb3yl4mIPPKz87KKCA9hPzSrMPWZsHsESOnbTLfJNmrQm97jbMvKXwwjKClz72/YypHsi3IKExmh6XLqlT@lists.infradead.org X-Gm-Message-State: AOJu0YzHqgkUPe7ay4KGhGdXSv7Nviw6/YqxCFSnHEUX1R6VHoV4uhc3 ZO9MBzs26zmxJYpHDtq1K7eTrRrFijFIECKlTK/5rPq82l9qhv+0vgpk7CDRCg== X-Gm-Gg: ASbGncsjVv6jbfei6Cnp6MUxnwQN4ZsUKyS5zrPrPw0hxjhlz3EfEWMfvNZ1Hs7EGRu +w02JRh7eLPgJDz1w3DC1tSCNa2F0EAAp4+AL0/kz8EerqnCOY8pzqR09kH8CqX3SLFizl5ryl4 pl5OphcKcNKA7lq1KU6jZtr7CsT0aAalqt2fKmHudO6kWUEa5yepTwOJ+xCoZAfvSSghZl6A9ge BaTYP6xU9U4C2GRAl+NIa0pK5FMZ4ix/FWivXbs3bXJu848v0p4ryECl/IlgCsrIJtKBxk8 X-Google-Smtp-Source: AGHT+IFppVkXUZtU5Ti/lKVHNrZcFZH/mEntPtAhtpRBAEfq5xqQx4M1XdryOoDpDNSLeE8I2hMSbw== X-Received: by 2002:a17:902:ce88:b0:215:a97a:c6bb with SMTP id d9443c01a7336-21669fca850mr59408385ad.12.1733822779591; Tue, 10 Dec 2024 01:26:19 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:89ce:2db9:f7d5:156d]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21632c4fc62sm49006905ad.194.2024.12.10.01.26.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 01:26:19 -0800 (PST) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno 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/2] arm64: dts: mediatek: mt8173-elm: Fix MT6397 PMIC sub-node names Date: Tue, 10 Dec 2024 17:26:12 +0800 Message-ID: <20241210092614.3951748-1-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.338.g60cca15819-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241210_012620_264314_DBFA323D X-CRM114-Status: GOOD ( 11.84 ) 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 MT6397 PMIC bindings specify exact names for its sub-nodes. The names used in the current dts don't match, causing a validation error. Fix up the names. Also drop the label for the regulators node, since any reference should be against the individual regulator sub-nodes. 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index b91072f4723f..b5d4b5baf478 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -931,7 +931,7 @@ pmic: pmic { interrupt-controller; #interrupt-cells = <2>; - clock: mt6397clock { + clock: clocks { compatible = "mediatek,mt6397-clk"; #clock-cells = <1>; }; @@ -942,7 +942,7 @@ pio6397: pinctrl { #gpio-cells = <2>; }; - regulator: mt6397regulator { + regulators { compatible = "mediatek,mt6397-regulator"; mt6397_vpca15_reg: buck_vpca15 { @@ -1108,7 +1108,7 @@ mt6397_vibr_reg: ldo_vibr { }; }; - rtc: mt6397rtc { + rtc: rtc { compatible = "mediatek,mt6397-rtc"; }; };