Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / sound / realtek,rt5514.yaml
blob7fbf7739c3719262defd2d37423d771848d1cef0
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/realtek,rt5514.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RT5514 audio CODEC
9 maintainers:
10   - Animesh Agarwal <animeshagarwal28@gmail.com>
12 description: |
13   This device supports both I2C and SPI.
15   Pins on the device (for linking into audio routes) for I2C:
16     * DMIC1L
17     * DMIC1R
18     * DMIC2L
19     * DMIC2R
20     * AMICL
21     * AMICR
23 allOf:
24   - $ref: /schemas/spi/spi-peripheral-props.yaml#
25   - $ref: dai-common.yaml#
27 properties:
28   compatible:
29     const: realtek,rt5514
31   reg:
32     maxItems: 1
34   clocks:
35     items:
36       - description: Master clock to the CODEC
38   clock-names:
39     items:
40       - const: mclk
42   interrupts:
43     maxItems: 1
44     description: The interrupt number to the cpu.
46   realtek,dmic-init-delay-ms:
47     description: Set the DMIC initial delay (ms) to wait it ready for I2C.
49   spi-max-frequency: true
51   wakeup-source:
52     type: boolean
53     description: Flag to indicate this device can wake system (suspend/resume).
55 required:
56   - compatible
57   - reg
59 unevaluatedProperties: false
61 examples:
62   - |
63     i2c {
64         #address-cells = <1>;
65         #size-cells = <0>;
66         codec@57 {
67             compatible = "realtek,rt5514";
68             reg = <0x57>;
69         };
70     };