15bd5699cSMaxime Ripard# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25bd5699cSMaxime Ripard%YAML 1.2 35bd5699cSMaxime Ripard--- 45bd5699cSMaxime Ripard$id: http://devicetree.org/schemas/sound/wlf,wm8978.yaml# 55bd5699cSMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml# 65bd5699cSMaxime Ripard 7dd3cb467SAndrew Lunntitle: Wolfson WM8978 Codec 85bd5699cSMaxime Ripard 95bd5699cSMaxime Ripardmaintainers: 105bd5699cSMaxime Ripard - patches@opensource.cirrus.com 115bd5699cSMaxime Ripard 12*58ae9a2aSKrzysztof KozlowskiallOf: 13*58ae9a2aSKrzysztof Kozlowski - $ref: dai-common.yaml# 14*58ae9a2aSKrzysztof Kozlowski 155bd5699cSMaxime Ripardproperties: 165bd5699cSMaxime Ripard '#sound-dai-cells': 175bd5699cSMaxime Ripard const: 0 185bd5699cSMaxime Ripard 195bd5699cSMaxime Ripard compatible: 205bd5699cSMaxime Ripard const: wlf,wm8978 215bd5699cSMaxime Ripard 225bd5699cSMaxime Ripard reg: 235bd5699cSMaxime Ripard maxItems: 1 245bd5699cSMaxime Ripard 255bd5699cSMaxime Ripard spi-max-frequency: 265bd5699cSMaxime Ripard maximum: 526000 275bd5699cSMaxime Ripard 285bd5699cSMaxime Ripardrequired: 295bd5699cSMaxime Ripard - '#sound-dai-cells' 305bd5699cSMaxime Ripard - compatible 315bd5699cSMaxime Ripard - reg 325bd5699cSMaxime Ripard 33*58ae9a2aSKrzysztof KozlowskiunevaluatedProperties: false 345bd5699cSMaxime Ripard 355bd5699cSMaxime Ripardexamples: 365bd5699cSMaxime Ripard - | 375bd5699cSMaxime Ripard spi { 385bd5699cSMaxime Ripard #address-cells = <1>; 395bd5699cSMaxime Ripard #size-cells = <0>; 405bd5699cSMaxime Ripard 415bd5699cSMaxime Ripard codec@0 { 425bd5699cSMaxime Ripard #sound-dai-cells = <0>; 435bd5699cSMaxime Ripard compatible = "wlf,wm8978"; 445bd5699cSMaxime Ripard reg = <0>; 455bd5699cSMaxime Ripard spi-max-frequency = <500000>; 465bd5699cSMaxime Ripard }; 475bd5699cSMaxime Ripard }; 485bd5699cSMaxime Ripard 495bd5699cSMaxime Ripard - | 505bd5699cSMaxime Ripard i2c { 515bd5699cSMaxime Ripard #address-cells = <1>; 525bd5699cSMaxime Ripard #size-cells = <0>; 535bd5699cSMaxime Ripard 549208d3caSGeert Uytterhoeven codec@1a { 555bd5699cSMaxime Ripard #sound-dai-cells = <0>; 565bd5699cSMaxime Ripard compatible = "wlf,wm8978"; 579208d3caSGeert Uytterhoeven reg = <0x1a>; 585bd5699cSMaxime Ripard }; 595bd5699cSMaxime Ripard }; 605bd5699cSMaxime Ripard 615bd5699cSMaxime Ripard... 62