brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · df91991 Raw
88 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/sound/renesas,fsi.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Renesas FIFO-buffered Serial Interface (FSI)8 9maintainers:10  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>11 12allOf:13  - $ref: dai-common.yaml#14 15properties:16  $nodename:17    pattern: "^sound@.*"18 19  compatible:20    oneOf:21      # for FSI2 SoC22      - items:23          - enum:24              - renesas,fsi2-sh73a0  # SH-Mobile AG525              - renesas,fsi2-r8a7740 # R-Mobile A126          - enum:27              - renesas,sh_fsi228      # for Generic29      - items:30          - enum:31              - renesas,sh_fsi32              - renesas,sh_fsi233 34  reg:35    maxItems: 136 37  interrupts:38    maxItems: 139 40  clocks:41    maxItems: 142 43  power-domains:44    maxItems: 145 46  '#sound-dai-cells':47    const: 148 49patternProperties:50  "^fsi(a|b),spdif-connection$":51    $ref: /schemas/types.yaml#/definitions/flag52    description: FSI is connected by S/PDIF53 54  "^fsi(a|b),stream-mode-support$":55    $ref: /schemas/types.yaml#/definitions/flag56    description: FSI supports 16bit stream mode57 58  "^fsi(a|b),use-internal-clock$":59    $ref: /schemas/types.yaml#/definitions/flag60    description: FSI uses internal clock when master mode61 62required:63  - compatible64  - reg65  - interrupts66  - clocks67  - power-domains68  - '#sound-dai-cells'69 70unevaluatedProperties: false71 72examples:73  - |74    #include <dt-bindings/clock/r8a7740-clock.h>75    #include <dt-bindings/interrupt-controller/arm-gic.h>76    sh_fsi2: sound@fe1f0000 {77            compatible = "renesas,fsi2-r8a7740", "renesas,sh_fsi2";78            reg = <0xfe1f0000 0x400>;79            interrupts = <GIC_SPI 9 0x4>;80            clocks = <&mstp3_clks R8A7740_CLK_FSI>;81            power-domains = <&pd_a4mp>;82 83            #sound-dai-cells = <1>;84            fsia,spdif-connection;85            fsia,stream-mode-support;86            fsia,use-internal-clock;87    };88