Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2549974lqb; Tue, 28 May 2024 03:36:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMVk2DOKX83xK2BSNv2t2cRbzMwoDxaEbdRCIEtZIHU5UNzRrdbWvNjbA4furNXWGHBarys8qEpejds5ZTl4vcPCal3YB5QWaqc7MHMQ== X-Google-Smtp-Source: AGHT+IFRibRI34tHMUHZHFVjnPgTUp3MKh/XG0W4fRyEXnxFwVqd8mnzOp/npPtU10ygnnS/XhBD X-Received: by 2002:a50:d507:0:b0:56e:215b:75c2 with SMTP id 4fb4d7f45d1cf-578519326f5mr7526319a12.17.1716892594892; Tue, 28 May 2024 03:36:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716892594; cv=pass; d=google.com; s=arc-20160816; b=grF6K42YvHPL22PtKBlpxpvZ1ZxICXDRQDLkDUr5Dj0BHjK+VJwfqO7/Mx82TFeZ/Z WVElUzQ8jCq5wX6JGyl5/7i+/ip/0qdvq3CZ7rCcrIDWzjE7QC9/CWpERHSkza79tYdZ DVlhZKKIB/v35DFd4FB8pdHKq8aIqJ4B9Sbqx/UJ3N0PagUAB2jv5S5gJdVnrnHU0vYJ 5FpuaDLTkhB7oHnpQCZsvXzai0ZTb/Y8bg8vPibTg+7cmAPsbox5v3Q3OiXlcX2DJOXm 9D+Z5kYH3k4M+zYub/zOa4Gv/L0k+57p2m5OohzS85ZpkR5jjlhVPJJv+HNUSC/L49PC kB6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=lvCgPB2zM3TKOoYYGvVx3ZCoxZo2i5o2g3NV+tdRFks=; fh=GXKMa1KHrsYyi91i6ehBDpazRHsy6GJr5UTxhMw57bo=; b=tQKefY7a3a2btPvVjd/RJlpBsVCybzTBsi2cwQGm+KdYj5GxitwjsqKQYtFFQgHokm F9RmNdkyUQ0QdP2D2b1MD1MWKTdrBBIkw1G404YR0ODhShMzV6J7+QaqIafPfbK+LdOT Ky8u796mFYHyaaBHuP35j5+UiUhTPeo50W6Vz3tx8TP7GkiCb5C9/KG83SB24BO/YX6W 1O8H5UUsHwvRqRdJpaeRpZBCMuX8r9cB3slXWDveefq47Ei6bV1hQMQ+qijDBbIfgr2A KuoIKA+iWNiML7Yy9i8CVrlqiX5qnfEW4VSY8+EZhpeseIpp/Uj0byJ0xEPZzlYZ1XIz Y2ZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LXFy8R1p; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-192124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192124-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57869487218si3936587a12.31.2024.05.28.03.36.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 03:36:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LXFy8R1p; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-192124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192124-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9C6FE1F227EA for ; Tue, 28 May 2024 10:36:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 469A716B737; Tue, 28 May 2024 10:36:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="LXFy8R1p" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B87213AD3E; Tue, 28 May 2024 10:36:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716892584; cv=none; b=SxX/RBYcEWqgpeIbg/ebvwZiDLNbX3aSDBkvd1y4CL6j54jsogsbTlENg9eMDtcrsZSGZBHFinE043DLUtlVLfM1xPI5Cdsom+dyEF4MOkIoXAi298ypS8kav7bEf9xgbAUgeo4FBXkGzXZfPI4vwDNJRcOIHcbf+zl3WyW1lDY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716892584; c=relaxed/simple; bh=b3vuLqhp0ef7XqKQvTQFMeMDrvPq6HyeO8+lLKTbJSY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VKxaOQ5SLf348LklIk+JSbkyV+PC8ZEVaxMIR7ed1CePmn6Gyp1KRE2YHJsZLTXxU3SgHC0xoe4hkKAZyu9CUVsT/aqyJgwZKRl1yqfb7ba+62sNjEZOQBft5GilhulvXfUq90kwlX5dVKNXYLpnAQz9mvzSrcWSlek7Z6B582I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=LXFy8R1p; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1716892581; bh=b3vuLqhp0ef7XqKQvTQFMeMDrvPq6HyeO8+lLKTbJSY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=LXFy8R1p8kuFePDa1i1nalhPAAsmqdiOx83mTVivtvHTODCspq5MRcKMfAOJHe0JH /q52FTKniqX1aStX8z41RvLYwHIYSAcd5BWdp67QZ9TUpvjSMuppjeKG2oasRG0wS0 mcsIThu5QV71DxY3WLxzq4jtEU1Ic7DVAzrnEMNhscG2AcGGLRa5bCxriAp7wyQHB/ /ulZioTQ7rA4BDVec9qmHnYfkSJdKJVIKlfut4gHnDbGHSvMVCkPQL+sPs3lABckJ4 18NHPQmHSRqwipg/xsvqor+USo01QgaOJ9DZm5duWxbk/8TUCGIuFp6DGMBcP6Fr7W 6OLuvV386PnTw== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 752583782113; Tue, 28 May 2024 10:36:20 +0000 (UTC) Message-ID: <4715d477-5f66-47db-973f-af64a3009113@collabora.com> Date: Tue, 28 May 2024 12:36:19 +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 5/5] arm64: dts: mediatek: mt8188: Add support for Mali GPU on Panfrost To: Julien Panis , linux-mediatek@lists.infradead.org Cc: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, mandyjh.liu@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com References: <20240527093908.97574-1-angelogioacchino.delregno@collabora.com> <20240527093908.97574-6-angelogioacchino.delregno@collabora.com> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Il 27/05/24 16:53, Julien Panis ha scritto: > On 5/27/24 11:39, AngeloGioacchino Del Regno wrote: >> Add the necessary OPP table for the GPU and also add a GPU node >> to enable support for the Valhall-JM G57 MC3 found on this SoC, >> using the Panfrost driver. >> >> Signed-off-by: AngeloGioacchino Del Regno >> --- > > [...] > >> +        gpu: gpu@13000000 { >> +            compatible = "mediatek,mt8188-mali", "arm,mali-valhall-jm"; >> +            reg = <0 0x13000000 0 0x4000>; >> + >> +            clocks = <&mfgcfg CLK_MFGCFG_BG3D>; >> +            interrupts = , >> +                     , >> +                     ; >> +            interrupt-names = "job", "mmu", "gpu"; >> +            operating-points-v2 = <&gpu_opp_table>; >> +            power-domains = <&spm MT8188_POWER_DOMAIN_MFG2>, >> +                    <&spm MT8188_POWER_DOMAIN_MFG3>, >> +                    <&spm MT8188_POWER_DOMAIN_MFG4>; >> +            power-domain-names = "core0", "core1", "core2"; > > Hi Angelo, > > I think you should add something like that here: > #cooling-cells = <2>; > (the warning is raised when I run 'make dtbs_check') > > Julien > I can either add it to a v2 of this series, or you can add it in your patch where you're actually adding the thermal support. I have no preferences about who adds it, and I agree that cooling-cells should eventually get there, so I'll leave the choice to you :-) Cheers, Angelo