1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sound/realt 4 $id: http://devicetree.org/schemas/sound/realtek,rt5514.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: RT5514 audio CODEC 7 title: RT5514 audio CODEC 8 8 9 maintainers: 9 maintainers: 10 - Animesh Agarwal <animeshagarwal28@gmail.com 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 11 11 12 description: | 12 description: | 13 This device supports both I2C and SPI. 13 This device supports both I2C and SPI. 14 14 15 Pins on the device (for linking into audio r 15 Pins on the device (for linking into audio routes) for I2C: 16 * DMIC1L 16 * DMIC1L 17 * DMIC1R 17 * DMIC1R 18 * DMIC2L 18 * DMIC2L 19 * DMIC2R 19 * DMIC2R 20 * AMICL 20 * AMICL 21 * AMICR 21 * AMICR 22 22 23 allOf: 23 allOf: 24 - $ref: /schemas/spi/spi-peripheral-props.ya 24 - $ref: /schemas/spi/spi-peripheral-props.yaml# 25 - $ref: dai-common.yaml# 25 - $ref: dai-common.yaml# 26 26 27 properties: 27 properties: 28 compatible: 28 compatible: 29 const: realtek,rt5514 29 const: realtek,rt5514 30 30 31 reg: 31 reg: 32 maxItems: 1 32 maxItems: 1 33 33 34 clocks: 34 clocks: 35 items: 35 items: 36 - description: Master clock to the CODEC 36 - description: Master clock to the CODEC 37 37 38 clock-names: 38 clock-names: 39 items: 39 items: 40 - const: mclk 40 - const: mclk 41 41 42 interrupts: 42 interrupts: 43 maxItems: 1 43 maxItems: 1 44 description: The interrupt number to the c 44 description: The interrupt number to the cpu. 45 45 46 realtek,dmic-init-delay-ms: 46 realtek,dmic-init-delay-ms: 47 description: Set the DMIC initial delay (m 47 description: Set the DMIC initial delay (ms) to wait it ready for I2C. 48 48 49 spi-max-frequency: true 49 spi-max-frequency: true 50 50 51 wakeup-source: 51 wakeup-source: 52 type: boolean 52 type: boolean 53 description: Flag to indicate this device 53 description: Flag to indicate this device can wake system (suspend/resume). 54 54 55 required: 55 required: 56 - compatible 56 - compatible 57 - reg 57 - reg 58 58 59 unevaluatedProperties: false 59 unevaluatedProperties: false 60 60 61 examples: 61 examples: 62 - | 62 - | 63 i2c { 63 i2c { 64 #address-cells = <1>; 64 #address-cells = <1>; 65 #size-cells = <0>; 65 #size-cells = <0>; 66 codec@57 { 66 codec@57 { 67 compatible = "realtek,rt5514"; 67 compatible = "realtek,rt5514"; 68 reg = <0x57>; 68 reg = <0x57>; 69 }; 69 }; 70 }; 70 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.