* [PATCH 1/4] dt-bindings: media: Add bindings for the Amlogic GE2D Accelerator Unit
[not found] <20200928161411.323581-1-narmstrong@baylibre.com>
@ 2020-09-28 16:14 ` Neil Armstrong
2020-09-29 20:09 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Neil Armstrong @ 2020-09-28 16:14 UTC (permalink / raw)
To: hverkuil-cisco, devicetree
Cc: Neil Armstrong, linux-media, linux-amlogic, linux-arm-kernel,
linux-kernel
The GE2D is a 2D accelerator with various features like configurable blitter
with alpha blending, frame rotation, scaling, format conversion and colorspace
conversion.
This adds the bindings for the GE2D version found in the AXG SoCs Family.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
.../bindings/media/amlogic,axg-ge2d.yaml | 47 +++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml
diff --git a/Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml b/Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml
new file mode 100644
index 000000000000..bee93bd84771
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+# Copyright 2020 BayLibre, SAS
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/media/amlogic,axg-ge2d.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: Amlogic GE2D Acceleration Unit
+
+maintainers:
+ - Neil Armstrong <narmstrong@baylibre.com>
+
+properties:
+ compatible:
+ enum:
+ - amlogic,axg-ge2d
+
+ interrupts:
+ minItems: 1
+
+ reg:
+ minItems: 1
+
+ resets:
+ maxItems: 1
+
+ clocks:
+ minItems: 1
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - resets
+
+additionalProperties: false
+
+examples:
+ - |
+ ge2d: ge2d@ff940000 {
+ compatible = "amlogic,axg-ge2d";
+ reg = <0xff940000 0x10000>;
+ interrupts = <150>;
+ clocks = <&clk_ge2d>;
+ resets = <&reset_ge2d>;
+ };
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/4] dt-bindings: media: Add bindings for the Amlogic GE2D Accelerator Unit
2020-09-28 16:14 ` [PATCH 1/4] dt-bindings: media: Add bindings for the Amlogic GE2D Accelerator Unit Neil Armstrong
@ 2020-09-29 20:09 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-09-29 20:09 UTC (permalink / raw)
To: Neil Armstrong
Cc: hverkuil-cisco, linux-kernel, linux-media, devicetree,
linux-arm-kernel, linux-amlogic
On Mon, 28 Sep 2020 18:14:08 +0200, Neil Armstrong wrote:
> The GE2D is a 2D accelerator with various features like configurable blitter
> with alpha blending, frame rotation, scaling, format conversion and colorspace
> conversion.
>
> This adds the bindings for the GE2D version found in the AXG SoCs Family.
>
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
> .../bindings/media/amlogic,axg-ge2d.yaml | 47 +++++++++++++++++++
> 1 file changed, 47 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-29 20:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20200928161411.323581-1-narmstrong@baylibre.com>
2020-09-28 16:14 ` [PATCH 1/4] dt-bindings: media: Add bindings for the Amlogic GE2D Accelerator Unit Neil Armstrong
2020-09-29 20:09 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).