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