Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1152636lqb; Thu, 30 May 2024 01:36:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4SnKUIAIG0CfmDsx/io8Edrbh/cWmDz5YJW/YkHeiWbehO7oRRi1dOgOG/xByNl3rjQYYKCdBTiGCM7vRGnZpT199xF/OAvdNoQtXqg== X-Google-Smtp-Source: AGHT+IH4BrK5w+iOt5kv6E3z65C35+FKGMh3I/OJyrebH1YW43yCHqyNvzsFhAan5yIESA4IqK2L X-Received: by 2002:a05:620a:5786:b0:792:c5c7:e914 with SMTP id af79cd13be357-794e9d8dab3mr188616185a.13.1717058167128; Thu, 30 May 2024 01:36:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717058167; cv=pass; d=google.com; s=arc-20160816; b=ekcoTxwji0J/aZpSnKX75+nfee8LmXyr+OKvpiYfnafNqO/tavk+8tKRq9W82W8IBF Ler43Fc+RjgkQs/dYNy9LjK6/WoGGGIiZNGsuyLu3f2rXOK5bhejylzUuRRzvzZF9KaX seL3pZRjSStsa7PcWu6XLcHNXeN148xz4ilfJL9LxBCoHxlKMHGWpahWHum0Y/FCcahh Raqs5AuhujmRHGTOKQ7mAWNrYNIIjM2Qug0TFs8sjSoNDdYOo3JBDFVNnAi0XzHy98Z/ 4kYINbD96AwGzee2xgXhTQ6KzuETN20BCIyDRqgGQkXmc6MMID3af/EMtiOlji7YYkBv k0Bg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=7xwThRWWm7RGJSY39HVyy4ljf9OK8/1xd1SRHdwBmpo=; fh=x8qK5N9FCWK3OdsbzcIhWTFuBpVhnbbRSyF9XHR414M=; b=fGKpwt+JYXB37OlLA3Xf5Dg5guHyacc9GAwL6lAeEpqGcBLA581flzpvA7Ib+c6Ryb onUaEbnekTgVXgRF1JyEshewbShwtHjZN+TSmAmxZxegMAIebdh0ml+rLi33Yc841odG kVV/qa+btfJVy+FEbl5GDACcC/gWmwt+6p9YCMps5mcKfNsHNb9DuSEbwe0ZX84QiRGY WabHayQsnJF1W1o1WchFBaIeccOo0a7C4e0cPoVs0Kzw985Fhwt5nJ2PCsTU7SAcrjpb 9zJDyuEvAUBB7bssrbln+uFFRZ9u19tOr4SUhGld5P2nfYInq7OON5WpJ7w5AgRhhB13 r0yQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bctwU5M3; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-195070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195070-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794abd5fcb6si151332985a.766.2024.05.30.01.36.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 01:36:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bctwU5M3; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-195070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195070-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 D84581C21FA2 for ; Thu, 30 May 2024 08:36:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 909781C68A3; Thu, 30 May 2024 08:35:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="bctwU5M3" Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 62B961C0DCF for ; Thu, 30 May 2024 08:35:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717058132; cv=none; b=IIk2VvTjCvcy24gjSQrK7hqnNmIpXhyd0GYs8m0Sba2CRN7m2kMrYsCtM4QH6SaYGtxiXFV4NEyiTewaS4AOjba0UIXaF7ND4LjHEsxp8tXwt0t+2ChKGRp9HlBa96aCL0SymVqi9twK+5y49VTuuIomHHMxPm4MKm7VQkuHF/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717058132; c=relaxed/simple; bh=fOA9PRzoSPSdOmLcXpSzgPJnmVrBIbISbwQee7WCels=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ov4WK4btA6MiyKx07oiQU1jS6kkDOLNEXF91WS2dNMhCK9dEMVlpBcifOZz+EmtSp5J9DTLY4R/rh7aH8LXNQYxbVl4sk4RIY0HuEuPpWBDg3KLxuv3CtKyRMReB48nJWqEXMBUSzDykZ4uLwk2a8aPeavU4bTJJXw0zdbmYj6Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=bctwU5M3; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1f44b4404dfso5771635ad.0 for ; Thu, 30 May 2024 01:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1717058131; x=1717662931; darn=vger.kernel.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=7xwThRWWm7RGJSY39HVyy4ljf9OK8/1xd1SRHdwBmpo=; b=bctwU5M331EWFWasLTXDWtsRprL4uk6qi8hPZrnKFQLPV5zdQ+AcKI9xijUe1d1CSI uenStIs4Qb9q9cSH6GlkmA7dPx38xuAnuDnZQaddXJOJNz3HdqNYU1rc9CQoopDKmjkd QVfnq/oIUN4Z+HdD3MwFAJt/DoJYWW4UFOshE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717058131; x=1717662931; 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=7xwThRWWm7RGJSY39HVyy4ljf9OK8/1xd1SRHdwBmpo=; b=X1FWWnuZCZpV186MGYNmYSYyNmx859W2lNIHtWzHoN9jpbGvqHQybnkJkE1MYa0KnN coq8dJ4loAcThXnHVKzvSaeNdzoaFTjNQZbvwagdDhVNzzTHyE16JHOqf8H5EwpsCFPg yQkiDDci0yvy2VtD2KvdK9NwT9TJMcThoWRmF0WszRdpe60MTU42frQW6cqs/06ERE/4 cAW9x47Mvkmbf96FmSco7Dbujq1730Ny2iRSLvxeuuqN+8dJPFAMtwV9u35Cq4tKxufG Bak7X4Murimyqg8w+Gaea/Q0FthetG0x5Je8x4WPiKsCMp+TvdnSBxGLKJtK1AdOPrDy OzNA== X-Forwarded-Encrypted: i=1; AJvYcCXjIakilMeXecpMMT//8Ypbm3j6rmSwS6OZQLQy1A0Irlw4Hj9BPVzrV0RMTPsBuTh4crWdPTra9zs+sfcuE0OilqkQaxPYy7QhNA9l X-Gm-Message-State: AOJu0YyrPUlTpUicJWpD4NhWM6KpZ2sLCBeg7w/qtIXTZbAt+BtoZ5vM SLTZB++cIY7CwPrO46s1gf9Et8tC5AWoKMr1GBRMrdF46v/A9ZV6H8hyTjiWVA== X-Received: by 2002:a17:902:c409:b0:1f5:e796:f26a with SMTP id d9443c01a7336-1f6193f2c1cmr16752955ad.5.1717058130799; Thu, 30 May 2024 01:35:30 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:65f0:63a9:90bb:50b8]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f617390fe7sm10950635ad.146.2024.05.30.01.35.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 01:35:30 -0700 (PDT) From: Chen-Yu Tsai To: Frank Binns , Matt Coster , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] dt-bindings: gpu: powervr-rogue: Add MediaTek MT8173 GPU Date: Thu, 30 May 2024 16:35:02 +0800 Message-ID: <20240530083513.4135052-4-wenst@chromium.org> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog In-Reply-To: <20240530083513.4135052-1-wenst@chromium.org> References: <20240530083513.4135052-1-wenst@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The MediaTek MT8173 comes with a PowerVR Rogue GX6250, which is one of the Series6XT GPUs, another sub-family of the Rogue family. This was part of the very first few versions of the PowerVR submission, but was later dropped. The compatible string has been updated to follow the new naming scheme adopted for the AXE series. In a previous iteration of the PowerVR binding submission [1], the number of clocks required for the 6XT family was mentioned to be always 3. This is also reflected here. [1] https://lore.kernel.org/dri-devel/6eeccb26e09aad67fb30ffcd523c793a43c79c2a.camel@imgtec.com/ Signed-off-by: Chen-Yu Tsai --- .../bindings/gpu/img,powervr-rogue.yaml | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml index 256e252f8087..48aa205b66b4 100644 --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml @@ -12,10 +12,17 @@ maintainers: properties: compatible: - items: - - enum: - - ti,am62-gpu - - const: img,img-axe # IMG AXE GPU model/revision is fully discoverable + oneOf: + - items: + - enum: + - mediatek,mt8173-gpu + # PowerVR 6XT GPU model/revision is fully discoverable + - const: img,powervr-6xt + - items: + - enum: + - ti,am62-gpu + # IMG AXE GPU model/revision is fully discoverable + - const: img,img-axe reg: maxItems: 1 @@ -56,6 +63,15 @@ allOf: properties: clocks: maxItems: 1 + - if: + properties: + compatible: + contains: + const: img,powervr-6xt + then: + properties: + clocks: + minItems: 3 examples: - | -- 2.45.1.288.g0e0cd299f1-goog