Skip to contentSkip to conversation

dt-bindings: meson: Add G12A display bindings

PATCH In review Neil Armstrong 3 participants 9 messages Mar 13, 2019 – Apr 15, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover dt-bindings: meson: Add G12A display bindings

This patchset adds the G12A specific bindings for the Display VPU and VPU Power Control.

The Amlogic Meson G12A Display module is based on the Meson GXM SoC with an updated Plane Blender, thus VPU architecture and interconnect is the same.

Implementation then DT nodes will come in a further patchsets.

Neil Armstrong (3):
dt-bindings: display: amlogic,meson-vpu: Add G12A compatible and ports
dt-bindings: display: amlogic,meson-dw-hdmi: Add G12A compatible and
ports
dt-bindings: power: amlogic,meson-gx-pwrc: Add G12A compatible

 .../devicetree/bindings/display/amlogic,meson-dw-hdmi.txt     | 4 ++++
 .../devicetree/bindings/display/amlogic,meson-vpu.txt         | 4 ++++
 .../devicetree/bindings/power/amlogic,meson-gx-pwrc.txt       | 4 +++-
 3 files changed, 11 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/3 dt-bindings: display: amlogic,meson-vpu: Add G12A compatible and ports

The Amlogic G12A VPU is very similar to the Amlogic GXM VPU but with :
- an enhanced plane blender, with up to 3 OSD planes
- support for AFBC 1.2 decoder (for Bifrost GPU)
- support display mode up to 4k60@75Hz

---
 .../devicetree/bindings/display/amlogic,meson-vpu.txt         | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/display/amlogic,meson-vpu.txt +4 -0
index 419444e2b4d3..be40a780501c 100644
@@ -57,6 +57,7 @@ Required properties:
 	- GXL (S905X, S905D) : "amlogic,meson-gxl-vpu"
 	- GXM (S912) : "amlogic,meson-gxm-vpu"
 	followed by the common "amlogic,meson-gx-vpu"
+	- G12A (S905X2, S905Y2, S905D2) : "amlogic,meson-g12a-vpu"
 - reg: base address and size of he following memory-mapped regions :
 	- vpu
 	- hhi
@@ -83,6 +84,9 @@ corresponding to each VPU output.
  S905X (GXL)	CVBS VDAC	HDMI-TX
  S905D (GXL)	CVBS VDAC	HDMI-TX
  S912 (GXM)	CVBS VDAC	HDMI-TX
+ S905X2 (G12A)	CVBS VDAC	HDMI-TX
+ S905Y2 (G12A)	CVBS VDAC	HDMI-TX
+ S905D2 (G12A)	CVBS VDAC	HDMI-TX
 
 Example:
 
Signature · 6 lines
2.20.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer Reviewed-by on v1 1/3
#2 lore raw

Re: [PATCH 1/3] dt-bindings: display: amlogic, meson-vpu: Add G12A compatible and ports

Quoted 10 lines · Neil Armstrong

The Amlogic G12A VPU is very similar to the Amlogic GXM VPU but with :
- an enhanced plane blender, with up to 3 OSD planes
- support for AFBC 1.2 decoder (for Bifrost GPU)
- support display mode up to 4k60@75Hz

---
 .../devicetree/bindings/display/amlogic,meson-vpu.txt         | 4 ++++
 1 file changed, 4 insertions(+)
#3 lore raw

PATCH 2/3 dt-bindings: display: amlogic,meson-dw-hdmi: Add G12A compatible and ports

In reply to Neil Armstrong

The Amlogic G12A SoC has a slighly modified DW-HDMI Glue with support for HDMI 2.1 and a different DW-HDMI register access.

---
 .../devicetree/bindings/display/amlogic,meson-dw-hdmi.txt     | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.txt +4 -0
index bf4a18047309..3a50a7862cf3 100644
@@ -37,6 +37,7 @@ Required properties:
 	- GXL (S905X, S905D) : "amlogic,meson-gxl-dw-hdmi"
 	- GXM (S912) : "amlogic,meson-gxm-dw-hdmi"
 	followed by the common "amlogic,meson-gx-dw-hdmi"
+	- G12A (S905X2, S905Y2, S905D2) : "amlogic,meson-g12a-dw-hdmi"
 - reg: Physical base address and length of the controller's registers.
 - interrupts: The HDMI interrupt number
 - clocks, clock-names : must have the phandles to the HDMI iahb and isfr clocks,
@@ -66,6 +67,9 @@ corresponding to each HDMI output and input.
  S905X (GXL)	VENC Input	TMDS Output
  S905D (GXL)	VENC Input	TMDS Output
  S912 (GXM)	VENC Input	TMDS Output
