| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/imx/fsl,imx8mp-hdmi-pai.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Freescale i.MX8MP HDMI Parallel Audio Interface |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Shengjiu Wang <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
The HDMI TX Parallel Audio Interface (HTX_PAI) is a bridge between the |
| 14 |
Audio Subsystem to the HDMI TX Controller. |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
const: fsl,imx8mp-hdmi-pai |
| 19 |
|
| 20 |
reg: |
| 21 |
maxItems: 1 |
| 22 |
|
| 23 |
interrupts: |
| 24 |
maxItems: 1 |
| 25 |
|
| 26 |
clocks: |
| 27 |
maxItems: 1 |
| 28 |
|
| 29 |
clock-names: |
| 30 |
const: apb |
| 31 |
|
| 32 |
power-domains: |
| 33 |
maxItems: 1 |
| 34 |
|
| 35 |
port: |
| 36 |
$ref: /schemas/graph.yaml#/properties/port |
| 37 |
description: Output to the HDMI TX controller. |
| 38 |
|
| 39 |
required: |
| 40 |
- compatible |
| 41 |
- reg |
| 42 |
- interrupts |
| 43 |
- clocks |
| 44 |
- clock-names |
| 45 |
- power-domains |
| 46 |
- port |
| 47 |
|
| 48 |
additionalProperties: false |
| 49 |
|
| 50 |
examples: |
| 51 |
- | |
| 52 |
#include <dt-bindings/clock/imx8mp-clock.h> |
| 53 |
#include <dt-bindings/power/imx8mp-power.h> |
| 54 |
|
| 55 |
audio-bridge@32fc4800 { |
| 56 |
compatible = "fsl,imx8mp-hdmi-pai"; |
| 57 |
reg = <0x32fc4800 0x800>; |
| 58 |
interrupt-parent = <&irqsteer_hdmi>; |
| 59 |
interrupts = <14>; |
| 60 |
clocks = <&clk IMX8MP_CLK_HDMI_APB>; |
| 61 |
clock-names = "apb"; |
| 62 |
power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_PAI>; |
| 63 |
|
| 64 |
port { |
| 65 |
pai_to_hdmi_tx: endpoint { |
| 66 |
remote-endpoint = <&hdmi_tx_from_pai>; |
| 67 |
}; |
| 68 |
}; |
| 69 |
}; |