Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2524751lqo; Mon, 20 May 2024 08:23:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURX+rqCSgdRaNx34vjfHZ8ldtHuTFxYtbokdM+DsMA5/pJeuftn2xkEOeyLdqBFHNhOpPQ8PsurgXZGPYO9EE5pmaJiiCT6CfgG++H6Q== X-Google-Smtp-Source: AGHT+IF/ZAodQbtIAoej+cOUQJ5apHNxBTFlQt/dtN2IBNTUMSEZcU/X3wxJeO6QnKR+GXNhlOZ4 X-Received: by 2002:a05:6358:6214:b0:194:801b:151d with SMTP id e5c5f4694b2df-194801b1924mr1986814655d.7.1716218602857; Mon, 20 May 2024 08:23:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716218602; cv=pass; d=google.com; s=arc-20160816; b=jDDMIMzdqnO/e6dsXxaMIFVPESpv96/q9swJUR1pEnbXhK7lhp5zZ+K/0NX7c1U6oA wUPNuQqvxjZfYiXTUKnaHfBQ5b8OXvnU4gqpt06x/JB2ZWDcvUBV9V9SPKHtBUqRnLYs 7RBqvxFrtlIPOFHsdQBFptuhov5pFjQc1u4Pv8/66YWR9RUhPgyBAOLEQYeS7l8IeOd6 u1r7zHolltxCR85zg5bk5twke31CISGiMGPXFDlP3OwIA+FjI2rhB0lCJIxE6ra/UOtp 9idj/TjZdhk702G7H4n6BNF/FKTF/bHsp3fXD8I/EK7jKiTEXw6OmHTFhO/qFOGBa+Hn IM7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=BvrEYs9DYAbC5MlxDXuq2vHAc+BawiypTJLqHR9+P4I=; fh=rPXKdX0/7TY8FOX0GJAhcktEk03UWWFdx86SMgncIPI=; b=MI38gjWsjI1UO5S26HeAYB9VWpowDBTHXl3yAgQarKoIECzqtPnnj31whFzY8tkwEb L2oyw4qm5sOeufURbjuIX0v4duafVJfi8vrOcoMWSH0uBQpJOHJt4TzQXWiArlC3Dbhf xL+t5UhYR00fi0J0NoRVdvY7SVZ61fncrzilDemWwsVITFpeZVeETi/VPSoAZxziL5is UuhGRjnvaRXM0OhXS/30IcrxW5ycp6roPh//SvX9KdLSNcSTyayYusZaeSEb9B+tbKAx HdfGUPeASSxSy6r4WU+PjfrONeJGL2mba2ncEAfsJfBSlAwDdZyLF1G3efS1accFOy4k lGtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=0oWg1e3I; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-183901-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183901-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63412c36a64si2813764a12.762.2024.05.20.08.23.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 08:23:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183901-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=0oWg1e3I; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-183901-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183901-linux.lists.archive=gmail.com@vger.kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 487572829C5 for ; Mon, 20 May 2024 15:23:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4AEC7136E28; Mon, 20 May 2024 15:23:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="0oWg1e3I" Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 D89DC45026 for ; Mon, 20 May 2024 15:23:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716218597; cv=none; b=YgYyHB8QVZrbCBQiOZVec/EXSjShfu5k1pbvsyAj01fKAETy2xAJCPcTcgz0YMR1l1ky+nStWxcUI9YDh0P/RDGs3MyimKD5CaxroWHEcytAme7soQuUniYBl66Hicv9kBL4BD0c1TIyLreDFPArOHi1Yxulhz5IcGv9bxJPeBw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716218597; c=relaxed/simple; bh=/MqlQoolb7hzFTZdR5tx+GNDxGNoERix/Mm8NugIaCM=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=trMCrTxVPb+U+nbEFEakTsrw2SRluuSww0HXSNm0gO0M7thcdMYO/rVSvn7XUzcQjz+px9mbzjIkW5VmfdX0/HhgkDY9iFwWphJG0v8O54r+RKn73HmaARbcFbxPY18UjXMv+j9d5SS++VXssVybaEJ5tycFr+5g0Z9TUwBr76k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=0oWg1e3I; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-420298ff5b1so29678425e9.1 for ; Mon, 20 May 2024 08:23:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716218593; x=1716823393; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=BvrEYs9DYAbC5MlxDXuq2vHAc+BawiypTJLqHR9+P4I=; b=0oWg1e3In4NZcvhOGsf9X/ULcjQCiFro1XqJK6lOUm5R7yqln/lvKrXXQ8+TVM68VN MmVGQWpVWhmP5UyIuubPfMYICOHTpjk+MCR3m9Fb0HJMZ5SAAkvYWp753Q9mj4hD/6sZ TNezEgKhS8tt1CmuLkT0cGyRQK7zT8r1C2/JkwB1uA0qQH9+0GwQk9BGVaLk9mwOK6fX PAIogM4NK73K20GEKzA+2UgwevyrjdAnQCxEOMnrrpS5nEq9K4F2lcWOtx3XjE90F13j ZtahiSW11VMMShlnNiAabbrFl21q0Ox3KytXC7XzvHq/oWZOFBQDcHaJG39IZx6I6txp jucQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716218593; x=1716823393; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BvrEYs9DYAbC5MlxDXuq2vHAc+BawiypTJLqHR9+P4I=; b=L2iP44IiJmXCqgitdtMph88XvdrDb6ytYt6yRAJS+kcVrDnJyE8G5erYUNAoTYoLk1 7tqhyakBxzNFwBn5pyzPLjQi5V2KuMVQ3ZO1qgIAG3t3mv8goeAK6oSVgwovRky+ycGd ZhSU8Mef8KL0aVIU1IC5tiySho8fmbcWSKWFd84qq6+yxKHV97f5AqhdSSLtiEbgtnGi TDCe0CPZRoEbaWIcjtz15n1nvfaQWTbRT+86FyrRyqVGNPaLs5hgWKUGSvAMcV5XyprT B/MReQDaCEoOvmTDjuN8Qm0tz1lHoMuEGT5QZedghBz9Vb75KNI36tsuPApVMA2BBzWR W1uQ== X-Forwarded-Encrypted: i=1; AJvYcCU3fihL7MaCfgXA9ab19ivUh5IBkt0uT1o9nGm48TS8tynXFuDbrsYsKbrVFhsjylzab9ZPKoxsgEK0eXsdkJb7WyxhIfURyahWUB6V X-Gm-Message-State: AOJu0YyyeHlO0k5zfziUp1iaJ/bgGaoUBUf1iqMNqtKWjH1qj7WRg32l LXrfsrQsX0/7BdEfjpKmcXd2lsd3HEtTlFvCiONw5WcMNFIBONtc92oNhH9N8UE= X-Received: by 2002:a05:600c:3ca3:b0:41c:23f3:65fa with SMTP id 5b1f17b1804b1-41feac55e3cmr276704235e9.28.1716218593164; Mon, 20 May 2024 08:23:13 -0700 (PDT) Received: from [192.168.1.172] ([93.5.22.158]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41f88111033sm461769625e9.34.2024.05.20.08.23.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 May 2024 08:23:12 -0700 (PDT) Message-ID: <51a47736-ffe8-49e2-b798-d409ca587501@baylibre.com> Date: Mon, 20 May 2024 17:23:11 +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: AngeloGioacchino Del Regno , Krzysztof Kozlowski , 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> Content-Language: en-US From: Alexandre Mergnat In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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. -- Regards, Alexandre