Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/media/cnm,wave521c.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Chips&Media Wave 5 Series multi-standard codec IP |
| 8 | |
| 9 | maintainers: |
| 10 | - Nas Chung <nas.chung@chipsnmedia.com> |
| 11 | - Jackson Lee <jackson.lee@chipsnmedia.com> |
| 12 | |
| 13 | description: |
| 14 | The Chips&Media WAVE codec IP is a multi format video encoder/decoder |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | items: |
| 19 | - enum: |
| 20 | - ti,j721s2-wave521c |
| 21 | - const: cnm,wave521c |
| 22 | |
| 23 | reg: |
| 24 | maxItems: 1 |
| 25 | |
| 26 | clocks: |
| 27 | items: |
| 28 | - description: VCODEC clock |
| 29 | |
| 30 | interrupts: |
| 31 | maxItems: 1 |
| 32 | |
| 33 | power-domains: |
| 34 | maxItems: 1 |
| 35 | |
| 36 | resets: |
| 37 | maxItems: 1 |
| 38 | |
| 39 | sram: |
| 40 | $ref: /schemas/types.yaml#/definitions/phandle |
| 41 | description: |
| 42 | The VPU uses the SRAM to store some of the reference data instead of |
| 43 | storing it on DMA memory. It is mainly used for the purpose of reducing |
| 44 | bandwidth. |
| 45 | |
| 46 | required: |
| 47 | - compatible |
| 48 | - reg |
| 49 | - clocks |
| 50 | |
| 51 | additionalProperties: false |
| 52 | |
| 53 | examples: |
| 54 | - | |
| 55 | vpu: video-codec@12345678 { |
| 56 | compatible = "ti,j721s2-wave521c", "cnm,wave521c"; |
| 57 | reg = <0x12345678 0x1000>; |
| 58 | clocks = <&clks 42>; |
| 59 | interrupts = <42>; |
| 60 | sram = <&sram>; |
| 61 | }; |