Message ID | 20240227034539.193573-2-aford173@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-82660-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2474273dyb; Mon, 26 Feb 2024 19:46:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXNi4TpGYt/UpnmYL2N7Yd92a5W6QXJMcw+K3RtYzEDvoqQNddLJIF7Zp0S+860VAPrD7h7dLgEkKB9YujOKcyWs7k+Hw== X-Google-Smtp-Source: AGHT+IHgTvk78PbMC7fSeFNbiP/n5n/iyd1bFN2/o4uC845EtgATkuyprtYzY2tycm58nDPkzFBx X-Received: by 2002:a17:906:40d1:b0:a3e:93d0:3443 with SMTP id a17-20020a17090640d100b00a3e93d03443mr5716367ejk.34.1709005611010; Mon, 26 Feb 2024 19:46:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709005610; cv=pass; d=google.com; s=arc-20160816; b=IsVDIRdWpCLmlzzNcPIffQ6FlV7F7+ASXVF9LM9VoR22QdzbBTZKiUeWWncOaeTAQp qnuQYQSETq6mn4ptBXG0cSEUc8d5R491+JDv77Yp99e11S+aU+hsWiuGtqKA+pGxDOlk qI12SQOARN1T/lApRKu2AbE+n9HoHEr3gBUtwWKZc2TQSSKJmJoInwPukJ/fyxvjdSRu M1FuY5UaMwlcPyPQLlYJDa6omoj8p0BwcMvpa26fqYOVorBGXRObUuCCYc/rPZDNXaMd WRvj0lvOAeJEvPMkMNBiIs7iLTPN8+lPy96oiq66no7kgqNbiDj02HENOznGYOgCrZxj uRhA== 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=ucD/+p4K6+j2ZE6i/N6HFdJPDZilTnGBi4Fcog1oUsI=; fh=zD7gxoQrUQQ09NHVREn54Vqh9S+UnF5aQrsP6Pnbd3w=; b=wSY6LfjFZOWwLCBhumFQS+7JoOkdXVFQwInBC69lWiErrYWa1tFegjSw/ogL8sgZb5 4SgeylEvbKh/+qWSmocxQfPfTko8B24aDMd70Y4esFP2gWNtvGgiFAKdqhnWiCF3XrnU +g3B8a/CJqITHe53vkCwembKqaxtnq19wsDIrwcvV4FAd67/dzFPtqC10PXZjOPuLoaH gv9ddndiF19bAElk2rOlKEoBYRo4EOrEGI4REvn4Rcf/oq16prUOimnI/KwSq4W1n3Jy 1g6U4EMLIA04IflfffGXLDdXN/iQI/AUElY4Q6X5gwwWopLOeniv8kU/UxUR3bIXEYvr ueAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nibPEp29; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-82660-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82660-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h27-20020a1709062ddb00b00a3e8f243706si337253eji.221.2024.02.26.19.46.50 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 19:46:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82660-ouuuleilei=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=@gmail.com header.s=20230601 header.b=nibPEp29; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-82660-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82660-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 241BE1F217D3 for <ouuuleilei@gmail.com>; Tue, 27 Feb 2024 03:46:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5D1E2C869; Tue, 27 Feb 2024 03:46:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nibPEp29" Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) (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 7A553339BF; Tue, 27 Feb 2024 03:45:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709005560; cv=none; b=g/uWWZ065ggOxE0dcNsiy/xaZwDmvtP8icO7ayLqt8akc45INnxNCk0DphGZUBDUHgmHTQgxh7cZ6yJdQu5mcjaSpNpnjKHg9U0skPLXjgHxga5JZ/pzg61lDxFbJvHyur+WdVHSsqGHFI3dNlCAPzpf0kWcPcwaLWmuPMRUOdc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709005560; c=relaxed/simple; bh=PKqroATuQmkXfdeKNmcaZSx60NSv+Ro2hJXFdpkmcSs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IKEgvneKe6zlNZlZzKxHj9C3FT/RzFcAzIOUEAioKM8h/mXpuyYKU/u42qGxG8/grV+A2gZJeB+WkaQXzjnQVcRCW00s3wd1H1djDKKm7eRXDQ2aNQyYysXvH1upiJMybIq2fBl2C4/uurXahI+AMRfTplQxuTA3tAeMNMqSmOs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nibPEp29; arc=none smtp.client-ip=209.85.166.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-36517375cc6so9649725ab.1; Mon, 26 Feb 2024 19:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709005558; x=1709610358; 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=ucD/+p4K6+j2ZE6i/N6HFdJPDZilTnGBi4Fcog1oUsI=; b=nibPEp29q5L6NSZn1CxCs+UB13moAr9MOVYZtaC60PJyveelBh65Di3RskCeWz5Fl4 d7yMKhY0cEXRmv85XOBDiQ/b3zS6E1YXZZU426u7rf57q3kWYFWzosHIcrmoKtUx8Qt+ RKI6Li/w6VlskxrCyDyvDLrY81ZH133pLudUwgJtSPRaBRVi/XEZTmwh3LmA6P9nqrKW 2FGmQ8c/edxCc+FJqBfaW1SuiGfpzAAmCWAa5cFUWAB0zojhDtMyJ7A/qdSEbItstsGT dQlBGayScuop5gMlyfLTEAL/vipklMi5LzJRJZ8YqFL7u3XwdBxXdH+KPz5AClcNCtj0 TJzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709005558; x=1709610358; 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=ucD/+p4K6+j2ZE6i/N6HFdJPDZilTnGBi4Fcog1oUsI=; b=oTQDhJsI3U2opDPsUpw4gwDTgEvu/1gguS0c9vcWotSMVeUs2M+0CUNz60Q16sMOjF 4Uf5AT+pbaYQYJA+WWgXn08siQZ/zkNnSbgabZcp+ph53GxzaHKRNXPo6x6Mg9xHzn2m vpKy0SFVt/puiCKob0A2akcIP5QNQvPLcH5AJc2vjEWXIQV55Qc5sCsx4SwMoPHyZMjy C5o5yg1rrB0VUaCDsPdeQnkjiA45aIYBF3fBM1LaT7wZ7YjVtc1vDIqv5Pt2NO4+1WGa mJyp6FhpeeGjJKbOg98wf4g1zu2w9f9Nt8ZvohRCyGYOnIM1NkzQfpac3Ljpno6nEmc0 1uUQ== X-Forwarded-Encrypted: i=1; AJvYcCWLnijTruHKv8uW+2eaxDmj8pCvwyhDcIS9Pu0g9V2hRj3onnqbuG+nj8/AXUSe9VPITp6GB/T4lwqhyc8hqjLZn31oIFD87wY1W68bi+8FA+Tv7IFTBG5dAtJVRVv7PZO+zwjwkyMmgbrfFU1cO7zz3jYfriMv/1B7FaTyqNkIJrqLvyRvut8jgZJr X-Gm-Message-State: AOJu0Yy/mLfSq+JgzerEtCS+Tipl7wzrVLEYoQUKb9WwK/b46ehtby7/ RUZBJ1xPaWBPtx0wqZpMR5ThXuraj0f93AWRzuMzxpFSapgMEj/c X-Received: by 2002:a92:c8c4:0:b0:365:16cd:66 with SMTP id c4-20020a92c8c4000000b0036516cd0066mr9677139ilq.31.1709005558600; Mon, 26 Feb 2024 19:45:58 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:1712:c48b:aaa0:cd8b]) by smtp.gmail.com with ESMTPSA id w4-20020a92ad04000000b00362b4d251a5sm1891566ilh.25.2024.02.26.19.45.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 19:45:58 -0800 (PST) From: Adam Ford <aford173@gmail.com> To: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford <aford173@gmail.com>, Frank Binns <frank.binns@imgtec.com>, Matt Coster <matt.coster@imgtec.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Geert Uytterhoeven <geert+renesas@glider.be>, Magnus Damm <magnus.damm@gmail.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] dt-bindings: gpu: powervr-rogue: Add PowerVR support for some Renesas GPUs Date: Mon, 26 Feb 2024 21:45:31 -0600 Message-ID: <20240227034539.193573-2-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240227034539.193573-1-aford173@gmail.com> References: <20240227034539.193573-1-aford173@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792022267109572216 X-GMAIL-MSGID: 1792022267109572216 |
Series |
gpu: powervr-rogue: Add PowerVR support for some Renesas devices
|
|
Commit Message
Adam Ford
Feb. 27, 2024, 3:45 a.m. UTC
Update the binding to add support for various Renesas SoC's with PowerVR
Rogue GX6250 and GX6650 GPUs. These devices only need one clock, so update
the table to indicate such like what was done for the ti,am62-gpu.
Signed-off-by: Adam Ford <aford173@gmail.com>
Comments
Hi Adam, On Tue, Feb 27, 2024 at 4:46 AM Adam Ford <aford173@gmail.com> wrote: > Update the binding to add support for various Renesas SoC's with PowerVR > Rogue GX6250 and GX6650 GPUs. These devices only need one clock, so update > the table to indicate such like what was done for the ti,am62-gpu. > > Signed-off-by: Adam Ford <aford173@gmail.com> Thanks for your patch! > --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml > +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml > @@ -14,6 +14,11 @@ properties: > compatible: > items: > - enum: > + - renesas,r8a774a1-gpu I would add a comment like this: - renesas,r8a774a1-gpu # PowerVR Series 6XT GX6650 on RZ/G2M > + - renesas,r8a774e1-gpu .. # PowerVR Series 6XT GX6650 on RZ/G2H > + - renesas,r8a77951-gpu ... # PowerVR Series 6XT GX6650 on R-Car H3 ES2.0+ > + - renesas,r8a77960-gpu ... # PowerVR Series 6XT GX6250 on R-Car M3-W > + - renesas,r8a77961-gpu ... # PowerVR Series 6XT GX6250 on R-Car M3-W+ > - ti,am62-gpu > - const: img,img-axe # IMG AXE GPU model/revision is fully discoverable > > @@ -51,7 +56,13 @@ allOf: > properties: > compatible: > contains: > - const: ti,am62-gpu > + enum: > + - ti,am62-gpu > + - renesas,r8a774a1-gpu > + - renesas,r8a774e1-gpu > + - renesas,r8a77951-gpu > + - renesas,r8a77960-gpu > + - renesas,r8a77961-gpu Please preserve alphabetical sort order. > then: > properties: > clocks: > -- > 2.43.0 Gr{oetje,eeting}s, Geert
On Tue, Feb 27, 2024 at 8:48 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Adam, > > On Tue, Feb 27, 2024 at 4:46 AM Adam Ford <aford173@gmail.com> wrote: > > Update the binding to add support for various Renesas SoC's with PowerVR > > Rogue GX6250 and GX6650 GPUs. These devices only need one clock, so update > > the table to indicate such like what was done for the ti,am62-gpu. > > > > Signed-off-by: Adam Ford <aford173@gmail.com> > > Thanks for your patch! > > > --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml > > +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml > > @@ -14,6 +14,11 @@ properties: > > compatible: > > items: > > - enum: > > + - renesas,r8a774a1-gpu > > I would add a comment like this: > > - renesas,r8a774a1-gpu # PowerVR Series 6XT GX6650 on RZ/G2M After reading [1], s/Series 6XT/Series6XT/g. [1] "[PATCH 00/11] Device tree support for Imagination Series5 GPU" https://lore.kernel.org/all/20240109171950.31010-1-afd@ti.com/ Gr{oetje,eeting}s, Geert
Hi Adam, On Tue, Feb 27, 2024 at 8:48 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > On Tue, Feb 27, 2024 at 4:46 AM Adam Ford <aford173@gmail.com> wrote: > > Update the binding to add support for various Renesas SoC's with PowerVR > > Rogue GX6250 and GX6650 GPUs. These devices only need one clock, so update > > the table to indicate such like what was done for the ti,am62-gpu. > > > > Signed-off-by: Adam Ford <aford173@gmail.com> > > --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml > > +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml > > + - renesas,r8a77951-gpu > > ... # PowerVR Series 6XT GX6650 on R-Car H3 ES2.0+ All compatible values for R-Car H3 variants use the r8a7795 "base" value, so that should be: - renesas,r8a7795-gpu # PowerVR Series 6XT GX6650 on R-Car H3 Gr{oetje,eeting}s, Geert
On Tue, Feb 27, 2024 at 9:09 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > On Tue, Feb 27, 2024 at 8:48 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > On Tue, Feb 27, 2024 at 4:46 AM Adam Ford <aford173@gmail.com> wrote: > > > Update the binding to add support for various Renesas SoC's with PowerVR > > > Rogue GX6250 and GX6650 GPUs. These devices only need one clock, so update > > > the table to indicate such like what was done for the ti,am62-gpu. > > > > > > Signed-off-by: Adam Ford <aford173@gmail.com> > > > > --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml > > > +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml > > > > + - renesas,r8a77951-gpu > > > > ... # PowerVR Series 6XT GX6650 on R-Car H3 ES2.0+ > > All compatible values for R-Car H3 variants use the r8a7795 "base" value, > so that should be: > > - renesas,r8a7795-gpu # PowerVR Series 6XT GX6650 on R-Car H3 Same for R-Car M3-W, so - renesas,r8a77960-gpu # PowerVR Series 6XT GX6250 on R-Car M3-W Gr{oetje,eeting}s, Geert
diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml index 256e252f8087..7c75104df09f 100644 --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml @@ -14,6 +14,11 @@ properties: compatible: items: - enum: + - renesas,r8a774a1-gpu + - renesas,r8a774e1-gpu + - renesas,r8a77951-gpu + - renesas,r8a77960-gpu + - renesas,r8a77961-gpu - ti,am62-gpu - const: img,img-axe # IMG AXE GPU model/revision is fully discoverable @@ -51,7 +56,13 @@ allOf: properties: compatible: contains: - const: ti,am62-gpu + enum: + - ti,am62-gpu + - renesas,r8a774a1-gpu + - renesas,r8a774e1-gpu + - renesas,r8a77951-gpu + - renesas,r8a77960-gpu + - renesas,r8a77961-gpu then: properties: clocks: