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