12f52475bSKuninori Morimoto# SPDX-License-Identifier: GPL-2.0 22f52475bSKuninori Morimoto%YAML 1.2 32f52475bSKuninori Morimoto--- 42f52475bSKuninori Morimoto$id: http://devicetree.org/schemas/sound/renesas,fsi.yaml# 52f52475bSKuninori Morimoto$schema: http://devicetree.org/meta-schemas/core.yaml# 62f52475bSKuninori Morimoto 72f52475bSKuninori Morimototitle: Renesas FSI Sound Driver Device Tree Bindings 82f52475bSKuninori Morimoto 92f52475bSKuninori Morimotomaintainers: 102f52475bSKuninori Morimoto - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 112f52475bSKuninori Morimoto 122f52475bSKuninori Morimotoproperties: 132f52475bSKuninori Morimoto $nodename: 142f52475bSKuninori Morimoto pattern: "^sound@.*" 152f52475bSKuninori Morimoto 162f52475bSKuninori Morimoto compatible: 172f52475bSKuninori Morimoto oneOf: 182f52475bSKuninori Morimoto # for FSI2 SoC 192f52475bSKuninori Morimoto - items: 202f52475bSKuninori Morimoto - enum: 212f52475bSKuninori Morimoto - renesas,fsi2-sh73a0 222f52475bSKuninori Morimoto - renesas,fsi2-r8a7740 232f52475bSKuninori Morimoto - enum: 242f52475bSKuninori Morimoto - renesas,sh_fsi2 252f52475bSKuninori Morimoto # for Generic 262f52475bSKuninori Morimoto - items: 272f52475bSKuninori Morimoto - enum: 282f52475bSKuninori Morimoto - renesas,sh_fsi 292f52475bSKuninori Morimoto - renesas,sh_fsi2 302f52475bSKuninori Morimoto 312f52475bSKuninori Morimoto reg: 322f52475bSKuninori Morimoto maxItems: 1 332f52475bSKuninori Morimoto 342f52475bSKuninori Morimoto interrupts: 352f52475bSKuninori Morimoto maxItems: 1 362f52475bSKuninori Morimoto 372f52475bSKuninori Morimoto fsia,spdif-connection: 382f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 392f52475bSKuninori Morimoto description: FSI is connected by S/PDIF 402f52475bSKuninori Morimoto 412f52475bSKuninori Morimoto fsia,stream-mode-support: 422f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 432f52475bSKuninori Morimoto description: FSI supports 16bit stream mode 442f52475bSKuninori Morimoto 452f52475bSKuninori Morimoto fsia,use-internal-clock: 462f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 472f52475bSKuninori Morimoto description: FSI uses internal clock when master mode 482f52475bSKuninori Morimoto 492f52475bSKuninori Morimoto fsib,spdif-connection: 502f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 512f52475bSKuninori Morimoto description: same as fsia 522f52475bSKuninori Morimoto 532f52475bSKuninori Morimoto fsib,stream-mode-support: 542f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 552f52475bSKuninori Morimoto description: same as fsia 562f52475bSKuninori Morimoto 572f52475bSKuninori Morimoto fsib,use-internal-clock: 582f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 592f52475bSKuninori Morimoto description: same as fsia 602f52475bSKuninori Morimoto 612f52475bSKuninori Morimotorequired: 622f52475bSKuninori Morimoto - compatible 632f52475bSKuninori Morimoto - reg 642f52475bSKuninori Morimoto - interrupts 652f52475bSKuninori Morimoto 66*7f464532SRob HerringadditionalProperties: false 67*7f464532SRob Herring 682f52475bSKuninori Morimotoexamples: 692f52475bSKuninori Morimoto - | 702f52475bSKuninori Morimoto sh_fsi2: sound@ec230000 { 712f52475bSKuninori Morimoto compatible = "renesas,fsi2-r8a7740", "renesas,sh_fsi2"; 722f52475bSKuninori Morimoto reg = <0xec230000 0x400>; 732f52475bSKuninori Morimoto interrupts = <0 146 0x4>; 742f52475bSKuninori Morimoto 752f52475bSKuninori Morimoto fsia,spdif-connection; 762f52475bSKuninori Morimoto fsia,stream-mode-support; 772f52475bSKuninori Morimoto fsia,use-internal-clock; 782f52475bSKuninori Morimoto }; 79