From patchwork Wed Jun 12 09:24:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13694691 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 048AFC27C53 for ; Wed, 12 Jun 2024 09:24:43 +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=gTijVW/c0PheiETrLzEjcgWKlXvandGPfKwnTsYZzSY=; b=dVmuuly9EXXyzLdmmpuV34BHwu EuyAxy8PGw16L2EmW2cogoRNAKmhF874RhN+W3CIiWXG52XRqXrPzxyBc8xPalyCx0m5ZFmqfItS8 nFVcocSf/9rcmzWKyTzGsghbLx/mfboSUjmOcN0nW5Z6SAUGcM04UJft3D3d+sWptWEe5c5uc7nMi oHIdTkE0bn4Jlu5oySf2n5fO34c8BxqM+CkY85oSIJOVKDNWm479CQZMUT9OWEpbxvQlFpWyJ2Tnp jRJfrL8dqB4ELRn1WK1C6IVcl6mHu9tvMICI2oflCjm6zIjla8br7PPK5mUlc2L4RQVJ8qghzZPOJ DqejvWBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHKDX-0000000Bxj5-36dK; Wed, 12 Jun 2024 09:24:31 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHKDU-0000000Bxgo-1pjL for linux-arm-kernel@lists.infradead.org; Wed, 12 Jun 2024 09:24:30 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-52bc274f438so2785617e87.0 for ; Wed, 12 Jun 2024 02:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718184266; x=1718789066; 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=gTijVW/c0PheiETrLzEjcgWKlXvandGPfKwnTsYZzSY=; b=zMtkyyguvnvr7W/p1hooR9a0qKfHIzKdAT26E7vu8etdFafvRut0ZQVa0mJyEqG3gs psWc0jwxJgVWq5m/fDVeofVRwO0hOLQtMbkRje/8FPCZlrlLnmip8/pB5gqIY9IaWJsp FdLfCguorgx72dOms6OosZylcVSell0wdofOX+nXLVkUptuTAgwvXgzj3syaJQgC/PqG uUdOgQ/mnoC//C3cyI5yytSNjaFrT3ZqtL6qjtLDl3TUCRff6hPlslOTVmKLUNJRU3HI ocR2fWxC0cpUwHxwsyd7OEYdoZnEd/kNKLWH6YzrgBno6nmymGoG+kNFy1inZERvNPX0 qQJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718184266; x=1718789066; 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=gTijVW/c0PheiETrLzEjcgWKlXvandGPfKwnTsYZzSY=; b=QAEfx/EItOpHOKOwnvZIHWIrk6pOPuRe5nZBT58FYPcSyGYLDEOfExmQvuUxNTzsRU T9wMilpAzeyUdLQhLLzP2xROCIh+3K9EhXUnZOKTV3ZwBd9vWywFlEHAYMBFu5FmxQig 2ZjwlgEmaMDZSN+HDCKpBwUE8ubj2sdghf06a6GJWWyO3xds2Bm1jwbm7YB3lPNtno5h LQmw2fT9ebpUMslHXW70ShlBReYWv4gX9qCdH+dz/XpJ1xg7J3PZO3ImMaNuBV9Z4cbc pBjC/JMlrCQw+SrITqxd5SKBclAk84/y+2a8wQMk30YtGBN72m6Ayl9yCWiEm7dyPY5Q 6cJQ== X-Forwarded-Encrypted: i=1; AJvYcCW1dY0glmGpgyPN2D9qhQFDks6lcQF2gewBhbG5li14QVNBQwG6gyqYuvAQzMbA8oz5NZlKSNDyRLj/oXdK8SNSNkDZyMsza9nXjCDyTwN/YXCQhRA= X-Gm-Message-State: AOJu0YyhZ6VrCrrSC2mtc5Fv6ztcOqhP/lVtkgFjTgtS6wG/PJBQ5ndC lF62Q3+7bImSK0GO4h/iX7Be5G2W8AJI6vKFZYbWvG4hUA67x3ghAPGYv1pomB0+LAmFAP8qZpL b X-Google-Smtp-Source: AGHT+IFqaCEnIiWKhTWBfjOSEjjiN9fP7XZI9ln5o7b24/sAj4EADCaVdyrAYctm8l1H4IcbPLFHgg== X-Received: by 2002:a05:6512:1245:b0:52c:95d1:87ae with SMTP id 2adb3069b0e04-52c9a3b7bffmr1099334e87.12.1718184265932; Wed, 12 Jun 2024 02:24:25 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52c82faf1b7sm1623806e87.130.2024.06.12.02.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 02:24:25 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , 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 v2 1/3] arm64: dts: mediatek: mt8365: drop incorrect power-domain-cells Date: Wed, 12 Jun 2024 11:24:19 +0200 Message-ID: <20240612092421.52917-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-20240612_022428_507329_F97BA911 X-CRM114-Status: GOOD ( 10.48 ) 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. Signed-off-by: Krzysztof Kozlowski --- Changes in v2: 1. Reverse patches. --- 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 24581f7410aa..455c2ae3b30a 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-syscfg", "syscon", "simple-mfd"; reg = <0 0x10006000 0 0x1000>; - #power-domain-cells = <1>; /* System Power Manager */ spm: power-controller { From patchwork Wed Jun 12 09:24:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13694692 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 F2E47C27C75 for ; Wed, 12 Jun 2024 09:24:48 +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=NVq/XPrdWmMMBpDrtjBL0lbuC27j39fwjqCGgq7/OIc=; b=Sp98wqgk/CShkRtXnUxBqgN3t6 LBYpF68/PLTKaELSRChnJ0r5khsazpZ8r0Za+XQekCvME5C5TS4vz2RoVJNdHF0ZaVgLFKagKoAVm UbOQeIYwHI3ILIT/oEOfnmF5c1bVSd4AtFGYVPj7x722xRRDgQbEHMpd/dm9Kj9WMn89BiCCNI5xS O4QnFnUO8LOujVlYrOrY+282GCtiFqUUZ6Jy+fFFfFj+p2WQAyZCGPCfpTGbOmib1DiGVII+8JJA6 c43SDUVpKCs+rQTc68FmeZZ/0mmc4yfwPoCw6fh/BTqthiucAqAJ71IRv7KvgY5rWu/mPO6jteIuq 27PyWjvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHKDd-0000000Bxln-1Oy3; Wed, 12 Jun 2024 09:24:37 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHKDV-0000000Bxh1-41ja for linux-arm-kernel@lists.infradead.org; Wed, 12 Jun 2024 09:24:31 +0000 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-52bc121fb1eso5595138e87.1 for ; Wed, 12 Jun 2024 02:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718184268; x=1718789068; 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=NVq/XPrdWmMMBpDrtjBL0lbuC27j39fwjqCGgq7/OIc=; b=Ym+l2+XqIyK+mIrWR3N+tEnpq+rZsQ/AOheAGF6uthSIHSZ5RG+HcRtuBaud0VOlYW s73/TeZhxy8BD5jtBRoUfERkXt+N6byodM8l5CflidyhnNBZn33e6jiwjqkK7Sl3zp47 xOBTqipmyOmZSxmF9/guxg8YjAOxMSIRXGuCotRKFaE7wonOv3AnSlt3hND9vsqI0GrG AGdVEnSur+bDsuhfDk+i4xpYUxYES0TjFckTdJwIeKB7c1PNtaITZjG26MMERG90BnYD zRcUyB/V34W7D2I5VMqyir/yLWSF+tI+WeqDb7WRN3oCwZw2iVuhEc1ksqI8xpnwOlTi czKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718184268; x=1718789068; 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=NVq/XPrdWmMMBpDrtjBL0lbuC27j39fwjqCGgq7/OIc=; b=o1ZDoCfhYg6jzsasuqU9P9UfvQa/qPDavyoNPAQp8VOX7kYmYqE79iDcYlgyCG8D3X 6BQ1Utu8HwTRE54l5EJZhKPqDd7dkjQdRM6u+7JHAd+Sfeyv4q78RG0y9X5Jri/LE+Gv KSS60ndVsxT6KapxFn1jfdyu7s/osAzETXp3nJbYEuCZw9XMFPllexe+bX3FzHh3RvFN +r61u/YkMX0BfI3gzYNNTVG75jN3rChFFMEFWl4TpmTAjTtEB4HiP9QEvR1fq1pRNZa+ OT3vdU81eSB5Oxc2u8JsWbdJAmw3HG6S9NN12mgBbKuDVmxE29iDzBdUotd9DwxCmTfI kihg== X-Forwarded-Encrypted: i=1; AJvYcCXoN0WWT1YxLWkk6Yz6vR4lR0JFYJDqSn42ZW70NgECFbbHRjCu4k55c0GsId8YJM7tJEPmT03UgDL/kAUyZBLmmj3USwDkDna3InFIc+Ba0xO9+fA= X-Gm-Message-State: AOJu0Yx9bExJF3p1aHqpdc64Sq/6SGU2a7a+mEYJQXwI+GLzl/N0O6Q/ eyrgEsgNefuhuzxXMGJ9z5pioMJ5Xyp0lOoxWR/ztoWXkf/9M4mctvYvj8vPDgg= X-Google-Smtp-Source: AGHT+IEfFP6e6pTW+1khTsjjkkVQ9dhYQOSP5hhhyY4gGwO6/jsKLIdG1CzNbeFE/N/FoWTmcrjwPw== X-Received: by 2002:a05:6512:401c:b0:52c:910b:9c87 with SMTP id 2adb3069b0e04-52c9a3df0f2mr896236e87.36.1718184267973; Wed, 12 Jun 2024 02:24:27 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52c82faf1b7sm1623806e87.130.2024.06.12.02.24.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 02:24:27 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski , Alexandre Mergnat Subject: [PATCH v2 2/3] arm64: dts: mediatek: mt8365: use a specific SCPSYS compatible Date: Wed, 12 Jun 2024 11:24:20 +0200 Message-ID: <20240612092421.52917-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240612092421.52917-1-krzysztof.kozlowski@linaro.org> References: <20240612092421.52917-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-20240612_022430_012973_6A9F0BA9 X-CRM114-Status: GOOD ( 12.82 ) 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. Reviewed-by: Alexandre Mergnat Tested-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Krzysztof Kozlowski --- Changes in v2: 1. Tags --- 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 455c2ae3b30a..eb449bfa8803 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>; /* System Power Manager */ From patchwork Wed Jun 12 09:24:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13694693 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 6C944C27C53 for ; Wed, 12 Jun 2024 09:24:52 +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=DfH51kBtOmvN/SbHgLsWaCNr0Bu/Fg6um6oRQlR7oHY=; b=0QoUbj6fWd8GJURY6neVeuo78J w9NqMSFJU3wDuxfEN//CxX19RNtxWyokylZW2e8Foi1mkaoOFcKI8q7sMUiTMBdW1jhHbd5BmlaGs 1Wig049/cGL7DV6JFEWhYomiaRkMwQ7NVMjEhpRIAb5UDo6eaxqI60pAmiLzzb09tn6fkf2LTVRWy lMszdN+PSaD2aztZurnmZlZz9E3A47fRhd8yYIS2C67Zq8MOkf9NgRx+51m+bUxJAj8AsWcVvCzPd 2YMH2W7TEsa4p58JYYMi2zguVy82yTEGSv6ajRFe+er9OXnVydMyAM8M2yqruGG5/UqEgkR0ycDqM 7dkO7RJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHKDe-0000000Bxmc-1gyb; Wed, 12 Jun 2024 09:24:38 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHKDX-0000000BxiV-1tdg for linux-arm-kernel@lists.infradead.org; Wed, 12 Jun 2024 09:24:33 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-52c4b92c09bso2688006e87.1 for ; Wed, 12 Jun 2024 02:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718184270; x=1718789070; 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=DfH51kBtOmvN/SbHgLsWaCNr0Bu/Fg6um6oRQlR7oHY=; b=XC214CI2+kEz6ZjGLMUXxcvmPaxCXE88H3GAfx8l12BxKJRQnJGMOg4jtH3t2ao9XK MU1eqyv6S0zmHioSFmTmZQeo9sXsu+Csl2GLUStdcGaorpqALz2txKp/0wpNug9LlM/F 8firgQBR5/iUoc9EnCQe51uUy/DlG5Q3fcU99wQEXBRmWwY9D4E+/0lV4nQRUVWlI/17 0p148PiwhZC/u9gOzDie0/SSI9LAuV/pzYPsbxQkHuIcWmvIdCjbgCEDpRDDR4+0TEv8 OBMkzkoXpZ5lU7pGhDwm/qRcnB6TkiCckAhwc7fonyjSkGXSnuiT3apo30ovT1nZoVKD vJxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718184270; x=1718789070; 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=DfH51kBtOmvN/SbHgLsWaCNr0Bu/Fg6um6oRQlR7oHY=; b=iIkrWMMckBctRde2wytt9Ja5vS91nVlra8S+Bayg2+Xc9Ix8dySp/OtLptEAvg1LUA GsNBuN6kyrEJFm9G0lOfzOqLybD0e6dWRdHgMnRfN/h7ArtaJnhdKzR5rApBb4OPe2C9 TPTrAlFy/1EzF7L/ZEJt1frIaZ4mgkyRXGZaOQemGasTS1kSd0O1DMV7JtSYahOaB9yc 82OWs5v1d80qY+fRykUTH9iODkbs00d4Bq9Mw1gUlIqoKtVvxzfmTt75urZGf51W60Xv HkSZvbdlmr9OvzR1/FVb9z8rJbYjp1dFIcnKg0VWp4LuytZPHK1RWGsUm21LooHXukZY ZPSQ== X-Forwarded-Encrypted: i=1; AJvYcCXh66bg244Ij0hfRQLP+TUM/NovDOzL2ZbjVI/BVaPg6zPw8qfvH7b6PdNR/yd0kNe8hLOBAdkZmAVSt+pYK7AR12T+dG0xDedc6lquZGCdRdpADgc= X-Gm-Message-State: AOJu0YxVVZ3s2RFnXJyefWR90iXKNug+y/q7goHOQE78Qf5ImZlcAdQw QcxwJLJUcV1b0QV4542UouX20JnsW/GSKLh9A8TN/BAxgdABJV52LuiXqJUoXP4= X-Google-Smtp-Source: AGHT+IEF/QjW1JAYelI47//kT/YeUyUvmkw2ZBd8t575ZCaGqY/UKt62km1JBl3qUL4DuZNV4IphVA== X-Received: by 2002:ac2:4341:0:b0:52c:8a15:3c01 with SMTP id 2adb3069b0e04-52c9a3dfab4mr923248e87.40.1718184269730; Wed, 12 Jun 2024 02:24:29 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52c82faf1b7sm1623806e87.130.2024.06.12.02.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 02:24:29 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , 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 v2 3/3] arm64: dts: mediatek: mt8173-elm: drop PMIC's syscon node Date: Wed, 12 Jun 2024 11:24:21 +0200 Message-ID: <20240612092421.52917-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240612092421.52917-1-krzysztof.kozlowski@linaro.org> References: <20240612092421.52917-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-20240612_022431_540380_0C32AB79 X-CRM114-Status: GOOD ( 11.57 ) 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 According to AngeloGioacchino Del Regno, the syscon node in PMIC is neither needed nor used. It looks like a solution to expose some of the registers of PMIC. Drop it to solve also incorrect number of entries in the "reg" property and fix dtbs_check warning: mt8173-elm.dtb: syscon@c000: reg: [[0, 49152], [0, 264]] is too long Link: https://lore.kernel.org/all/671a4b1e-3d95-438c-beae-d967e0ad1c77@collabora.com/ Signed-off-by: Krzysztof Kozlowski --- Changes in v2: 1. Drop the node as suggested. --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index 6d962d437e02..b4d85147b77b 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -1134,12 +1134,6 @@ mt6397_vibr_reg: ldo_vibr { rtc: mt6397rtc { compatible = "mediatek,mt6397-rtc"; }; - - syscfg_pctl_pmic: syscon@c000 { - compatible = "mediatek,mt6397-pctl-pmic-syscfg", - "syscon"; - reg = <0 0x0000c000 0 0x0108>; - }; }; };