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"; }; }; From patchwork Tue Dec 10 09:26:13 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: 13901069 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 7927DE7717F for ; Tue, 10 Dec 2024 09:28:44 +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=V7i5zNgyQQlrRDWh+0G6ogAAGEAyg0BmLGcSQLKBgfs=; b=pMly2UbdPYX9FKBZWEJ2Rj6FbL g08Ji+dnyW8xzMNr7fPBU6pXtSScJpiF4kFr3Sts6atiRQNm+vtHvxxvuHzc0tkhegEsr1pwA5TyG Wkae6fMJ2U0yJ9+pfS1Fgoeng5rjsH54TyJdXfb5RXg88K1gaW9M5uIl15lO2XLZ4+GiPxzyCM2SS 20uM50auEktuAWWvoDP7aNVEn1phJsuMRFY3OAbjwY18z40SaePHTwu60OYf4RTUEdnYmFfMsxkCU vx2n/cqaeWHs2ScEacoENEpoLE03QHwql1qZTvIwaaMSO75yMZM9qdktJr3UATr5Iw/bT4DG56Paj 9nbqYugg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tKwXd-0000000AsMg-43Td; Tue, 10 Dec 2024 09:28:29 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tKwVa-0000000Arqk-2JRg for linux-arm-kernel@lists.infradead.org; Tue, 10 Dec 2024 09:26:23 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-21644aca3a0so22122335ad.3 for ; Tue, 10 Dec 2024 01:26:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733822781; x=1734427581; 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=V7i5zNgyQQlrRDWh+0G6ogAAGEAyg0BmLGcSQLKBgfs=; b=dMLz1F5/buJ2exkRbtj3CAjfK4kdH5qLuk3g4ZZ6EMzyqBPpic59OA3Oyno2LXx4LS 5NKSDYFdkk2szjugQKBvhBqHzMtDNKxvgPD1TkTvow66I7Thd7TSnK3yABewYaXA3vye ga3QOxsYzNmdKBPD33rMUumxP6oiJPUiBmsCE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733822781; x=1734427581; 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=V7i5zNgyQQlrRDWh+0G6ogAAGEAyg0BmLGcSQLKBgfs=; b=J78W89I2Tf8xax+DRQZzQFLnlQ9orzzoFbKFa+cZA9n86y7/h8+ciyem3z2pzie6XB IVHjr09TivkcCcQACh4WRBAd/XoeWCd0+ax1YLgL+Nwy1ATSGHAwujqaVOl1ldWJCXP3 rhu9nBLFx8GA6av54xTvOoD1rp0yKAzn+qgDYuYclV0HIxu4R9hzY34sXomDMO9+XUlV CquerNpNdYvc+3jVzfYT7AehJH7h5EQKRKHsDGqHzoT9phBFhc6A+H64X4vg0YN6aB62 VxdOhxZLsNXAnKnN2VnsTIKrgMeHTCyb30SIdWX3FDMf0RMtnxtwgDZlZN5UUGxwSRcG 2kbA== X-Forwarded-Encrypted: i=1; AJvYcCV49HtOfOXmHPb957XYei64CmHI4s90GQgeNm8soGg7NU6G8+HhwsdMU58N6n4JF7Or1Dkvny+a2tdif4q/e4y8@lists.infradead.org X-Gm-Message-State: AOJu0YyI+7DOYS72FphdRdfhE4WW5UsfmyCz7d91s1+CeOKm31I5GE9/ w9THAkf8cWL2Qk7+gwm2hD0CXNp/NFU6O9fB9dT9duCyi/ZUGJf175YIR7va6g== X-Gm-Gg: ASbGnctXNM/v8tt18fyOd9UIuwb9vCsRMAYvPs55sr5BRqOPgaKI5mJRu1+lw/lX1lI 8wLX5d7ckDwjDbSXv8AbOkZsLK+azsMjaxWtoJW1bY6yDiv0diB0bsf2UicobXCNdnG87ipGVDe oDFr7QNpAYkaqALu6nR8r11v8JnHhZDfxYcrs2Yhsr1I3AO/7whFfyX0t6ZNSXEg2HhQeaUKUpE w0UkTHikCSHvl/bDdQccmLixhBjVJSVr4ITn07DJjamGGrxcOfZDqtuclN/m8nFiRTok31z X-Google-Smtp-Source: AGHT+IEbVN3vePe7Dj1LS50n6Z7qkx2DIp+ZHcNP48MQNc9h/O+CQoe/H6Q2j2soGp26ZPZFTYHuQg== X-Received: by 2002:a17:902:ec92:b0:215:773a:c168 with SMTP id d9443c01a7336-21669fc68camr66076865ad.1.1733822781417; Tue, 10 Dec 2024 01:26:21 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 01:26:21 -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 2/2] arm64: dts: mediatek: mt8173-evb: Fix MT6397 PMIC sub-node names Date: Tue, 10 Dec 2024 17:26:13 +0800 Message-ID: <20241210092614.3951748-2-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.338.g60cca15819-goog In-Reply-To: <20241210092614.3951748-1-wenst@chromium.org> References: <20241210092614.3951748-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_012622_582115_C971F27D X-CRM114-Status: GOOD ( 12.49 ) 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: 16ea61fc5614 ("arm64: dts: mt8173-evb: Add PMIC support") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts index 511c16cb1d59..9fffed0ef4bf 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts @@ -307,7 +307,7 @@ pmic: pmic { interrupt-controller; #interrupt-cells = <2>; - mt6397regulator: mt6397regulator { + regulators { compatible = "mediatek,mt6397-regulator"; mt6397_vpca15_reg: buck_vpca15 {