Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2932986lqo; Tue, 21 May 2024 01:22:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUCBb6x+LvaUSYeLk34EawzH6/VZhn9kb0F9wO4rLVk4USZJo59tZ89/wLKZlGKsm/whcS/QTk03ZtTT55nkk71Vz44Zm9/kV5urI+aeg== X-Google-Smtp-Source: AGHT+IGc10vV1h+Ira4MfDUdov5E077iV2eY4HqIZ1fiLTaPwbXI2HUhGUKNRL3xBxNFNrGaO780 X-Received: by 2002:a05:6102:1621:b0:47c:2894:cb01 with SMTP id ada2fe7eead31-48077ddd6damr33210584137.3.1716279777944; Tue, 21 May 2024 01:22:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716279777; cv=pass; d=google.com; s=arc-20160816; b=qyyDg2J7Ao4lXSeQeEJo335mkxOIFnkhQ4kmtEevno8qpun+fCiy8msG8o2eRmCEqf RgrWHwsvex561dwVyABbVwK6dQFd2j6C0EXC/rU58GsskNS1+O7bevTAgWY+kaPlG3E9 YVv6DMbQIroj68RUOilh9z8KtLm9jccdyxZy4m5rFOflmwtcrAC0JeFosOdGgqhQ2csG DkIwM6SbU/qe3WW+pEUyGmulYcMjUxGl1qpkx2Z6Gi4SCPJwbpKBvDK9cHKfle6fgSey Iv4K1Z3vtEE3zwjkyCaZnEwANhmDlHde6eebT13vUO833zKgoKnBxjrfjdTP4mNiSqSs FLwA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=LPtanllkSZKaScs+26zclJhDb8dZFC+D3WKJMlR2rG4=; fh=nVGpf0Bcc8XRxWcquaC5Wyhb/oe+uCcv+JUeSNyjAyk=; b=DrLD/++R9AGY2OYKtOjqPNE/GSCyJl5Q/8NYI8hMuNvoHtmA6uShD+UYqIoQv7nQpA AR9u8lnllyF+yKCZuT54QzsX6KAywwb1vOCVO940fv+8VTml5oRoO1SeZsmM73jwnhKM o3b3N6J2O5T9BvFST+wJ+sPWrwC3SePSRHSWKTc0j9fMHqMGoh+eUVRxfJWqVRtox0SV m+4+Ckvet4M0SYCvSihA4WPj15AWj6JKS1Ic9ExMGAh87og8qpxMppG+em/DeFhCCQ4+ RFHLS0xjzdXPZVTGSBNZs45JY9ITiT5Nr7ZqMSMA7+OEsSSmWX5Wtt/PMMoLQytOkoLq lsuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="zFt/MZFh"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-184635-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43e192ec17asi200803911cf.467.2024.05.21.01.22.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 01:22:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184635-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="zFt/MZFh"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-184635-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 62E031C20CD6 for ; Tue, 21 May 2024 08:22:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDAC9548E0; Tue, 21 May 2024 08:22:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zFt/MZFh" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1379851C4F for ; Tue, 21 May 2024 08:22:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716279769; cv=none; b=SPcTRhzCwm3Be1schrxPlgNYQD6+2hB9Ncp6C85XAohWRTrSb0oEeV3hjyQonHx5W7fkTpKFof/AzvO0L5vh8wRaCQO87VPd3Q4iYnpzZHorkB7I2PsgkYBmU1tK2X3ZAaerWGRH35fDqAxqopXbGckPifdfiFhSKmycrszWOSk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716279769; c=relaxed/simple; bh=EeRWE1XR2EwYdwHW9dWW9XdQxrVC1xXxF1iefdEmBVk=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=UTU3PoHR/oCVw6p4Azls/FpcN02GPKmKMW7F/AYBEGH8KGOVc2IBmAc1bKp6l+4NghoAdgJzwNfh6toFjc/8wajsIKZmNABf0iTJV4PnOIJrHyT35ijc7E9se7mSsSnb+YaUmbZNlrQ1wqwLnyn8SZk7VASR/FstH6jxnNQkq/Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=zFt/MZFh; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4202c1d19d5so26426515e9.2 for ; Tue, 21 May 2024 01:22:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716279765; x=1716884565; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=LPtanllkSZKaScs+26zclJhDb8dZFC+D3WKJMlR2rG4=; b=zFt/MZFhsSIcuB2ZlVBcKwsXJGZhK7zX4YMcof94aeTi4eSaY15It+Oy4SCfd+RyG+ yeAimbqDXM/6v+Hg6QdZBI3ET1/KXUq1oFEjF8D00TaL5Bf4nX7kS+jYLPhk1BpYML+5 hKlTkYtAapqam1rTEtCB3uUsfBvjU75mt8EFklck8exxAme3BSTwEdSJCA7xzv/Oan4J VOdi6uPi/JgNeyXFTYb1tU5UMALRFOB9HUjk3MlNMgX32MlNSSAqaNfa+UPAOgjfwRLO d5Cjsw+EHNeUiIEzpAwmSTp84XWoG5py7OLwrfJPp9AgpGMqAz+p9cWXIOUcS/WpKzs7 ga/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716279765; x=1716884565; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LPtanllkSZKaScs+26zclJhDb8dZFC+D3WKJMlR2rG4=; b=QVvMVxWNlf/hvpzRpB+Ne5DFNZAYkOU71y1pjOqKD1URHSwpiJMXCzG8kPotcn5KSt xXd9N0dk4dvtSMGyQLXQSxZV8eYoZ9G5zy57oJsyWhGTPD/yHJ6++sxpUxYAKMHnAiYD I2xHohvO7jkMBuWMLDThwpUYJtJd1hs/dPxKZvIJ/OFrEueLnDnNuOIKbLVKa+ZY34ou STVvFcSCVio8QuhmI0TpBAW+ON0Pr63pxl9c2dvVG1f0mo1vEFsy6YW+b1TVEiqCwEfm swAteE+D0rsNxHTzlm2U3rf3QBpfILyeMjdsDX9tTdKa7albtPhmGLfKtu3Q4UgFIvc7 q1ng== X-Forwarded-Encrypted: i=1; AJvYcCXWXPqUn/sTwA6Ot+5ArrjK32TYzZLaT6WvfUHRnsSVnRqwFv4QCnqd6BhxXoO3dsqn/URPErvAPn77I7N1x0u7B+97K36b2zJM4pQB X-Gm-Message-State: AOJu0YyoqvHBootwSJRaWGeM1MlMqk40zWgc4ZOqFXIozMrw0Ek9IAeQ x/ut1sGceqQn0Q7KM0NREqTAtYxUjO+HyGXYb1OwD+SCpDQz+y7smFXZCxX7was= X-Received: by 2002:a05:600c:450e:b0:41c:2499:fa0e with SMTP id 5b1f17b1804b1-41fea931878mr281712685e9.4.1716279765368; Tue, 21 May 2024 01:22:45 -0700 (PDT) Received: from [192.168.1.20] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-420111f2decsm369090595e9.22.2024.05.21.01.22.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 May 2024 01:22:44 -0700 (PDT) Message-ID: <75b78eaf-9b13-477c-bf02-4e9837a25dd4@linaro.org> Date: Tue, 21 May 2024 10:22:42 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] arm64: dts: mediatek: mt8365: use a specific SCPSYS compatible To: Alexandre Mergnat , AngeloGioacchino Del Regno , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , MandyJH Liu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20240518211159.142920-1-krzysztof.kozlowski@linaro.org> <20240518211159.142920-2-krzysztof.kozlowski@linaro.org> <2cc638ca-0add-4c8c-b844-606e22dbd253@linaro.org> <51a47736-ffe8-49e2-b798-d409ca587501@baylibre.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq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MQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <51a47736-ffe8-49e2-b798-d409ca587501@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 20/05/2024 17:23, Alexandre Mergnat wrote: > Hello Krzysztof, > > On 20/05/2024 12:12, AngeloGioacchino Del Regno wrote: >> Il 20/05/24 12:03, Krzysztof Kozlowski ha scritto: >>> On 20/05/2024 11:55, AngeloGioacchino Del Regno wrote: >>>> Il 18/05/24 23:11, Krzysztof Kozlowski ha scritto: >>>>> 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 >>>> >>>> Technically, that's not a SCPSYS block, but called SYSCFG in MT8365, but the >>>> meaning and the functioning is the same, so it's fine for me. >>> >>> So there are two syscfg blocks? With exactly the same set of registers >>> or different? >>> >> >> I'm not sure about that, I don't have the MT8365 datasheet... >> >> Adding Alexandre to the loop - I think he can clarify as he should have the >> required documentation. > > Unfortunately, The SCPSYS (@10006000) isn't documented, but according to the functionnal > specification, it seems to have only one block. > > I don't have the history why SYSCFG instead of SCPSYS. > > I've tested your serie and have a regression at the kernel boot time: > [ 7.738117] mtk-power-controller 10006000.syscon:power-controller: Failed to create device link > (0x180) with 14000000.syscon > > It's related to your patch 3/4. I don't see how this could be related. The error is mentioning entirely different node - mmsys. No driver binds to 10006000.syscon, except the MFD syscon of course, so my change should have zero effect on drivers. The mtk-pm-domains (so child of patch affected in 3/4) only takes regmap from the parent, so the cells again are not related. Just to be sure: you are testing mainline or next, without any other patches on top except mine? > Best regards, Krzysztof