Skip to content

Device tree support for Imagination Series5 GPU

Andrew Davis dri-devel linux-arm-kernel linux-devicetree linux-mips linux-omap linux-sunxi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 15 repliesIn review

Changes in v1 from the cover letter

- Added commit message to patch #1
- Reworked Rogue binding title
- Add TI copyright to new binding doc
- Added default min/maxItems to clocks property
- Moved "additionalProperties" to end
- Flattened out allOf block logic
- Added extra SGX binding example
- Added Suggested/Reviewed tags

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11dt-bindings: gpu: Rename img,powervr to img,powervr-rogueDocumentation/devicetree/bindings/gpu/img,powervr-rogue.yaml MAINTAINERS+3 -36 replies
2/11dt-bindings: gpu: Add PowerVR Series5 SGX GPUsDocumentation/devicetree/bindings/gpu/img,powervr-sgx.yaml MAINTAINERS+139 -04 replies
3/11ARM: dts: omap3: Add device tree entry for SGX GPUarch/arm/boot/dts/ti/omap/am3517.dtsi arch/arm/boot/dts/ti/omap/omap34xx.dtsi arch/arm/boot/dts/ti/omap/omap36xx.dtsi+17 -141 reply
4/11ARM: dts: omap4: Add device tree entry for SGX GPUarch/arm/boot/dts/ti/omap/omap4.dtsi+5 -40 replies
5/11ARM: dts: omap5: Add device tree entry for SGX GPUarch/arm/boot/dts/ti/omap/omap5.dtsi+5 -40 replies
6/11ARM: dts: AM33xx: Add device tree entry for SGX GPUarch/arm/boot/dts/ti/omap/am33xx.dtsi+5 -40 replies
7/11ARM: dts: AM437x: Add device tree entry for SGX GPUarch/arm/boot/dts/ti/omap/am4372.dtsi+6 -00 replies
8/11ARM: dts: DRA7xx: Add device tree entry for SGX GPUarch/arm/boot/dts/ti/omap/dra7.dtsi+8 -14 replies
9/11arm64: dts: ti: k3-am654-main: Add device tree entry for SGX GPUarch/arm64/boot/dts/ti/k3-am65-main.dtsi+7 -00 replies
10/11ARM: dts: sun6i: Add device tree entry for SGX GPUarch/arm/boot/dts/allwinner/sun6i-a31.dtsi+9 -00 replies
11/11MIPS: DTS: jz4780: Add device tree entry for SGX GPUarch/mips/boot/dts/ingenic/jz4780.dtsi+11 -00 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchJavier Martinez CanillasFrank BinnsKrzysztof Kozlowski
1/11R-b R-b A-b
2/11R-b R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/11] Device tree support for Imagination Series5 GPU

Hello all,

I know this has been tried before[0], but given the recent upstreaming of the Series6+ GPU bindings I figured it might be time to give the Series5 bindings another try.

While there is currently no mainline driver for these binding, there is an open source out-of-tree kernel-side driver available[1]. Having a stable and upstream binding for these devices allows us to describe this hardware in device tree.

This is my vision for how these bindings should look, along with some example uses in several SoC DT files. The compatible names have been updated to match what was decided on for Series6+, but otherwise most is the same as we have been using in our vendor tree for many years.

Thanks,
Andrew

Based on next-20240109.

[0]: https://lkml.org/lkml/2020/4/24/1222
[1]: https://github.com/openpvrsgx-devgroup

Changes for v1:
- Added commit message to patch #1
- Reworked Rogue binding title
- Add TI copyright to new binding doc
- Added default min/maxItems to clocks property
- Moved "additionalProperties" to end
- Flattened out allOf block logic
- Added extra SGX binding example
- Added Suggested/Reviewed tags

Changes for RFC v2:
- Added patch to rename Rogue+ binding to img,powervr-rogue.yaml
- Locked all property item counts
- Removed nodename pattern check

Andrew Davis (11):
dt-bindings: gpu: Rename img,powervr to img,powervr-rogue
dt-bindings: gpu: Add PowerVR Series5 SGX GPUs
ARM: dts: omap3: Add device tree entry for SGX GPU
ARM: dts: omap4: Add device tree entry for SGX GPU
ARM: dts: omap5: Add device tree entry for SGX GPU
ARM: dts: AM33xx: Add device tree entry for SGX GPU
ARM: dts: AM437x: Add device tree entry for SGX GPU
ARM: dts: DRA7xx: Add device tree entry for SGX GPU
arm64: dts: ti: k3-am654-main: Add device tree entry for SGX GPU
ARM: dts: sun6i: Add device tree entry for SGX GPU
MIPS: DTS: jz4780: Add device tree entry for SGX GPU

 ...mg,powervr.yaml => img,powervr-rogue.yaml} |   4 +-
 .../bindings/gpu/img,powervr-sgx.yaml         | 138 ++++++++++++++++++
 MAINTAINERS                                   |   3 +-
 arch/arm/boot/dts/allwinner/sun6i-a31.dtsi    |   9 ++
 arch/arm/boot/dts/ti/omap/am33xx.dtsi         |   9 +-
 arch/arm/boot/dts/ti/omap/am3517.dtsi         |  11 +-
 arch/arm/boot/dts/ti/omap/am4372.dtsi         |   6 +
 arch/arm/boot/dts/ti/omap/dra7.dtsi           |   9 +-
 arch/arm/boot/dts/ti/omap/omap34xx.dtsi       |  11 +-
 arch/arm/boot/dts/ti/omap/omap36xx.dtsi       |   9 +-
 arch/arm/boot/dts/ti/omap/omap4.dtsi          |   9 +-
 arch/arm/boot/dts/ti/omap/omap5.dtsi          |   9 +-
 arch/arm64/boot/dts/ti/k3-am65-main.dtsi      |   7 +
 arch/mips/boot/dts/ingenic/jz4780.dtsi        |  11 ++
 14 files changed, 215 insertions(+), 30 deletions(-)
 rename Documentation/devicetree/bindings/gpu/{img,powervr.yaml => img,powervr-rogue.yaml} (91%)
 create mode 100644 Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml
Signature · 1 line
2.39.2