Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/sound/wm8750.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: WM8750 and WM8987 audio CODECs
0008 
0009 description: |
0010   These devices support both I2C and SPI (configured with pin strapping
0011   on the board).
0012 
0013 maintainers:
0014   - Mark Brown <broonie@kernel.org>
0015 
0016 properties:
0017   compatible:
0018     enum:
0019       - wlf,wm8750
0020       - wlf,wm8987
0021 
0022   reg:
0023     description:
0024       The I2C address of the device for I2C, the chip select number for SPI
0025     maxItems: 1
0026 
0027 additionalProperties: false
0028 
0029 required:
0030   - reg
0031 
0032 examples:
0033   - |
0034     i2c {
0035         #address-cells = <1>;
0036         #size-cells = <0>;
0037 
0038         codec@1a {
0039             compatible = "wlf,wm8750";
0040             reg = <0x1a>;
0041         };
0042     };