Re: [PATCHv2 00/56] drm/omap: Convert DSI code to use drm_mipi_dsi and drm_panel

2020-06-26 Thread H. Nikolaus Schaller
Hi Sebastian, > Am 25.02.2020 um 00:20 schrieb Sebastian Reichel > : > > This updates the existing omapdrm DSI code, so that it uses > common drm_mipi_dsi API and drm_panel. > > The patchset has been tested with Droid 4 using Linux console, X.org and > Weston. The patchset is based on Laurent

Re: [PATCH v7 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-05-16 Thread H. Nikolaus Schaller
Hi Tony, > Am 03.05.2020 um 17:01 schrieb Tony Lindgren : > > * Paul Cercueil [200503 14:19]: >> You have a new SoC with a SGX, and you only need to enable one clock to get >> it to work. So you create a devicetree node which receives only one clock. >> >> Turns out, that the bootloader was

Re: [PATCH v7 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-05-16 Thread H. Nikolaus Schaller
> Am 05.05.2020 um 17:53 schrieb Rob Herring : > > On Fri, Apr 24, 2020 at 10:34:04PM +0200, H. Nikolaus Schaller wrote: >> The Imagination PVR/SGX GPU is part of several SoC from >> multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo, >&g

Re: [PATCH v7 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-05-16 Thread H. Nikolaus Schaller
Hi Paul & Paul, > Am 03.05.2020 um 18:41 schrieb H. Nikolaus Schaller : > > Hi Paul and Paul, > >> Am 03.05.2020 um 16:18 schrieb Paul Cercueil : >> >> >> >> Le dim. 3 mai 2020 à 15:31, H. Nikolaus Schaller a >> écrit : >>&g

[PATCH] drm: ingenic-drm: add MODULE_DEVICE_TABLE

2020-05-04 Thread H. Nikolaus Schaller
so that the driver can load by matching the device tree if compiled as module. Cc: sta...@vger.kernel.org # v5.3+ Fixes: 90b86fcc47b4 ("DRM: Add KMS driver for the Ingenic JZ47xx SoCs") Signed-off-by: H. Nikolaus Schaller --- drivers/gpu/drm/ingenic/ingenic-drm.c | 1 + 1 file

Re: [PATCH v7 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-05-04 Thread H. Nikolaus Schaller
Hi Paul, > Am 03.05.2020 um 14:52 schrieb Paul Cercueil : > >>> It's possible to forbid the presence of the 'clocks' property on some >>> implementations, and require it on others. >> To be precise we have to specify the exact number of clocks (between 0 and >> 4) for every architecture. >>

Re: [PATCH v7 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-05-04 Thread H. Nikolaus Schaller
Hi Paul and Paul, > Am 03.05.2020 um 16:18 schrieb Paul Cercueil : > > > > Le dim. 3 mai 2020 à 15:31, H. Nikolaus Schaller a écrit > : >> Hi Paul, >>> Am 03.05.2020 um 14:52 schrieb Paul Cercueil : >>>>> It's possible to forb

Re: [PATCH v7 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-05-03 Thread H. Nikolaus Schaller
Hi Paul, > Am 26.04.2020 um 15:11 schrieb Paul Cercueil : > > Hi Nikolaus, > > Le ven. 24 avril 2020 à 22:34, H. Nikolaus Schaller a > écrit : >> The Imagination PVR/SGX GPU is part of several SoC from >> multiple vendors, e.g. TI OMAP, Ingenic JZ4780, I

Re: [PATCH v7 06/12] ARM: DTS: omap4: add sgx gpu child node

2020-04-28 Thread H. Nikolaus Schaller
Hi Paul, > Am 26.04.2020 um 14:50 schrieb Paul Cercueil : > > Hi Nikolaus, > > Le ven. 24 avril 2020 à 22:34, H. Nikolaus Schaller a > écrit : >> Add SGX GPU node with interrupt. Tested on PandaBoard ES. >> Since omap4420/30/60 and omap4470 come with dif

Re: [PATCH v7 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-27 Thread H. Nikolaus Schaller
Hi Philipp, > Am 26.04.2020 um 21:36 schrieb Philipp Rossak : > > Hi Nikolaus, > > On 24.04.20 22:34, H. Nikolaus Schaller wrote: >> The Imagination PVR/SGX GPU is part of several SoC from >> multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo,

[PATCH v7 03/12] ARM: DTS: am3517: add sgx gpu child node

2020-04-25 Thread H. Nikolaus Schaller
Add SGX GPU node with interrupt. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/am3517.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi index e0b5a00e2078..3fce56a646d1 100644 --- a/arch

[PATCH v7 07/12] ARM: DTS: omap5: add sgx gpu child node

2020-04-25 Thread H. Nikolaus Schaller
Add SGX GPU node with interrupt. Tested on Pyra-Handheld. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 2ac7f021c284

[PATCH v7 12/12] MIPS: DTS: jz4780: add sgx gpu node

2020-04-25 Thread H. Nikolaus Schaller
and add interrupt and clocks. Tested to build for CI20 board and load a driver. Setup can not yet be fully tested since there is no working HDMI driver for jz4780. Suggested-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 11 +++ 1 file

[PATCH v7 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2020-04-25 Thread H. Nikolaus Schaller
e kernel driver or the (non-free) user-space libraries and binaries. The driver works on jz4780 but user-space could not yet be tested. [1]: https://github.com/openpvrsgx-devgroup H. Nikolaus Schaller (8): dt-bindings: add img,pvrsgx.yaml for Imagination GPUs ARM: DTS: am33xx: add sgx gpu child nod

[PATCH v7 05/12] ARM: DTS: omap36xx: add sgx gpu child node

2020-04-25 Thread H. Nikolaus Schaller
Add SGX GPU node with interrupt. Tested on GTA04, BeagleBoard XM. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap36xx.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi index

[PATCH v7 09/12] ARM: dts: sun6i: a31: add sgx gpu child node

2020-04-25 Thread H. Nikolaus Schaller
available. The currently used binding that is used during development is more complete and was already verifyed by loading the kernelmodule successful. Signed-off-by: Philipp Rossak Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/sun6i-a31.dtsi | 11 +++ 1 file changed, 11 insertions

[PATCH v7 10/12] ARM: dts: sun6i: a31s: add sgx gpu child node

2020-04-25 Thread H. Nikolaus Schaller
available. The currently used binding that is used during development is more complete and was already verifyed by loading the kernelmodule successful. Signed-off-by: Philipp Rossak Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/sun6i-a31s.dtsi | 10 ++ 1 file changed, 10 insertions

Re: [PATCH v7 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-25 Thread H. Nikolaus Schaller
> Am 24.04.2020 um 22:34 schrieb H. Nikolaus Schaller : > > The Imagination PVR/SGX GPU is part of several SoC from > multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo, > Allwinner A83 and others. > > With this binding, we describe how the SGX processor is &g

[PATCH v7 11/12] ARM: dts: sun8i: a83t: add sgx gpu child node

2020-04-25 Thread H. Nikolaus Schaller
available. The currently used binding that is used during development is more complete and was already verifyed by loading the kernelmodule successful. Signed-off-by: Philipp Rossak Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/sun8i-a83t.dtsi | 11 +++ 1 file changed, 11 insertions

[PATCH v7 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-25 Thread H. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller --- .../devicetree/bindings/gpu/img,pvrsgx.yaml | 150 ++ 1 file changed, 150 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/img,pvrsgx.yaml diff --git a/Documentation/devicetree/bindings/gpu/img,pvrsgx.yaml b

[PATCH v7 08/12] arm: dts: s5pv210: Add node for SGX 540

2020-04-25 Thread H. Nikolaus Schaller
From: Jonathan Bakker All s5pv210 devices have a PowerVR SGX 540 (revision 120) attached. There is no external regulator for it so it can be enabled by default. Signed-off-by: Jonathan Bakker Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/s5pv210.dtsi | 13 + 1 file

[PATCH v7 06/12] ARM: DTS: omap4: add sgx gpu child node

2020-04-25 Thread H. Nikolaus Schaller
Add SGX GPU node with interrupt. Tested on PandaBoard ES. Since omap4420/30/60 and omap4470 come with different SGX variants we need to introduce a new omap4470.dtsi. If an omap4470 board does not want to use SGX it is no problem to still include omap4460.dtsi. Signed-off-by: H. Nikolaus

[PATCH v7 02/12] ARM: DTS: am33xx: add sgx gpu child node

2020-04-25 Thread H. Nikolaus Schaller
Add SGX GPU node with interrupt. Tested on BeagleBone Black. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/am33xx.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index a35f5052d76f

[PATCH v7 04/12] ARM: DTS: omap34xx: add sgx gpu child node

2020-04-25 Thread H. Nikolaus Schaller
Add SGX GPU node with interrupt. Tested on OpenPandora 600 MHz. According to omap3530 TRM the SGX register block is 64kB. See: 13.4 SGX Register Mapping, Table 13-2 Reported-by: Andrew F. Davis # register size Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap34xx.dtsi | 11

Re: [PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2020-04-24 Thread H. Nikolaus Schaller
Hi, > Am 23.04.2020 um 22:36 schrieb Maxime Ripard : >> My goal is to keep the bindings as minimalistic as possible. And reset >> lines and power domains are (at least for those we have in the works) >> not needed to make working systems. >> >> Therefore, for clocks I also would start with a

Re: [PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2020-04-23 Thread H. Nikolaus Schaller
Hi Neil, > Am 23.04.2020 um 17:00 schrieb Neil Armstrong : >> One thing we can learn is that "core" seems to be a de facto standard >> for the core clock-name. An alternative "gpu" is used by nvidia,gk20a.txt. > > Usually IPs needs a few clocks: > - pclk or apb or reg: the clock clocking the

Re: [PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2020-04-23 Thread H. Nikolaus Schaller
Hi Maxime, > Am 22.04.2020 um 17:13 schrieb Maxime Ripard : > > On Wed, Apr 22, 2020 at 09:10:57AM +0200, H. Nikolaus Schaller wrote: >>> Am 22.04.2020 um 08:58 schrieb Maxime Ripard : >>>> >>>> It also allows to handle different number of cloc

Re: [PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2020-04-23 Thread H. Nikolaus Schaller
Hi Maxime, > Am 22.04.2020 um 08:58 schrieb Maxime Ripard : > > On Tue, Apr 21, 2020 at 07:29:32PM +0200, H. Nikolaus Schaller wrote: >> >>> Am 21.04.2020 um 16:15 schrieb Tony Lindgren : >>> >>> * Maxime Ripard [200421 11:22]: >>>> On

Re: [PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2020-04-22 Thread H. Nikolaus Schaller
> Am 21.04.2020 um 16:15 schrieb Tony Lindgren : > > * Maxime Ripard [200421 11:22]: >> On Tue, Apr 21, 2020 at 11:57:33AM +0200, Philipp Rossak wrote: >>> I had a look on genpd and I'm not really sure if that fits. >>> >>> It is basically some bit that verify that the clocks should be

Re: [drm:simple_bridge_attach [simple_bridge]] *ERROR* Fix bridge driver to make connector optional!

2020-04-18 Thread H. Nikolaus Schaller
Hi Laurent, > Am 17.04.2020 um 14:58 schrieb Laurent Pinchart > : > > Hello, > > On Fri, Apr 17, 2020 at 02:44:22PM +0200, Maxime Ripard wrote: >> On Fri, Apr 17, 2020 at 02:18:11PM +0200, H. Nikolaus Schaller wrote: >>> Hi Maxime, >>> I have sta

[drm:simple_bridge_attach [simple_bridge]] *ERROR* Fix bridge driver to make connector optional!

2020-04-18 Thread H . Nikolaus Schaller
Hi Maxime, I have started to test v5.7-rc1 and can't fully boot the GTA04 device any more. What I see in the log is: [ 28.567840] [drm:simple_bridge_attach [simple_bridge]] *ERROR* Fix bridge driver to make connector optional! [ 28.567871] omapdrm omapdrm.0: unable to attach bridge

Re: [PATCH v6 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-18 Thread H. Nikolaus Schaller
Hi Maxime, > Am 17.04.2020 um 12:25 schrieb Maxime Ripard : > > Hi, > > On Wed, Apr 15, 2020 at 06:42:18PM +0200, H. Nikolaus Schaller wrote: >>> Am 15.04.2020 um 18:21 schrieb Maxime Ripard : >>> >>> On Wed, Apr 15, 2020 at 05:09:45PM +0200,

Re: [PATCH v6 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-18 Thread H . Nikolaus Schaller
Hi Rob, > Am 16.04.2020 um 22:41 schrieb Rob Herring : > > On Wed, 15 Apr 2020 10:35:08 +0200, "H. Nikolaus Schaller" wrote: >> The Imagination PVR/SGX GPU is part of several SoC from >> multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Pouls

Re: [PATCH v6 08/12] arm: dts: s5pv210: Add G3D node

2020-04-18 Thread H. Nikolaus Schaller
Hi Jonathan, > Am 15.04.2020 um 20:17 schrieb Jonathan Bakker : > > Hi Nikolaus, > > On 2020-04-15 5:50 a.m., H. Nikolaus Schaller wrote: >> >>> Am 15.04.2020 um 13:49 schrieb Krzysztof Kozlowski : >>> >>> On Wed, 15 Apr 2020 at 10:36, H

Re: [PATCH v6 08/12] arm: dts: s5pv210: Add G3D node

2020-04-16 Thread H. Nikolaus Schaller
> Am 15.04.2020 um 13:49 schrieb Krzysztof Kozlowski : > > On Wed, 15 Apr 2020 at 10:36, H. Nikolaus Schaller wrote: >> >> From: Jonathan Bakker >> >> to add support for SGX540 GPU. > > Do not continue the subject in commit msg like it is one sente

[PATCH v6 06/12] ARM: DTS: omap4: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
and add interrupt. Since omap4420/30/60 and omap4470 come with different SGX variants we need to introduce a new omap4470.dtsi. If an omap4470 board does not want to use SGX it is no problem to still include omap4460.dtsi. Tested-by: H. Nikolaus Schaller # PandaBoard ES Signed-off-by: H

[PATCH v6 10/12] ARM: dts: sun6i: a31s: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
available. The currently used binding that is used during development is more complete and was already verifyed by loading the kernelmodule successful. Signed-off-by: Philipp Rossak Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/sun6i-a31s.dtsi | 10 ++ 1 file changed, 10 insertions

[PATCH v6 02/12] ARM: DTS: am33xx: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
and add interrupt. Tested-by: H. Nikolaus Schaller # BeagleBone Black Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/am33xx.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index

[PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2020-04-16 Thread H. Nikolaus Schaller
tially work on OMAP3530 and PandaBoard ES but that is likely a problem in the kernel driver or the (non-free) user-space libraries and binaries. Wotk for JZ4780 (CI20 board) is in progress and there is potential to extend this work to e.g. BananaPi-M3 (A83) and some Intel Poulsbo and CedarView devices.

Re: [PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2020-04-16 Thread H. Nikolaus Schaller
> Am 15.04.2020 um 15:02 schrieb Maxime Ripard : > > On Wed, Apr 15, 2020 at 02:41:52PM +0200, H. Nikolaus Schaller wrote: >>>> The kernel modules built from this project have successfully >>>> demonstrated to work with the DTS definitions from this patch se

Re: [PATCH v6 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-16 Thread H. Nikolaus Schaller
Hi Maxime, > Am 15.04.2020 um 16:21 schrieb Maxime Ripard : > >> >> Well we could add clocks and resets as optional but that would >> allow to wrongly define omap. >> >> Or delegate them to a parent "simple-pm-bus" node. >> >> I have to study that material more to understand what you seem >>

[PATCH v6 12/12] MIPS: DTS: jz4780: add sgx gpu node

2020-04-16 Thread H. Nikolaus Schaller
and add interrupt and clocks. Tested to build for CI20 board and load a driver. Setup can not yet be fully tested since there is no working HDMI driver for jz4780. Suggested-by: Paul Boddie Tested-by: H. Nikolaus Schaller # CI20. Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts

Re: [PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2020-04-16 Thread H. Nikolaus Schaller
Hi Maxime, > Am 15.04.2020 um 12:10 schrieb Maxime Ripard : > > Hi, > > On Wed, Apr 15, 2020 at 10:35:07AM +0200, H. Nikolaus Schaller wrote: >> * rebased to v5.7-rc1 >> * added DTS for for a31, a31s, a83t - by Philipp Rossak >> * added DTS for "samsung,s5

Re: [PATCH v6 07/12] ARM: DTS: omap5: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
> Am 15.04.2020 um 15:47 schrieb Krzysztof Kozlowski : > > On Wed, Apr 15, 2020 at 01:46:06PM +0200, H. Nikolaus Schaller wrote: >> Hi Krzysztof, >> >>> Am 15.04.2020 um 13:38 schrieb Krzysztof Kozlowski : >>> >>> On Wed, 15 Apr

[PATCH v6 08/12] arm: dts: s5pv210: Add G3D node

2020-04-16 Thread H. Nikolaus Schaller
From: Jonathan Bakker to add support for SGX540 GPU. Signed-off-by: Jonathan Bakker Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/s5pv210.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi

Re: [PATCH v6 08/12] arm: dts: s5pv210: Add G3D node

2020-04-16 Thread H. Nikolaus Schaller
Hi Sergei and Jonathan, > Am 15.04.2020 um 11:15 schrieb Sergei Shtylyov > : > > Hello! > > On 15.04.2020 11:35, H. Nikolaus Schaller wrote: > >> From: Jonathan Bakker >> to add support for SGX540 GPU. >> Signed-off-by: Jonathan Bakker >> Signed-

Re: [PATCH v6 07/12] ARM: DTS: omap5: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
Hi Krzysztof, > Am 15.04.2020 um 13:38 schrieb Krzysztof Kozlowski : > > On Wed, 15 Apr 2020 at 10:36, H. Nikolaus Schaller wrote: >> >> and add interrupt. >> >> Tested-by: H. Nikolaus Schaller # Pyra-Handheld. > > Don't add your own Tested-b

[PATCH v6 05/12] ARM: DTS: omap36xx: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
and add interrupt. Tested-by: H. Nikolaus Schaller # GTA04, BeagleBoard XM Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap36xx.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi

[PATCH v6 09/12] ARM: dts: sun6i: a31: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
available. The currently used binding that is used during development is more complete and was already verifyed by loading the kernelmodule successful. Signed-off-by: Philipp Rossak Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/sun6i-a31.dtsi | 11 +++ 1 file changed, 11 insertions

Re: [PATCH v6 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-16 Thread H. Nikolaus Schaller
> Am 15.04.2020 um 12:12 schrieb Maxime Ripard : > > Hi, > > On Wed, Apr 15, 2020 at 10:35:08AM +0200, H. Nikolaus Schaller wrote: >> The Imagination PVR/SGX GPU is part of several SoC from >> multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo,

[PATCH v6 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-16 Thread H. Nikolaus Schaller
management is handled by a parent node or elsewhere (e.g. code in the driver). Tested by make dt_binding_check dtbs_check Signed-off-by: H. Nikolaus Schaller --- .../devicetree/bindings/gpu/img,pvrsgx.yaml | 122 ++ 1 file changed, 122 insertions(+) create mode 100644 Documentation

[PATCH v6 11/12] ARM: dts: sun8i: a83t: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
available. The currently used binding that is used during development is more complete and was already verifyed by loading the kernelmodule successful. Signed-off-by: Philipp Rossak Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/sun8i-a83t.dtsi | 11 +++ 1 file changed, 11 insertions

[PATCH v6 07/12] ARM: DTS: omap5: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
and add interrupt. Tested-by: H. Nikolaus Schaller # Pyra-Handheld. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index

Re: [PATCH v6 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-16 Thread H. Nikolaus Schaller
Hi Neil, > Am 15.04.2020 um 14:54 schrieb Neil Armstrong : > > Hi, > > On 15/04/2020 14:43, H. Nikolaus Schaller wrote: >> >>> Am 15.04.2020 um 12:12 schrieb Maxime Ripard : >>> >>> Hi, >>> >>> On Wed, Apr 15, 2020 at 10:35:08

[PATCH v6 03/12] ARM: DTS: am3517: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
and add interrupt. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/am3517.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi index e0b5a00e2078..3fce56a646d1 100644 --- a/arch/arm/boot/dts

[PATCH v6 04/12] ARM: DTS: omap34xx: add sgx gpu child node

2020-04-16 Thread H. Nikolaus Schaller
and add interrupt. According to omap3530 TRM the SGX register block is 64kB. See: 13.4 SGX Register Mapping, Table 13-2 Reported-by: Andrew F. Davis # register size Tested-by: H. Nikolaus Schaller # OpenPandora 600 MHz. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts

Re: [PATCH v6 01/12] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-16 Thread H. Nikolaus Schaller
Hi Maxime, > Am 15.04.2020 um 18:21 schrieb Maxime Ripard : > > On Wed, Apr 15, 2020 at 05:09:45PM +0200, H. Nikolaus Schaller wrote: >> Hi Maxime, >> >> Hm. Yes. We know that there likely are clocks and maybe reset >> but for some SoC this seems to be u

Re: DRM interaction problems on Ingenic CI20 / jz4780 with dw-hdmi and ingenic-drm

2020-04-14 Thread H. Nikolaus Schaller
> Am 13.04.2020 um 13:25 schrieb Paul Cercueil : > > Hi Nikolaus, > > > Le sam. 11 avril 2020 à 16:14, H. Nikolaus Schaller a > écrit : >> Hi, >> we (Paul Boddie and me) are working to get HDMI functional on the >> Ingenic CI20 board with jz4780 SoC w

Re: [PATCH v5 1/8] dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2020-04-07 Thread H. Nikolaus Schaller
> Am 29.03.2020 um 19:38 schrieb H. Nikolaus Schaller : > > The Imagination PVR/SGX GPU is part of several SoC from > multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo, > Allwinner A83 and others. > > With this binding, we describe how the SGX processor is &g

Re: [RFC v3 1/8] dt-bindings: display: convert ingenic, lcd.txt to ingenic, lcd.yaml

2020-03-31 Thread H. Nikolaus Schaller
Hi Paul, > Am 30.03.2020 um 17:42 schrieb Rob Herring : > > On Sun, 29 Mar 2020 19:35:47 +0200, "H. Nikolaus Schaller" wrote: >> and add compatible: jz4780-lcd, including an example how to >> configure both lcd controllers. >> >> Also fix the clo

[RFC v3 5/8] drm: ingenic: add jz4780 Synopsys HDMI driver

2020-03-30 Thread H. Nikolaus Schaller
From: Paul Boddie A specialisation of the generic Synopsys HDMI driver is employed for JZ4780 HDMI support. This requires a new driver, plus device tree and configuration modifications. Signed-off-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- drivers/gpu/drm/ingenic/Kconfig

[PATCH v5 8/8] MIPS: DTS: jz4780: add sgx gpu node

2020-03-30 Thread H. Nikolaus Schaller
and add interrupt and clocks. Tested to build for CI20 board and load a driver. Setup can not yet be tested since there is no working HDMI driver for jz4780. Suggested-by: Paul Boddie Tested-by: H. Nikolaus Schaller # CI20. Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic

[PATCH v5 4/8] ARM: DTS: omap34xx: add sgx gpu child node

2020-03-30 Thread H. Nikolaus Schaller
and add interrupt. According to omap3530 TRM the SGX register block is 64kB. See: 13.4 SGX Register Mapping, Table 13-2 Reported-by: Andrew F. Davis # register size Tested-by: H. Nikolaus Schaller # OpenPandora 600 MHz. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts

[PATCH v5 7/8] ARM: DTS: omap5: add sgx gpu child node

2020-03-30 Thread H. Nikolaus Schaller
and add interrupt. Tested-by: H. Nikolaus Schaller # Pyra-Handheld. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index

[RFC v3 6/8] MIPS: DTS: jz4780: account for Synopsys HDMI driver and LCD controller

2020-03-30 Thread H. Nikolaus Schaller
From: Paul Boddie A specialisation of the generic Synopsys HDMI driver is employed for JZ4780 HDMI support. This requires a new driver, plus device tree and configuration modifications. Signed-off-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/jz4780.dtsi

[RFC v3 0/8] MIPS: CI20: add HDMI out support

2020-03-30 Thread H. Nikolaus Schaller
ity to fix this. Original authors of most patches are * Paul Boddie * Zubair Lutfullah Kakakhel H. Nikolaus Schaller (4): dt-bindings: display: convert ingenic,lcd.txt to ingenic,lcd.yaml drm: ingenic-drm: add MODULE_DEVICE_TABLE drm: ingenic-drm: add support for ingenic,jz4780-lcd MIPS: CI20:

[RFC v3 8/8] MIPS: CI20: defconfig: configure for DRM_DW_HDMI_JZ4780

2020-03-30 Thread H. Nikolaus Schaller
We configure them as loadable modules by default. Signed-off-by: H. Nikolaus Schaller --- arch/mips/configs/ci20_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_defconfig index be41df2a81fb..3f733a555cb2 100644

[PATCH v5 1/8] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2020-03-30 Thread H. Nikolaus Schaller
management is handled by a parent node or elsewhere (e.g. code in the driver). Tested by make dt_binding_check dtbs_check Signed-off-by: H. Nikolaus Schaller --- .../devicetree/bindings/gpu/img,pvrsgx.yaml | 109 ++ 1 file changed, 109 insertions(+) create mode 100644 Documentation

[RFC v3 2/8] drm: ingenic-drm: add MODULE_DEVICE_TABLE

2020-03-30 Thread H. Nikolaus Schaller
so that the driver can load by matching the device tree if compiled as module. Signed-off-by: H. Nikolaus Schaller --- drivers/gpu/drm/ingenic/ingenic-drm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c b/drivers/gpu/drm/ingenic/ingenic-drm.c index

[RFC v3 7/8] MIPS: DTS: CI20: add HDMI setup

2020-03-30 Thread H. Nikolaus Schaller
From: Paul Boddie We need to hook up * HDMI power regulator * HDMI connector * DDC pinmux * HDMI and LCD endpoint connections Signed-off-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/ci20.dts | 64 + 1 file changed, 64

[PATCH v5 3/8] ARM: DTS: am3517: add sgx gpu child node

2020-03-30 Thread H. Nikolaus Schaller
and add interrupt. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/am3517.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi index e0b5a00e2078..3fce56a646d1 100644 --- a/arch/arm/boot/dts

[PATCH v5 2/8] ARM: DTS: am33xx: add sgx gpu child node

2020-03-30 Thread H. Nikolaus Schaller
and add interrupt. Tested-by: H. Nikolaus Schaller # BeagleBone Black Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/am33xx.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index

[RFC v3 3/8] drm: ingenic-drm: add support for ingenic,jz4780-lcd

2020-03-30 Thread H. Nikolaus Schaller
This adds jz_soc_info and a compatible string for the jz4780 lcd controller. Note that the jz4780 lcdc is a superset of the jz4740 lcdc and the additional functions are not used if they stay uninitialized. Signed-off-by: H. Nikolaus Schaller --- drivers/gpu/drm/ingenic/ingenic-drm.c | 7

[RFC v3 1/8] dt-bindings: display: convert ingenic, lcd.txt to ingenic, lcd.yaml

2020-03-30 Thread H. Nikolaus Schaller
and add compatible: jz4780-lcd, including an example how to configure both lcd controllers. Also fix the clock names and examples. Based on work by Paul Cercueil and Sam Ravnborg Signed-off-by: H. Nikolaus Schaller Cc: Rob Herring Cc: devicet...@vger.kernel.org --- .../bindings/display

[PATCH v5 0/8] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2020-03-30 Thread H. Nikolaus Schaller
ries. Wotk for JZ4780 (CI20 board) is in progress and there is potential to extend this work to e.g. BananaPi-M3 (A83) and some Intel Poulsbo and CedarView devices. [1]: https://github.com/openpvrsgx-devgroup H. Nikolaus Schaller (8): dt-bindings: add img,pvrsgx.yaml for Imagination GPUs ARM: DTS: am33xx:

[RFC v3 4/8] dt-bindings: display: add ingenic-jz4780-hdmi DT Schema

2020-03-30 Thread H. Nikolaus Schaller
From: Sam Ravnborg Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. Based on .txt binding from Zubair Lutfullah Kakakhel Signed-off-by: Sam Ravnborg Signed-off-by: H. Nikolaus Schaller Cc: Rob Herring Cc: devicet...@vger.kernel.org --- .../bindings/display/ingenic-jz4780

[PATCH v5 6/8] ARM: DTS: omap4: add sgx gpu child node

2020-03-30 Thread H. Nikolaus Schaller
and add interrupt. Since omap4420/30/60 and omap4470 come with different SGX variants we need to introduce a new omap4470.dtsi. If an omap4470 board does not want to use SGX it is no problem to still include omap4460.dtsi. Tested-by: H. Nikolaus Schaller # PandaBoard ES Signed-off-by: H

[PATCH v5 5/8] ARM: DTS: omap36xx: add sgx gpu child node

2020-03-30 Thread H. Nikolaus Schaller
and add interrupt. Tested-by: H. Nikolaus Schaller # GTA04, BeagleBoard XM Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap36xx.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi

Re: [RFC v2 6/8] MIPS: DTS: jz4780: account for Synopsys HDMI driver and LCD controller

2020-03-12 Thread H. Nikolaus Schaller
Hi Paul, > Am 11.03.2020 um 14:20 schrieb Paul Cercueil : > > Hi Nikolaus, > > > Le mer., mars 11, 2020 at 13:43, H. Nikolaus Schaller a > écrit : >> Hi Paul, >>> The JZ4780's LCD controller is much newer than the JZ4740 one, so even if >>> it w

Re: [RFC v2 6/8] MIPS: DTS: jz4780: account for Synopsys HDMI driver and LCD controller

2020-03-12 Thread H. Nikolaus Schaller
Hi Paul, > Am 02.03.2020 um 20:27 schrieb Paul Cercueil : > > Hi Nikolaus, > > > Le ven., févr. 28, 2020 at 19:19, H. Nikolaus Schaller a > écrit : >> From: Paul Boddie >> A specialisation of the generic Synopsys HDMI driver is employed for JZ4780 >> H

Re: [PATCH 24/33] drm/panel-simple: Fix dotclock for Ortustech COM37H3M

2020-03-10 Thread H. Nikolaus Schaller
> Am 09.03.2020 um 14:00 schrieb Ville Syrjälä : > > On Thu, Mar 05, 2020 at 08:41:43PM +0100, H. Nikolaus Schaller wrote: >> >>> Am 03.03.2020 um 16:49 schrieb H. Nikolaus Schaller : >>> >>> Hi, >>> >>>> Am 03.03.2020 um 1

[PATCH] drm/panel-simple: Fix dotclock for Ortustech COM37H3M

2020-03-10 Thread H. Nikolaus Schaller
we choose a parameter set that lies within the specs of both variants. We start at .vrefresh = 60, choose .htotal = 570 and .vtotal = 650 and end up in a clock of 22.230 MHz. Reported-by: Ville Syrjala Signed-off-by: H. Nikolaus Schaller --- drivers/gpu/drm/panel/panel-simple.c | 12

Re: [PATCH 24/33] drm/panel-simple: Fix dotclock for Ortustech COM37H3M

2020-03-06 Thread H . Nikolaus Schaller
> Am 03.03.2020 um 16:49 schrieb H. Nikolaus Schaller : > > Hi, > >> Am 03.03.2020 um 16:03 schrieb Ville Syrjälä : >> >>> I haven't looked into the driver code, but would it be >>> possible to specify .clock = 0 (or leave it out) to &g

Re: [RFC 0/8] MIPS: CI20: add HDMI out support

2020-03-03 Thread H. Nikolaus Schaller
Hi Rob, > Am 03.03.2020 um 15:58 schrieb Rob Herring : > > On Thu, Feb 27, 2020 at 01:56:56PM +0100, H. Nikolaus Schaller wrote: >> Hi Sam, >> >> >> Or that there will appear good tools soon. E.g. some GUI >> based editor tool would be very hel

Re: [PATCH 24/33] drm/panel-simple: Fix dotclock for Ortustech COM37H3M

2020-03-03 Thread H. Nikolaus Schaller
Hi, > Am 03.03.2020 um 16:03 schrieb Ville Syrjälä : > >> I haven't looked into the driver code, but would it be >> possible to specify .clock = 0 (or leave it out) to >> calculate it bottom up? This would avoid such inconsistencies. > > I'm going to remove .vrefresh entirely from the struct. >

Re: [RFC v2 1/8] dt-bindings: display: add ingenic-jz4780-lcd DT Schema

2020-03-03 Thread H. Nikolaus Schaller
Hi Paul, > Am 02.03.2020 um 20:10 schrieb Paul Cercueil : > > Hi Nikolaus, > > > Le ven., févr. 28, 2020 at 19:19, H. Nikolaus Schaller a > écrit : >> From: Sam Ravnborg >> Add DT bindings for the LCD controller on the jz4780 SoC >> Based on .txt

Re: [RFC v2 6/8] MIPS: DTS: jz4780: account for Synopsys HDMI driver and LCD controller

2020-03-03 Thread H . Nikolaus Schaller
Hi Paul, > Am 02.03.2020 um 20:27 schrieb Paul Cercueil : > > Hi Nikolaus, > > > Le ven., févr. 28, 2020 at 19:19, H. Nikolaus Schaller a > écrit : >> From: Paul Boddie >> A specialisation of the generic Synopsys HDMI driver is employed for JZ4780 >> H

Re: [RFC v2 3/8] drm: ingenic-drm: add MODULE_DEVICE_TABLE

2020-03-03 Thread H . Nikolaus Schaller
> Am 02.03.2020 um 20:21 schrieb Paul Cercueil : > > Hi Nikolaus, > > > Le ven., févr. 28, 2020 at 19:19, H. Nikolaus Schaller a > écrit : >> so that the driver can load by matching the device tree >> if compiled as module. >> Signed-off-by: H. Nikol

Re: [RFC v2 2/8] dt-bindings: display: add ingenic-jz4780-hdmi DT Schema

2020-03-03 Thread H . Nikolaus Schaller
> Am 02.03.2020 um 20:19 schrieb Paul Cercueil : > > Hi Nikolaus, > > > Le ven., févr. 28, 2020 at 19:19, H. Nikolaus Schaller a > écrit : >> From: Sam Ravnborg >> Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. >> Based on .txt

Re: [PATCH 24/33] drm/panel-simple: Fix dotclock for Ortustech COM37H3M

2020-03-03 Thread H. Nikolaus Schaller
bottom up? This would avoid such inconsistencies. On the other hand it is not easily visible any more from the code if the clock is in range of the data sheet limits. BR and thanks, Nikolaus > > Cc: H. Nikolaus Schaller > Cc: Sam Ravnborg > Signed-off-by: Ville Syrjälä > --- > dr

[RFC v2 4/8] drm: ingenic: add jz4780 Synopsys HDMI driver.

2020-02-29 Thread H. Nikolaus Schaller
From: Paul Boddie A specialisation of the generic Synopsys HDMI driver is employed for JZ4780 HDMI support. This requires a new driver, plus device tree and configuration modifications. Signed-off-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- drivers/gpu/drm/ingenic/Kconfig

[RFC v2 5/8] pinctrl: ingenic: add hdmi-ddc pin control group

2020-02-29 Thread H. Nikolaus Schaller
From: Paul Boddie Signed-off-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- drivers/pinctrl/pinctrl-ingenic.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/pinctrl/pinctrl-ingenic.c b/drivers/pinctrl/pinctrl-ingenic.c index 96f04d121ebd..1599a003c31f 100644

[RFC v2 2/8] dt-bindings: display: add ingenic-jz4780-hdmi DT Schema

2020-02-29 Thread H. Nikolaus Schaller
From: Sam Ravnborg Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. Based on .txt binding from Zubair Lutfullah Kakakhel Signed-off-by: Sam Ravnborg Cc: Zubair Lutfullah Kakakhel Cc: H. Nikolaus Schaller Cc: Rob Herring Cc: devicet...@vger.kernel.org --- .../bindings/display

[RFC v2 6/8] MIPS: DTS: jz4780: account for Synopsys HDMI driver and LCD controller

2020-02-29 Thread H. Nikolaus Schaller
From: Paul Boddie A specialisation of the generic Synopsys HDMI driver is employed for JZ4780 HDMI support. This requires a new driver, plus device tree and configuration modifications. Signed-off-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/jz4780.dtsi

[RFC v2 0/8] MIPS: CI20: add HDMI out support

2020-02-29 Thread H. Nikolaus Schaller
of most patches are * Paul Boddie * Zubair Lutfullah Kakakhel H. Nikolaus Schaller (2): drm: ingenic-drm: add MODULE_DEVICE_TABLE MIPS: CI20: defconfig: configure for DRM_DW_HDMI_JZ4780 Paul Boddie (4): drm: ingenic: add jz4780 Synopsys HDMI driver. pinctrl: ingenic: add hdmi-ddc pin

Re: [RFC v2 1/8] dt-bindings: display: add ingenic-jz4780-lcd DT Schema

2020-02-29 Thread H. Nikolaus Schaller
Hi Sam, > Am 28.02.2020 um 19:42 schrieb Sam Ravnborg : > > Hi Nikolaus. > > On Fri, Feb 28, 2020 at 07:19:26PM +0100, H. Nikolaus Schaller wrote: >> From: Sam Ravnborg >> >> Add DT bindings for the LCD controller on the jz4780 SoC >> Based on .txt

[RFC v2 1/8] dt-bindings: display: add ingenic-jz4780-lcd DT Schema

2020-02-29 Thread H. Nikolaus Schaller
From: Sam Ravnborg Add DT bindings for the LCD controller on the jz4780 SoC Based on .txt binding from Zubair Lutfullah Kakakhel Signed-off-by: Sam Ravnborg Cc: Zubair Lutfullah Kakakhel Cc: H. Nikolaus Schaller Cc: Rob Herring Cc: devicet...@vger.kernel.org --- .../bindings/display

[RFC v2 7/8] MIPS: DTS: CI20: add HDMI setup

2020-02-29 Thread H. Nikolaus Schaller
From: Paul Boddie We need to hook up * HDMI power regulator * HDMI connector * DDC pinmux * HDMI and LCD endpoint connections Signed-off-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/ci20.dts | 64 + 1 file changed, 64

[RFC v2 3/8] drm: ingenic-drm: add MODULE_DEVICE_TABLE

2020-02-29 Thread H. Nikolaus Schaller
so that the driver can load by matching the device tree if compiled as module. Signed-off-by: H. Nikolaus Schaller --- drivers/gpu/drm/ingenic/ingenic-drm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c b/drivers/gpu/drm/ingenic/ingenic-drm.c index

[RFC v2 8/8] MIPS: CI20: defconfig: configure for DRM_DW_HDMI_JZ4780

2020-02-29 Thread H. Nikolaus Schaller
We configure them as loadable modules by default. Signed-off-by: H. Nikolaus Schaller --- arch/mips/configs/ci20_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_defconfig index be41df2a81fb..3f733a555cb2 100644

<    1   2   3   4   5   6   >