1*5bd5699cSMaxime Ripard# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*5bd5699cSMaxime Ripard%YAML 1.2 3*5bd5699cSMaxime Ripard--- 4*5bd5699cSMaxime Ripard$id: http://devicetree.org/schemas/sound/wlf,wm8978.yaml# 5*5bd5699cSMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5bd5699cSMaxime Ripard 7*5bd5699cSMaxime Ripardtitle: Wolfson WM8978 Codec Device Tree Bindings 8*5bd5699cSMaxime Ripard 9*5bd5699cSMaxime Ripardmaintainers: 10*5bd5699cSMaxime Ripard - patches@opensource.cirrus.com 11*5bd5699cSMaxime Ripard 12*5bd5699cSMaxime Ripardproperties: 13*5bd5699cSMaxime Ripard '#sound-dai-cells': 14*5bd5699cSMaxime Ripard const: 0 15*5bd5699cSMaxime Ripard 16*5bd5699cSMaxime Ripard compatible: 17*5bd5699cSMaxime Ripard const: wlf,wm8978 18*5bd5699cSMaxime Ripard 19*5bd5699cSMaxime Ripard reg: 20*5bd5699cSMaxime Ripard maxItems: 1 21*5bd5699cSMaxime Ripard 22*5bd5699cSMaxime Ripard spi-max-frequency: 23*5bd5699cSMaxime Ripard maximum: 526000 24*5bd5699cSMaxime Ripard 25*5bd5699cSMaxime Ripardrequired: 26*5bd5699cSMaxime Ripard - '#sound-dai-cells' 27*5bd5699cSMaxime Ripard - compatible 28*5bd5699cSMaxime Ripard - reg 29*5bd5699cSMaxime Ripard 30*5bd5699cSMaxime RipardadditionalProperties: false 31*5bd5699cSMaxime Ripard 32*5bd5699cSMaxime Ripardexamples: 33*5bd5699cSMaxime Ripard - | 34*5bd5699cSMaxime Ripard spi { 35*5bd5699cSMaxime Ripard #address-cells = <1>; 36*5bd5699cSMaxime Ripard #size-cells = <0>; 37*5bd5699cSMaxime Ripard 38*5bd5699cSMaxime Ripard codec@0 { 39*5bd5699cSMaxime Ripard #sound-dai-cells = <0>; 40*5bd5699cSMaxime Ripard compatible = "wlf,wm8978"; 41*5bd5699cSMaxime Ripard reg = <0>; 42*5bd5699cSMaxime Ripard spi-max-frequency = <500000>; 43*5bd5699cSMaxime Ripard }; 44*5bd5699cSMaxime Ripard }; 45*5bd5699cSMaxime Ripard 46*5bd5699cSMaxime Ripard - | 47*5bd5699cSMaxime Ripard i2c { 48*5bd5699cSMaxime Ripard #address-cells = <1>; 49*5bd5699cSMaxime Ripard #size-cells = <0>; 50*5bd5699cSMaxime Ripard 51*5bd5699cSMaxime Ripard codec@0 { 52*5bd5699cSMaxime Ripard #sound-dai-cells = <0>; 53*5bd5699cSMaxime Ripard compatible = "wlf,wm8978"; 54*5bd5699cSMaxime Ripard reg = <0>; 55*5bd5699cSMaxime Ripard }; 56*5bd5699cSMaxime Ripard }; 57*5bd5699cSMaxime Ripard 58*5bd5699cSMaxime Ripard... 59