dt-bindings: media: wave5: add yaml devicetree bindings
Add bindings for the wave5 chips&media codec driver Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
9707a6254a
commit
de4b9f7e37
61
Documentation/devicetree/bindings/media/cnm,wave521c.yaml
Normal file
61
Documentation/devicetree/bindings/media/cnm,wave521c.yaml
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/media/cnm,wave521c.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Chips&Media Wave 5 Series multi-standard codec IP
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Nas Chung <nas.chung@chipsnmedia.com>
|
||||||
|
- Jackson Lee <jackson.lee@chipsnmedia.com>
|
||||||
|
|
||||||
|
description:
|
||||||
|
The Chips&Media WAVE codec IP is a multi format video encoder/decoder
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
items:
|
||||||
|
- enum:
|
||||||
|
- ti,k3-j721s2-wave521c
|
||||||
|
- const: cnm,wave521c
|
||||||
|
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
clocks:
|
||||||
|
items:
|
||||||
|
- description: VCODEC clock
|
||||||
|
|
||||||
|
interrupts:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
power-domains:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
resets:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
sram:
|
||||||
|
$ref: /schemas/types.yaml#/definitions/phandle
|
||||||
|
description:
|
||||||
|
The VPU uses the SRAM to store some of the reference data instead of
|
||||||
|
storing it on DMA memory. It is mainly used for the purpose of reducing
|
||||||
|
bandwidth.
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- reg
|
||||||
|
- clocks
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
vpu: video-codec@12345678 {
|
||||||
|
compatible = "ti,k3-j721s2-wave521c", "cnm,wave521c";
|
||||||
|
reg = <0x12345678 0x1000>;
|
||||||
|
clocks = <&clks 42>;
|
||||||
|
interrupts = <42>;
|
||||||
|
sram = <&sram>;
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user