File Index
Files and directories
Sign in
FILE

socionext,uniphier-aio.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/sound/socionext,uniphier-aio.yaml YAML
  1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2%YAML 1.2
  3---
  4$id: http://devicetree.org/schemas/sound/socionext,uniphier-aio.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: UniPhier AIO audio system
  8
  9maintainers:
 10  - <alsa-devel@alsa-project.org>
 11
 12allOf:
 13  - $ref: dai-common.yaml#
 14
 15properties:
 16  compatible:
 17    enum:
 18      - socionext,uniphier-ld11-aio
 19      - socionext,uniphier-ld20-aio
 20      - socionext,uniphier-pxs2-aio
 21
 22  reg:
 23    maxItems: 1
 24
 25  interrupts:
 26    maxItems: 1
 27
 28  clock-names:
 29    const: aio
 30
 31  clocks:
 32    maxItems: 1
 33
 34  reset-names:
 35    const: aio
 36
 37  resets:
 38    maxItems: 1
 39
 40  socionext,syscon:
 41    description: |
 42      Specifies a phandle to soc-glue, which is used for changing mode of S/PDIF
 43      signal pin to output from Hi-Z. This property is optional if you use I2S
 44      signal pins only.
 45    $ref: /schemas/types.yaml#/definitions/phandle
 46
 47  "#sound-dai-cells":
 48    const: 1
 49
 50patternProperties:
 51  "^port@[0-9]$":
 52    description: |
 53      Port number of DT node is specified by the following DAI channels that
 54      depends on SoC.
 55      ld11-aio,ld20-aio:
 56        0: hdmi
 57        1: pcmin2
 58        2: line
 59        3: hpcmout1
 60        4: pcmout3
 61        5: hiecout1
 62        6: epcmout2
 63        7: epcmout3
 64        8: hieccompout1
 65      pxs2-aio:
 66        0: hdmi
 67        1: line
 68        2: aux
 69        3: hiecout1
 70        4: iecout1
 71        5: hieccompout1
 72        6: ieccompout1
 73    $ref: audio-graph-port.yaml#
 74    unevaluatedProperties: false
 75
 76unevaluatedProperties: false
 77
 78required:
 79  - compatible
 80  - reg
 81  - interrupts
 82  - clock-names
 83  - clocks
 84  - reset-names
 85  - resets
 86  - "#sound-dai-cells"
 87
 88examples:
 89  - |
 90    audio@56000000 {
 91        compatible = "socionext,uniphier-ld20-aio";
 92        reg = <0x56000000 0x80000>;
 93        interrupts = <0 144 4>;
 94        pinctrl-names = "default";
 95        pinctrl-0 = <&pinctrl_aout>;
 96        clock-names = "aio";
 97        clocks = <&sys_clk 40>;
 98        reset-names = "aio";
 99        resets = <&sys_rst 40>;
100        #sound-dai-cells = <1>;
101        socionext,syscon = <&soc_glue>;
102    };
~/ Read-only file preview.