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: 13667703 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 8E267C41513 for ; Sat, 18 May 2024 21:12:20 +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=brMOoyRcmQ5W7Ic7tEkLMb8OY3+MtSi2g93xfzfzyoU=; b=F+xPcQE+Bs4l/GSBB0NcwJX4F5 qOZ96m1VO8Xd1qudvU6tdaP4twPXVZHOSnzprKzZ2dqPIyhGwtF+x/xFDOeyWwnny5UdHDgfEByNP B25BYK7A7rGsHnnEHn1qqLDj6frpR32qZ7gi3uJy2i8Bn/BQpJgtTbEchRsoxhIKljTFZNomsKSPX 5Vu35OsNwTE1g6kMv2j8nac40281/q+GgwGSQ19Me/ap2g9XE9ik9H48kwl5ScL3pOz4c17/1rXwC Q9z8kV3r1Tx6wy9OD798lsUeYUGUSdMxMUoNYbZ67Y3jEBMtlLLxD38F0HrOafwR1wIavsdyepsFo 4hBEraZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLm-0000000AnMY-0xup; Sat, 18 May 2024 21:12:18 +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-0000000AnIE-3HOL for linux-mediatek@lists.infradead.org; Sat, 18 May 2024 21:12:16 +0000 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2e2c70f0c97so20967491fa.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=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=kxhsPFlEqjTC8fVRBk+kvKIJ0R3ziFrii7q6vrz94rxZsIVjnW00LPfnbD6Ive4kH2 /3u6qBFX9Z/YL9sAs1LyMC/FFLXpHjCJnL1LILgRLLG/3hyJy5IgfeG6ffjX4pJOHLWv nWh35+f94gEVRp7BAHb/GA0qDrJEYzG12KwwTZgS1NaSFb8zTRDsvhRxXntu1P7+rsoW EWIH46WVnQK59xLtOtRA0GWcvwY8RDj+t111gtD68QGIORSUGEc/Df1kNDDckkYm4mhK A3OOPvBqNVo5qUgMP2Ctx1Lrg6BTQuJN/nbMQRVfoNXwxT4qcix2G/IBEVFBC4BsS4+9 4PSw== X-Forwarded-Encrypted: i=1; AJvYcCWvpgCZfeBvSqsXhIjnqJ4XJxGDZH3Hmrx0G5yJbe5+DuZc3dIB4HniDObKO3QkiT/P3l3pkgs3h19gNJcClsASYP3aIMSWCpCtRhme/udJffeP X-Gm-Message-State: AOJu0YwWH9Y/2BA0zN52y6NxLj6JS7Qxp2hb4yii2LZ1eCqHVbKBTIs6 6icec6+3QYPD+HBs8hbak9W/1a7JoEQBfeuaVCSLvCZYoHnGZrDbIyut2u0Zl0A= 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_963939_C924E676 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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: 13667705 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 DF59AC25B77 for ; Sat, 18 May 2024 21:12:26 +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=6LaAmsr6IbfLWHWEKclaaIPD9AP5Zg/0Ttt/N0I0x4E=; b=eysq3GcWnhDpZdrnJtNvgBGE3Z W6ePzDvuOO6lLB0hvQQfWBm39skFvGsGf6pagjnyJM9H/kdrrDCwXeQaE2J0okwDrz2I2E4Dr98Nv zALvt7NEH0Ge9BIgZ1UWobLK+UWW0YMoyxiYadNM/1kjKrPdEDxdhg5tstaN2QuJAAXAZduCk5ZxB k962o6GIH+W483fIJLWiBdiFAw8yXqwzcnkI4mIcMaKek5R+iTJuzMdk/mx6Srzp5WbW13zctcljS 8/qpYwQ4MGj9jMzwJtwFkV+WRP8njDq23mYpX63tm2O1qdZtWXZdRk7zvHJkvbUwM9dOP3pMbpdYT Xyr/QsnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLu-0000000AnSt-1zBp; Sat, 18 May 2024 21:12:26 +0000 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLh-0000000AnIH-3Mtl for linux-mediatek@lists.infradead.org; Sat, 18 May 2024 21:12:17 +0000 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2e576057c06so20306491fa.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=W7m4+hdRLxX8I4gqKjKWzavRpjpsnbHYyoluQaFOP3sWGPl4zxD541gi/fZCsLpmup uu9rYm++9mQfF8774t2CjWxsRk8/bICer3S7rUBaR2Ar5we7HYpqzRA09JuT+bqNB/1Z W+DPkVOBZwXYfpTXvfVOPXRiqkkZmsvDa9UFMWe3AjhvE17vPBxEgdJSidEWrRN8mhgG +uNkqhPr4BPKVjLqv5XHI0JcG4kkOzE3yMkC3e3k2LXLbf+MXiDbIOBPMhkiczenHzln BxJl4Lp58VWI4lQstRjIaP6BJ8CLbiiY2dYwj9YZ75XwCaDzYzRRAU49Ro+gkRL9XTGX Elrg== X-Forwarded-Encrypted: i=1; AJvYcCUtvMKUv9tlvOOWS+Fp4CAJjqk3xwtV9WRuuROGbVDFvDM8tbXR8CyO2m+f63Yr3yc57cKv1i9q3RsY7vZsk8/NlXl+S/RkY3/M731gI4YN1N4/ X-Gm-Message-State: AOJu0YyF2yJAzWk2KO/Ett5wuhvyrhQRaC3JL+3mByjRqBOLcndogMPy JbB7hxYOUYi2k6RyV1szO+bcByyWQZ5MQdhfeCod9QuCAvYONzhTETodkpAF6MA= 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_068200_F75005CF X-CRM114-Status: GOOD ( 11.61 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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: 13667702 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 6E316C25B74 for ; Sat, 18 May 2024 21:12:20 +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=rTZvw3qn2Frxz4VlPUYhrX9Pfbol7sh+tfbuq/yEHo0=; b=10L+fYI1wS5uoEH6bONIvHVYFP b5eSqaURuYNttUF9BTFcD9AM9Wam3DgaIzrZQhGNUBhKXqoQ15xpivZSwzpezgTx/ZX243+3nn9NU EeMScu9pBKZm8xW5WxALQvq+rep5LJkbVhbRVXXNAZmAlCtTRR/Iwu2p0TuBkxVD4jBAjVlXeX8fj FWglS+A2iisxzrgdPxRL7hd0MSF/unXnpSVaxasj/LyIWT2iFjfZSvv/tRnsRNiMcuQAKLOssdwuR pemFM/hZyElC7LS9tiruvpM0rWIoGaXLvjcLeh2N3f2UNckng18gfR0LUT+pRbCRRHEaWsAJ+XlwC rsRtriZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLn-0000000AnNG-2NTT; Sat, 18 May 2024 21:12:19 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLh-0000000AnIy-3IQR for linux-mediatek@lists.infradead.org; Sat, 18 May 2024 21:12:16 +0000 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-572e8028e0cso5818619a12.3 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=rGoAvJsIE3Hor6n/9Utw9HUnsWWvxI+T6O8YD0vkedvZdJhuZipDZprIRsNLf03bPs J4L28DcRbBvt98xVdXashDPfA58L6HYj13AQXlU5/n5+15h3OLBcKgmImA6VOhEumZvD 2ZD3i98+eFyeKCHA8PkdNtr/dWWb/objHFG9I2QyCrsOoodLP4FvUlzMuwuXQUESEQRl zfZ3pH95esK/+O41K/aKttnkW1qYX2d49X5nLSFoV+TTVEHFdCQ73kJ3vLPglLb8CMAh fxWfvmKYCpzNJYzlWxU4phCEkVBa9gFSswhAF4yEw89CmD0OVpD1jj9nruGLLHYiNeQg 3Lmg== X-Forwarded-Encrypted: i=1; AJvYcCXPhcdtNZAFqjcd4OCUwpS+U1uSY0ylp0gt3AfDQ6ukftH/sdmD4vH/5lRckSdHylEevY2n+FCVY+jofIlM0VkDFpUXYLTybvJVLZCUvggu3CI+ X-Gm-Message-State: AOJu0YyYLs2hNuc0TJFudwq5ZuCbL3uhSxNlJAD6cyhNtU67ZCcJM53W 5sYU6FIYAVZdT1NEeWc94Iz0nAKO0ZBLqOWxfPaF9fnweyeu1QabFMAQTMzA2mEVDSLJ5/MES88 s 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_141213_993102_C42F4629 X-CRM114-Status: GOOD ( 10.16 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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: 13667704 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 A1970C25B79 for ; Sat, 18 May 2024 21:12:20 +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=mStJOZyJxaV4Sf+0e36HuH21WV0+MF5MEQ/HmeAZn+w=; b=yqi1i4ny9Rt3k2MMyk2dmmTKgx iBbw/la2dwBkpSqAqaMuHGPS0xo2uM4ewmuS2GQ8RmXBI40NavSHTLKMERA1ljcCq8XjxE109ldH/ Oq8pLTAcStl6aJTSutbQXG+ClprEy2kU+QAVKkkqELg0AIo8FaCoU1ZX9LFG79W2hJ483q/fQNStv tjqLU8xyborVkVuBn/p1HQmgXXf8lirz7loo9Q7d/CZsrS6En65NayTJeNEUWwc1WZx7h/U5PbAfA OxTUXpvg5g85Ny7p+h4FujZ8/c/7lNaUB09tpyuYm7kfMMohSj+ULyeGiYdrKkW5vaDstNEaVJWvb tY8CVioQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLm-0000000AnMh-2ufB; Sat, 18 May 2024 21:12:19 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLh-0000000AnJ0-3GQJ for linux-mediatek@lists.infradead.org; Sat, 18 May 2024 21:12:16 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-572af0b12b8so5908564a12.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=SUFose2SVWKZ45jsKlmxlnFI4Z8nqwIBQM++8Pdb/UI7Jg+Q4HXojei4cI2bj/xI+0 PJC/uheW5yqu4ecbmpoNpLqs6DsUsGQX7UKxAnFJx82MN1MxcxNoNruRlfOksdDa8S91 SqgJ4wldwzNly8yR/Zx7SmZEOmjQdDji3KJHQepxJkOg1FI8vgEYeyfRfncIRi5dmsLi 7VxRgh3hk3n62CB4T/KxMPdR4OdbapJFTtYGNP4EPfVe6uPLb3CQ/E5JpsTW4vT9qbXd 9FX+zevPt6v9ffYBRXyol9p4wCdetDG3HHh0f2dVIAGtzpOnmdLBZPnSXPPF1z421h3B r4NA== X-Forwarded-Encrypted: i=1; AJvYcCU9Y7cwPzjgcqdSipIo5e1S5sTjp5L50j+saqG4ve/bZcaA94FDJWyDpKqtlDRnjj7sagbizfZ/zs2O6V7OclewU6KdfeiM6hG6aA9InNnDphPD X-Gm-Message-State: AOJu0YxgoweRWp9XayFnyOKnEemoxq/SBi7ON5qYc7chHFvjx3m29U6M IPp30IIB9G8ZP8Oih1+w/1+zdKFyWfj3iMwN4jMG4DiEJSzu09dY2PWyvhwUtEE= 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_141213_990521_9D1AE0D1 X-CRM114-Status: GOOD ( 10.51 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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>; }; }; };