Path: blob/master/Documentation/devicetree/bindings/gpu/host1x/nvidia,tegra210-nvdec.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra210-nvdec.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: NVIDIA Tegra NVDEC78description: |9NVDEC is the hardware video decoder present on NVIDIA Tegra21010and newer chips. It is located on the Host1x bus and typically11programmed through Host1x channels.1213maintainers:14- Thierry Reding <treding@gmail.com>15- Mikko Perttunen <mperttunen@nvidia.com>1617properties:18$nodename:19pattern: "^nvdec@[0-9a-f]*$"2021compatible:22enum:23- nvidia,tegra210-nvdec24- nvidia,tegra186-nvdec25- nvidia,tegra194-nvdec2627reg:28maxItems: 12930clocks:31maxItems: 13233clock-names:34items:35- const: nvdec3637resets:38maxItems: 13940reset-names:41items:42- const: nvdec4344power-domains:45maxItems: 14647iommus:48maxItems: 14950dma-coherent: true5152interconnects:53items:54- description: DMA read memory client55- description: DMA read 2 memory client56- description: DMA write memory client5758interconnect-names:59items:60- const: dma-mem61- const: read-162- const: write6364nvidia,host1x-class:65description: |66Host1x class of the engine, used to specify the targeted engine67when programming the engine through Host1x channels or when68configuring engine-specific behavior in Host1x.69default: 0xf070$ref: /schemas/types.yaml#/definitions/uint327172required:73- compatible74- reg75- clocks76- clock-names77- resets78- reset-names79- power-domains8081additionalProperties: false8283examples:84- |85#include <dt-bindings/clock/tegra186-clock.h>86#include <dt-bindings/interrupt-controller/arm-gic.h>87#include <dt-bindings/memory/tegra186-mc.h>88#include <dt-bindings/power/tegra186-powergate.h>89#include <dt-bindings/reset/tegra186-reset.h>9091nvdec@15480000 {92compatible = "nvidia,tegra186-nvdec";93reg = <0x15480000 0x40000>;94clocks = <&bpmp TEGRA186_CLK_NVDEC>;95clock-names = "nvdec";96resets = <&bpmp TEGRA186_RESET_NVDEC>;97reset-names = "nvdec";9899power-domains = <&bpmp TEGRA186_POWER_DOMAIN_NVDEC>;100interconnects = <&mc TEGRA186_MEMORY_CLIENT_NVDECSRD &emc>,101<&mc TEGRA186_MEMORY_CLIENT_NVDECSRD1 &emc>,102<&mc TEGRA186_MEMORY_CLIENT_NVDECSWR &emc>;103interconnect-names = "dma-mem", "read-1", "write";104iommus = <&smmu TEGRA186_SID_NVDEC>;105};106107108