+ S905X2 (G12A)	VENC Input	TMDS Output
+ S905Y2 (G12A)	VENC Input	TMDS Output
+ S905D2 (G12A)	VENC Input	TMDS Output
 
 Example:
 
Signature · 6 lines
2.20.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer Reviewed-by on v1 2/3
#4 lore raw

Re: [PATCH 2/3] dt-bindings: display: amlogic,meson-dw-hdmi: Add G12A compatible and ports

Quoted 8 lines · Neil Armstrong

The Amlogic G12A SoC has a slighly modified DW-HDMI Glue with support for HDMI 2.1 and a different DW-HDMI register access.

---
 .../devicetree/bindings/display/amlogic,meson-dw-hdmi.txt     | 4 ++++
 1 file changed, 4 insertions(+)
#5 lore raw

PATCH 3/3 dt-bindings: power: amlogic,meson-gx-pwrc: Add G12A compatible

In reply to Neil Armstrong

The Amlogic G12A has a slighly different Power Control, but uses the same address space and sysctrl registers.

---
 .../devicetree/bindings/power/amlogic,meson-gx-pwrc.txt       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/power/amlogic,meson-gx-pwrc.txt +3 -1
index 1cd050b4054c..0fdc3dd1125e 100644
@@ -16,7 +16,9 @@ Device Tree Bindings:
 ---------------------
 
 Required properties:
-- compatible: should be "amlogic,meson-gx-pwrc-vpu" for the Meson GX SoCs
+- compatible: should be one of the following :
+	- "amlogic,meson-gx-pwrc-vpu" for the Meson GX SoCs
+	- "amlogic,meson-g12a-pwrc-vpu" for the Meson G12A SoCs
 - #power-domain-cells: should be 0
 - amlogic,hhi-sysctrl: phandle to the HHI sysctrl node
 - resets: phandles to the reset lines needed for this power demain sequence
Signature · 6 lines
2.20.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer Reviewed-by on v1 3/3
#6 lore raw

Re: [PATCH 3/3] dt-bindings: power: amlogic, meson-gx-pwrc: Add G12A compatible

Quoted 8 lines · Neil Armstrong

The Amlogic G12A has a slighly different Power Control, but uses the same address space and sysctrl registers.

---
 .../devicetree/bindings/power/amlogic,meson-gx-pwrc.txt       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to Neil Armstrong
Quoted 15 lines · Neil Armstrong

This patchset adds the G12A specific bindings for the Display VPU and VPU Power Control.

The Amlogic Meson G12A Display module is based on the Meson GXM SoC with an updated Plane Blender, thus VPU architecture and interconnect is the same.

Implementation then DT nodes will come in a further patchsets.

Neil Armstrong (3):
dt-bindings: display: amlogic,meson-vpu: Add G12A compatible and ports
dt-bindings: display: amlogic,meson-dw-hdmi: Add G12A compatible and
ports
dt-bindings: power: amlogic,meson-gx-pwrc: Add G12A compatible

Quoted 5 lines
 .../devicetree/bindings/display/amlogic,meson-dw-hdmi.txt     | 4 ++++
 .../devicetree/bindings/display/amlogic,meson-vpu.txt         | 4 ++++
 .../devicetree/bindings/power/amlogic,meson-gx-pwrc.txt       | 4 +++-
 3 files changed, 11 insertions(+), 1 deletion(-)

Kevin,

I applied Patches 1 & 2 to drm-misc-next, can you take Patch 3 along :
- https://patchwork.kernel.org/patch/10879285/
- https://patchwork.kernel.org/patch/10879293/

Thanks !
Neil

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer
#8 lore raw
Quoted 22 lines · Neil Armstrong
Quoted 15 lines · Neil Armstrong

This patchset adds the G12A specific bindings for the Display VPU and VPU Power Control.

The Amlogic Meson G12A Display module is based on the Meson GXM SoC with an updated Plane Blender, thus VPU architecture and interconnect is the same.

Implementation then DT nodes will come in a further patchsets.

Neil Armstrong (3):
dt-bindings: display: amlogic,meson-vpu: Add G12A compatible and ports
dt-bindings: display: amlogic,meson-dw-hdmi: Add G12A compatible and
ports
dt-bindings: power: amlogic,meson-gx-pwrc: Add G12A compatible

Quoted 5 lines
 .../devicetree/bindings/display/amlogic,meson-dw-hdmi.txt     | 4 ++++
 .../devicetree/bindings/display/amlogic,meson-vpu.txt         | 4 ++++
 .../devicetree/bindings/power/amlogic,meson-gx-pwrc.txt       | 4 +++-
 3 files changed, 11 insertions(+), 1 deletion(-)
Quoted 3 lines

Kevin,

I applied Patches 1 & 2 to drm-misc-next, can you take Patch 3 along :

Queued for v5.2,

Thanks,

Kevin