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/adi,s 4 $id: http://devicetree.org/schemas/sound/adi,ssm2518.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Analog Devices SSM2518 audio amplifier 7 title: Analog Devices SSM2518 audio amplifier 8 8 9 maintainers: 9 maintainers: 10 - Lars-Peter Clausen <lars@metafoo.de> 10 - Lars-Peter Clausen <lars@metafoo.de> 11 11 12 allOf: 12 allOf: 13 - $ref: dai-common.yaml# 13 - $ref: dai-common.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: adi,ssm2518 17 const: adi,ssm2518 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 description: | 21 description: | 22 I2C address of the device. This will ei 22 I2C address of the device. This will either be 0x34 (ADDR pin low) 23 or 0x35 (ADDR pin high) 23 or 0x35 (ADDR pin high) 24 24 25 gpios: 25 gpios: 26 maxItems: 1 26 maxItems: 1 27 description: | 27 description: | 28 GPIO connected to the nSD pin. If the p 28 GPIO connected to the nSD pin. If the property is not present 29 it is assumed that the nSD pin is hardw 29 it is assumed that the nSD pin is hardwired to always on. 30 30 31 required: 31 required: 32 - compatible 32 - compatible 33 - reg 33 - reg 34 34 35 unevaluatedProperties: false 35 unevaluatedProperties: false 36 36 37 examples: 37 examples: 38 - | 38 - | 39 i2c { 39 i2c { 40 #address-cells = <1>; 40 #address-cells = <1>; 41 #size-cells = <0>; 41 #size-cells = <0>; 42 codec@34 { 42 codec@34 { 43 compatible = "adi,ssm2518"; 43 compatible = "adi,ssm2518"; 44 reg = <0x34>; 44 reg = <0x34>; 45 gpios = <&gpio 5 0>; 45 gpios = <&gpio 5 0>; 46 }; 46 }; 47 }; 47 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.