61 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/adi,max98363.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Analog Devices MAX98363 SoundWire Amplifier8 9maintainers:10 - Ryan Lee <ryans.lee@analog.com>11 12description:13 The MAX98363 is a SoundWire input Class D mono amplifier that14 supports MIPI SoundWire v1.2-compatible digital interface for15 audio and control data.16 SoundWire peripheral device ID of MAX98363 is 0x3*019f83630017 where * is the peripheral device unique ID decoded from pin.18 It supports up to 10 peripheral devices(0x0 to 0x9).19 20allOf:21 - $ref: dai-common.yaml#22 23properties:24 compatible:25 const: sdw3019f83630026 27 reg:28 maxItems: 129 30 '#sound-dai-cells':31 const: 032 33required:34 - compatible35 - reg36 - "#sound-dai-cells"37 38unevaluatedProperties: false39 40examples:41 - |42 soundwire@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 };61