From patchwork Sat May 18 21:11:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667706 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 84F58C25B74 for ; Sat, 18 May 2024 21:12:30 +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: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:In-Reply-To:References: List-Owner; bh=T8xXQxwnfvs7B9KFZq3dRa+1nChh8nSDq3e32pbBHWI=; b=1XtsBM6nbjvfzd oqXbiG06MWSO5iZiTPm3PXp42gfX8M3/q50/XDPd14vDZaQ50SlLUuDK0ieBblj2iJU1JPxbC8VOi C4D4DCmypYt4noKEY/Lo8XwZey7xN03r0r/kGosLDJznjTmMWJFoUfVnm0VdotTU9S06pyR4M/crc GIoBYQ38s7x2vcLyD62z66KnKXN6+q1yJ9LgPak1IbSRI7FwZD990iqhHh8zTFDeiUxMed1sJjIWq Kyi207FTfT/Ja672B8Tkl2cdVAyyFpK3R11mtHD8GXW8gSeJDtca3sc0A0HlJi9xGMVgHJlzm/V49 iOYr7QsxNlABNxmIEU+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLk-0000000AnLx-3jCZ; Sat, 18 May 2024 21:12:16 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLh-0000000AnID-3Kud for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 21:12:15 +0000 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2e6792ea67fso34623621fa.1 for ; Sat, 18 May 2024 14:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716066723; x=1716671523; 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=brMOoyRcmQ5W7Ic7tEkLMb8OY3+MtSi2g93xfzfzyoU=; b=WRVmBFYBeIapdio2a+mm5lqt1BY5gBDyAEHHbj8BE4AcGW2ovS/Nd+HPl6ZmzKp8GA Jv0pve98TFvkdGPEYJjZeKxG5K8oIy/wh8eDPF8o7U9PayTngQcOfZzqNKTghkjxWafe ZskV3hMSv2xnytfl3JmtuYzFnNXPBoWzYh0dzwtTeDEaXvr06QHuQctqVp5HPGMswrCy a4EW6qEHvDiCBK7inImW/6OBxaZ+AEb8wCdTYOVabLwZpvYwD2Fq3xi51vJDpIQ9TQev 5Sl4a7ty8J0qxwupgagnXWyDqJoJai6MG9JF56n+hWfozcl6tvo6pLnufUvz4Ex1X27j 0aYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716066723; x=1716671523; 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=brMOoyRcmQ5W7Ic7tEkLMb8OY3+MtSi2g93xfzfzyoU=; b=Tp0dPcOrrlrxEmKwsRapcCsQYu1PUuHqhaOdaVJCFYgr+EacUhU1a6LCztowPz6Rqf YH4aVl88KdJC828d5ctzd56/lFntqqOX5e2xWBlgkppLgMl+Op/3UhvYIqmXOVT2xm2K +9AWXI+gDz5hmo8+limC0iszP8p0V3RBPxtVAvwLW3OY3OgmpJpmjoRUOxFeD9EdkVeq MVfQfR7i1MMZzf9yfF6YAY0J/lIdOWfsihidC/bOf/KNU4QHCv44oWPTvE9Nj5Q6ydVH 8D4DltXL1keDS/HLRgTHoO2TXprYUZe32Pm9Naw6Q9geE4zqKn4A1OSi9h9Nm2zJpIiR c7pw== X-Forwarded-Encrypted: i=1; AJvYcCXJ+GliWOdKTs68hazirHZMT0RMuPkj/xmwjZn/+ROOP4igylzQm/Q2VdZO0ATgYHI873f1sCxEZNYM4BOu7x5n9XGgTjmR3GIRqg4j9vEUIfw/DYU= X-Gm-Message-State: AOJu0YwYVnk5NYz2dCuxu0MJMnYFtixTQ8tXdcU4FPIU7eqCyOuV+NRP Q4o2eg8p+wWWALk/fdL8AODXeXDHDtLLQlyTBwLReq3yp+Lt8xwgvnbpSmMgjPk= X-Google-Smtp-Source: AGHT+IHcZoP6Of5YY+498D+2p+mQKWV47GgZqqRIdg7kVoGGBD308008Ffbm9x3P/U7/JXkzTx3MfA== X-Received: by 2002:a2e:be9c:0:b0:2dc:b04b:b3c0 with SMTP id 38308e7fff4ca-2e51fe52160mr207086061fa.6.1716066722853; Sat, 18 May 2024 14:12:02 -0700 (PDT) Received: from krzk-bin.. ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733c323d3asm13151340a12.90.2024.05.18.14.12.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 14:12:02 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , MandyJH Liu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/4] dt-bindings: mfd: mediatek,mt8195-scpsys: add mediatek,mt8365-scpsys Date: Sat, 18 May 2024 23:11:56 +0200 Message-ID: <20240518211159.142920-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_141213_949865_39D31A58 X-CRM114-Status: GOOD ( 10.65 ) 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 Add a new mediatek,mt8365-scpsys compatible, for the SCPSYS syscon block having power controller. Previously the DTS was re-using SYSCFG compatible, but that does not seem right, because SYSCFG does not have children. Signed-off-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Reviewed-by: Alexandre Mergnat --- .../devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml index c8c4812fffe2..1aa27d14145b 100644 --- a/Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml +++ b/Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml @@ -24,6 +24,7 @@ properties: - mediatek,mt8186-scpsys - mediatek,mt8192-scpsys - mediatek,mt8195-scpsys + - mediatek,mt8365-scpsys - const: syscon - const: simple-mfd From patchwork Sat May 18 21:11:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667709 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 CAC4FC25B74 for ; Sat, 18 May 2024 21:12: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: 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=erf8k6EsuebwGEvxwYJqmX3W97mU0Jsfhv90ZNiO2X0=; b=L8fA1t0JYPQNAR jSmWFI/h4dAYAJpUvyduA3qJadtHxsbqeGGKoiEkv9O+wZSmpDlqpuXjaZmmEuF5Xe7Tp/AuZAcZ3 2Kt+rNCb8oijvIAOJTPV+fMjMcB7D7FAZzPPCtit4ud2zu3qX3k45hN05aZI/XYiZ8WELW5TNCoyz jfVwhAcs+jwiLzu4UKXXswb6jxZ8LQUveEy+lXdrviTCWH9x+cCitgoGV9ezyENHiXcDrD2Assk2w uv6HnZjc5m8BAw6eHWSQrUL6PcoNCOx/Mw4+JCv1Vy3IznTYXzaoJ2+CwFn7zwmh6Q3GBYoeXE4jW eC6TpGDhLi7eMVWqSUQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RM3-0000000AnXf-2Cvk; Sat, 18 May 2024 21:12:35 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLh-0000000AnII-3K7M for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 21:12:17 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2e576057c06so20306501fa.0 for ; Sat, 18 May 2024 14:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716066724; x=1716671524; 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=6LaAmsr6IbfLWHWEKclaaIPD9AP5Zg/0Ttt/N0I0x4E=; b=iFT+0U3LhJeC3K2zhmIgtuVidFln308GYRiiqFy2FY/3xCpTammlXy0q0c2e4vOtF0 58WG0ZKGH23Lb8Jk7/VEPQVvCmh4xDADAKuQFUWkyySQqw4lWH3SQrA5i/zGPP7pXfrM eUhG9R2Ue65g9CoSkK/mKN0DZ+o59ghr6j0YhXKyhvhfpu4yVd4w68ydW+C2mXoAjY+b q90eXM9SOHUODCRQQs6+J6W9sIQIZ3NQ/6CFnYpF9A8Ed+A5U0L6ZzHuS4919LPiZCm2 CDV4AuxWO8FFK9Txu9UW2mw2HHR+wvgn22AWdbARaz8rL9i3GxP1CeGthkNH8aaMHcai 86hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716066724; x=1716671524; 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=6LaAmsr6IbfLWHWEKclaaIPD9AP5Zg/0Ttt/N0I0x4E=; b=gvp5DePAGsqltJhtSJ8yCOApx9HQG7C5fHq0YJBQ0ItOXlrSV+hm6AUCoU5gsBlkPX NCKOm1xpnWo37qE/D3ZtL/aZPA+DlSw94uQbAxOL9PO/3fULiQBr/YonS27Z/v4eAq9k qBxIUYq2BwsacaX7xbRu3zjlbfh7wgqe74xGb/Dnhbhekudq9mJRToaYBrqvvPWdxq8N tnA9QdH1KZEBUEpNmLR18Sq81Ertd4yGAoWG86mT745UWKScLy0cn+z+XvNOJFFcLB6U 9S0gxfLFxFdcXIvSD5SF4pK47EJYY5pHg0PFRowRdS0Tk9KA+R2eArpZPnf8KAFuXycT 8e7Q== X-Forwarded-Encrypted: i=1; AJvYcCUMJqinpVHzYYOQyaD7yMjrMNjKGpjW0wTs6CUSUwJRhrV++R7IdLqsQO6CmPddKocGMZyA9ANkf4/3fWt161PYJGWNbfmYeKjhgR4Ne1qw/Ja0Xak= X-Gm-Message-State: AOJu0YzhuWHEiIP4Rw8zjFOxZO6wHDmGZZ2+76PQY4+3lV62bQSme8U1 dTwcbr+EsD1Jkiz3tV94S4ItyRT6WInlhu8Q3g3thb8RTEmE3ZEbIiyvAtLqo4k= X-Google-Smtp-Source: AGHT+IH2pXhxB9mDHw2Rl92k7GN8nvvr1DxEDU6XaMXuGmC+B9Bmnitesxw7rLcLqh6c221chfar1A== X-Received: by 2002:a2e:91ce:0:b0:2df:1e3e:327f with SMTP id 38308e7fff4ca-2e52039bcb3mr173818671fa.38.1716066724409; Sat, 18 May 2024 14:12:04 -0700 (PDT) Received: from krzk-bin.. ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733c323d3asm13151340a12.90.2024.05.18.14.12.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 14:12:03 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , MandyJH Liu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/4] arm64: dts: mediatek: mt8365: use a specific SCPSYS compatible Date: Sat, 18 May 2024 23:11:57 +0200 Message-ID: <20240518211159.142920-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240518211159.142920-1-krzysztof.kozlowski@linaro.org> References: <20240518211159.142920-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_141214_065169_9404246B X-CRM114-Status: GOOD ( 12.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 SoCs should use dedicated compatibles for each of their syscon nodes to precisely describe the block. Using an incorrect compatible does not allow to properly match/validate children of the syscon device. Replace SYSCFG compatible, which does not have children, with a new dedicated one for SCPSYS block. Signed-off-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Alexandre Mergnat Tested-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index 24581f7410aa..d3da5a22c2d2 100644 --- a/arch/arm64/boot/dts/mediatek/mt8365.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8365.dtsi @@ -300,7 +300,7 @@ syscfg_pctl: syscfg-pctl@10005000 { }; scpsys: syscon@10006000 { - compatible = "mediatek,mt8365-syscfg", "syscon", "simple-mfd"; + compatible = "mediatek,mt8365-scpsys", "syscon", "simple-mfd"; reg = <0 0x10006000 0 0x1000>; #power-domain-cells = <1>; From patchwork Sat May 18 21:11:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667708 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 E0867C25B77 for ; Sat, 18 May 2024 21:12:35 +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=76Tg3qWC3FuLfz3IFW6xS8MhQmN63T3nFPfsYTNyEkY=; b=z/TXp4gow+KiwH azWMW/LcTVXn5UZPrh4lSBFvc3BihIr4yfcr1J0SEIz2svNZW9cDJ3GbBmXKjo7Ar34xmqbGZaFpp tOg5X0Mdf1Ys0bFkWNNB8zmZgbTegpSHG3jz35lUPlfo6Tx026NBN7Ihd1jq07TizAX0rnlkLB9sC y5oYu+hN/4+ZddPy4YzgsQIih0A/j2jhWmjDJe/ip/RZIRS7+yI1Wf9v8jOCMAqUa/h4JIS+ky96r 3JJWbiMwc46/E9XsujV9fta77tIhSGUwotfOuwsfZqB3nFJYtyPRPNC4P+JLO0DGYIAEz+8GDdQoc Yc7lcA2vK4fDPYfOLGqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLr-0000000AnQq-3hYd; Sat, 18 May 2024 21:12:23 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLh-0000000AnIx-3MH7 for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 21:12:16 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-572b37afd73so6907195a12.2 for ; Sat, 18 May 2024 14:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716066726; x=1716671526; 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=rTZvw3qn2Frxz4VlPUYhrX9Pfbol7sh+tfbuq/yEHo0=; b=AzSc2ELR02Cc4EErAbNxLNZ4YfSGuF8Rcns2aPtmTTOmrBDQ5OKtpF4shXmxCk/ebM 0HbKOzXvdu8pWNj2bX8M6inwlvBo7v/FNHpY6Pi33xh+5eER0vZnpZ8RQKc1rQL0iR6I kPQPKEoHjVK7BbemhtT3mnX2ln4znQIuZTLqfb9zfYyr4Wf6pc415g4y2EBLUd/J0O7v quP2vXIKY91u98pCijXOiIX/KnU41xlEMvIlGteMkwUzEU5YK6Q1nl1du2qmYS9iS3vs 0F0She88G87YIz6Q6koylj4X+aSPTVHHKWWQWUwT6N+zWKc8AiMFnscrDkWCey0T/vy1 eEDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716066726; x=1716671526; 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=rTZvw3qn2Frxz4VlPUYhrX9Pfbol7sh+tfbuq/yEHo0=; b=W4pgGgp/NXl0/rd8M90m9yjgr2b34QR0dy/u7KTag+Hu+nqekWYc+XRKZLo7oTF35s iJVlPNrJHUGqN77o+Q/c6SvRgtWrrzsO/7WVIp5B3Wn3OnkzxqQfTmiuxsL0Mpatd4I7 +jDKm6erX0z+RuyVdULZvWj0EjMO4u4fFhor5ndwIhwUpsDXfRMQUFbDXkaNSK7/to3b 8Ud+HJ70aSGMOR1WB+Yxyw+JtstYZPmZQU6V/xpQr28wgy5IufRJHEZo3UfAt8uRhzo/ aj9Tb9F7oxOGoTsSgh2acImE29We498iLuljLYtNr4RNes8A3t47vO59YgrejCBOGfu+ vqdw== X-Forwarded-Encrypted: i=1; AJvYcCUaA6XHmsJv6QRpeEPexjYiyocpy1Ij8KifCDWQPcS8YU4QcxxuEpsh0XNBK/MuDwggDJ4cANlcxcUDuTkNX7Si+k1izWhFZi/4jt1lrc4tzqUGUMY= X-Gm-Message-State: AOJu0YziZONXudWFrMyXAUnNK/wM9/5JfQutAqAQxvbGEwOAdFBPZ4SR ZjVaTFJI02mPekZQ7knzNeFqe/I8u9j0njIiu2w2/i5UAGLMoVgH9gyxicC+qBA= X-Google-Smtp-Source: AGHT+IFo5u3guueI71r2jMppcT+wjcslXSGXNTnebOHuxXpsGhc2ZBnApheROEQ5Hrwarq+3P1YMxw== X-Received: by 2002:aa7:d450:0:b0:572:72ff:da34 with SMTP id 4fb4d7f45d1cf-5735a1c68e9mr16324495a12.14.1716066726140; Sat, 18 May 2024 14:12:06 -0700 (PDT) Received: from krzk-bin.. ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733c323d3asm13151340a12.90.2024.05.18.14.12.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 14:12:05 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , MandyJH Liu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/4] arm64: dts: mediatek: mt8365: drop incorrect power-domain-cells Date: Sat, 18 May 2024 23:11:58 +0200 Message-ID: <20240518211159.142920-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240518211159.142920-1-krzysztof.kozlowski@linaro.org> References: <20240518211159.142920-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_141214_041086_95EEDA92 X-CRM114-Status: GOOD ( 11.53 ) 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 top SCPSYS node is not a power domain provider. It's child "power-controller" is instead. Fix dtbs_check warnings like: mt8365-evk.dtb: syscon@10006000: '#power-domain-cells' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index d3da5a22c2d2..eb449bfa8803 100644 --- a/arch/arm64/boot/dts/mediatek/mt8365.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8365.dtsi @@ -302,7 +302,6 @@ syscfg_pctl: syscfg-pctl@10005000 { scpsys: syscon@10006000 { compatible = "mediatek,mt8365-scpsys", "syscon", "simple-mfd"; reg = <0 0x10006000 0 0x1000>; - #power-domain-cells = <1>; /* System Power Manager */ spm: power-controller { From patchwork Sat May 18 21:11:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667707 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 41E55C25B79 for ; Sat, 18 May 2024 21:12:32 +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=qPlBcdcJ38iG3NA2IESWBcsTMxPvDP23P/sX9chS+1E=; b=07RlylDx7ORmcS kPV5yKbO4/Znn16eAw0rQLYcDQwDrC9dQ6+G9nRZhp0kW1Gwwu4DOwB2S+4+RWiX+zR2d6k/GrOMr bTB5OWbikLYCHtT232QsvIn0MkmJHuMekoNS5dNa+52C7g71W/upAOSmh+b0w/dSlpStfm75wJWU5 CnJ8u0kqdNstsHvmF5Jn7lInCYsNPT/7Fxigk1maD4qDdznloXzXENkyI02iu4rruQsHZVks/X5Xg V/bncgNIynwyc2QLjaI3bV/1B0opW5yxQU6tSNcRHPqXmsUXZnyFbzJ/qZvB0PHayjmo0ZHI8XCg5 HYIxGPa7TQPdjSoTPo0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLq-0000000AnQS-3eMJ; Sat, 18 May 2024 21:12:22 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLh-0000000AnIz-3Iit for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 21:12:16 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-572af0b12b8so5908563a12.2 for ; Sat, 18 May 2024 14:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716066727; x=1716671527; 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=mStJOZyJxaV4Sf+0e36HuH21WV0+MF5MEQ/HmeAZn+w=; b=xZ3gRA+Me8atKEO8xVBBR21rYLChtT00iskEdW1bew75y3hQA1e+9FMx+8QBj4Zrvm Sw57Bi6mtuHn+tDOHBGwhD/GSnkLEDXXUeMDsoptK6AULja+0l04PaAcdtvLEpP8lh57 v33lnA+iXrFGAhHEIbRS+20wKJCgy0RKAB8579to4vqkf05Gu/U84ze5n4NDlc5Hfyho Xr77MrZxSbfOqtBHl4sXJ6RzN+t2kr9RpBbeA15TtXJraulHBcfdbzy/cpbQaHd04ZL3 moOh021zVR+moy5Y++FpkmYDy+3RKYCYOdvF3fNvd5fNV4q57kw3p73jBXrVo0t1jBWp c8jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716066727; x=1716671527; 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=mStJOZyJxaV4Sf+0e36HuH21WV0+MF5MEQ/HmeAZn+w=; b=w4LMJNr+fIa/S6y10TJpuC8kYIuO7ZX+FdGca6MMtNhPK7bJwi4alSbNK2rkbvHVkq +X758h998XcK+dwvdoR8xFgTptwq1nTAEdjZepvBiLtvC7nhCJY8MuLQr0rKGkywLvsA fOJOU/+quDlTHfm+xyjQ64gOSFvfNSB+qVSLsa9YZy4JExPzG+Fe3UumLIWGstrqJDz9 8AB2u8Mj47lenCMERcvo9RsKBP9dHoVuqWkl6dFt9YBBtmqF+Ga/FiJlIKT5DpNvCky8 Za1vGthJ9/ar8GKkxWt/hnikBomjUQwI9+4Jru6fUhQiXP4AHCpgDaWZ4GKIOQyE1EdG QQpQ== X-Forwarded-Encrypted: i=1; AJvYcCUBQzb83VQoTc64GOv2WvRGzNWIfQsVJQ05YEMPh5QFSxEqLmbeA1xhOEJjTclCGZoDomyr2cKisOqFwX2tTW5pCJzRVsbWUq7cfFQSvfAOp8LmDmM= X-Gm-Message-State: AOJu0YxFbQXvjYOQ4Hd8tENzuaf2wGj+uA6l77+OCqfUYf65LygWqre5 a8V798MlqPBnjLH3/R3olkR5l+YiUfuwZgX87Z9hrvhvA2J0WBJMPa2vZAufTrI= X-Google-Smtp-Source: AGHT+IFyPVsATNUTmbolTM+aWrNiRvkqe73Bxw0huQJz0whqeZnLtrpr55PPw1QGKoL2hVm90QrNwg== X-Received: by 2002:a50:d7c2:0:b0:572:68a6:97c with SMTP id 4fb4d7f45d1cf-5734d5ccb06mr16307954a12.11.1716066727539; Sat, 18 May 2024 14:12:07 -0700 (PDT) Received: from krzk-bin.. ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733c323d3asm13151340a12.90.2024.05.18.14.12.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 14:12:07 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , MandyJH Liu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/4] arm64: dts: mediatek: mt8173-elm: correct PMIC's syscon reg entry Date: Sat, 18 May 2024 23:11:59 +0200 Message-ID: <20240518211159.142920-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240518211159.142920-1-krzysztof.kozlowski@linaro.org> References: <20240518211159.142920-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_141214_028102_B478C368 X-CRM114-Status: GOOD ( 11.86 ) 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 MT6297 PMIC has address/size cells == 1, thus its syscon child node has incorrect number of entries in "reg" property. Fix dtbs_check warning: mt8173-elm.dtb: syscon@c000: reg: [[0, 49152], [0, 264]] is too long Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index 6d962d437e02..0e2439860223 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -1138,7 +1138,7 @@ rtc: mt6397rtc { syscfg_pctl_pmic: syscon@c000 { compatible = "mediatek,mt6397-pctl-pmic-syscfg", "syscon"; - reg = <0 0x0000c000 0 0x0108>; + reg = <0x0000c000 0x0108>; }; }; };