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: max98363: add soundwire amplifier

Add dt-bindings information for Analog Devices MAX98363 SoundWire Amplifier

Signed-off-by: Ryan Lee <ryans.lee@analog.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230330234319.6841-2-ryan.lee.analog@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Ryan Lee and committed by
Mark Brown
276d8c08 18c0af94

+60
+60
Documentation/devicetree/bindings/sound/adi,max98363.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/adi,max98363.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Analog Devices MAX98363 SoundWire Amplifier 8 + 9 + maintainers: 10 + - Ryan Lee <ryans.lee@analog.com> 11 + 12 + description: 13 + The MAX98363 is a SoundWire input Class D mono amplifier that 14 + supports MIPI SoundWire v1.2-compatible digital interface for 15 + audio and control data. 16 + SoundWire peripheral device ID of MAX98363 is 0x3*019f836300 17 + where * is the peripheral device unique ID decoded from pin. 18 + It supports up to 10 peripheral devices(0x0 to 0x9). 19 + 20 + allOf: 21 + - $ref: dai-common.yaml# 22 + 23 + properties: 24 + compatible: 25 + const: sdw3019f836300 26 + 27 + reg: 28 + maxItems: 1 29 + 30 + '#sound-dai-cells': 31 + const: 0 32 + 33 + required: 34 + - compatible 35 + - reg 36 + - "#sound-dai-cells" 37 + 38 + unevaluatedProperties: false 39 + 40 + examples: 41 + - | 42 + soundwire-controller@3250000 { 43 + #address-cells = <2>; 44 + #size-cells = <0>; 45 + reg = <0x3250000 0x2000>; 46 + 47 + speaker@0,0 { 48 + compatible = "sdw3019f836300"; 49 + reg = <0 0>; 50 + #sound-dai-cells = <0>; 51 + sound-name-prefix = "Speaker Left"; 52 + }; 53 + 54 + speaker@0,1 { 55 + compatible = "sdw3019f836300"; 56 + reg = <0 1>; 57 + #sound-dai-cells = <0>; 58 + sound-name-prefix = "Speaker Right"; 59 + }; 60 + };