mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
dd3cb467eb
As indicated in link: https://lore.kernel.org/all/20220822204945.GA808626-robh@kernel.org/ DT schema files should not have 'Device Tree Binding' as part of there title: line. Remove this in most .yaml files, so hopefully preventing developers copying it into new .yaml files, and being asked to remove it. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20220825020427.3460650-1-andrew@lunn.ch Signed-off-by: Rob Herring <robh@kernel.org>
84 lines
1.8 KiB
YAML
84 lines
1.8 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/media/rockchip,vdec.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Rockchip Video Decoder (VDec)
|
|
|
|
maintainers:
|
|
- Heiko Stuebner <heiko@sntech.de>
|
|
|
|
description: |-
|
|
The Rockchip rk3399 has a stateless Video Decoder that can decodes H.264,
|
|
HEVC an VP9 streams.
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: rockchip,rk3399-vdec
|
|
- items:
|
|
- enum:
|
|
- rockchip,rk3228-vdec
|
|
- rockchip,rk3328-vdec
|
|
- const: rockchip,rk3399-vdec
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: The Video Decoder AXI interface clock
|
|
- description: The Video Decoder AHB interface clock
|
|
- description: The Video Decoded CABAC clock
|
|
- description: The Video Decoder core clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: axi
|
|
- const: ahb
|
|
- const: cabac
|
|
- const: core
|
|
|
|
assigned-clocks: true
|
|
|
|
assigned-clock-rates: true
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
iommus:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- clock-names
|
|
- power-domains
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/clock/rk3399-cru.h>
|
|
#include <dt-bindings/power/rk3399-power.h>
|
|
|
|
vdec: video-codec@ff660000 {
|
|
compatible = "rockchip,rk3399-vdec";
|
|
reg = <0xff660000 0x400>;
|
|
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
|
|
clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>,
|
|
<&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>;
|
|
clock-names = "axi", "ahb", "cabac", "core";
|
|
power-domains = <&power RK3399_PD_VDU>;
|
|
iommus = <&vdec_mmu>;
|
|
};
|
|
|
|
...
|