Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: realtek,rt5575: add support for ALC5575

Audio codec with I2S, I2C and SPI.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/cad38383a8f4c7235158779c270fee7f61bf6cfe.1767148150.git.oder_chiou@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Oder Chiou and committed by
Mark Brown
af4c0b95 037f8d89

+61
+61
Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
··· 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,rt5575.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ALC5575 audio CODEC 8 + 9 + maintainers: 10 + - Oder Chiou <oder_chiou@realtek.com> 11 + 12 + description: 13 + The device supports both I2C and SPI. I2C is mandatory, while SPI is 14 + optional depending on the hardware configuration. SPI is used for 15 + firmware loading if present. 16 + 17 + allOf: 18 + - $ref: dai-common.yaml# 19 + 20 + properties: 21 + compatible: 22 + const: realtek,rt5575 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + spi-parent: 28 + description: 29 + Optional phandle reference to the SPI controller used for firmware 30 + loading. The argument specifies the chip select. 31 + $ref: /schemas/types.yaml#/definitions/phandle-array 32 + 33 + required: 34 + - compatible 35 + - reg 36 + 37 + unevaluatedProperties: false 38 + 39 + examples: 40 + # I2C-only node 41 + - | 42 + i2c { 43 + #address-cells = <1>; 44 + #size-cells = <0>; 45 + codec@57 { 46 + compatible = "realtek,rt5575"; 47 + reg = <0x57>; 48 + }; 49 + }; 50 + 51 + # I2C + optional SPI node 52 + - | 53 + i2c { 54 + #address-cells = <1>; 55 + #size-cells = <0>; 56 + codec@57 { 57 + compatible = "realtek,rt5575"; 58 + reg = <0x57>; 59 + spi-parent = <&spi0 0>; /* chip-select 0 */ 60 + }; 61 + };