Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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,ssm2518.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices SSM2518 audio amplifier
8
9maintainers:
10 - Lars-Peter Clausen <lars@metafoo.de>
11
12allOf:
13 - $ref: dai-common.yaml#
14
15properties:
16 compatible:
17 const: adi,ssm2518
18
19 reg:
20 maxItems: 1
21 description: |
22 I2C address of the device. This will either be 0x34 (ADDR pin low)
23 or 0x35 (ADDR pin high)
24
25 gpios:
26 maxItems: 1
27 description: |
28 GPIO connected to the nSD pin. If the property is not present
29 it is assumed that the nSD pin is hardwired to always on.
30
31required:
32 - compatible
33 - reg
34
35unevaluatedProperties: false
36
37examples:
38 - |
39 #include <dt-bindings/gpio/gpio.h>
40
41 i2c {
42 #address-cells = <1>;
43 #size-cells = <0>;
44 codec@34 {
45 compatible = "adi,ssm2518";
46 reg = <0x34>;
47 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
48 };
49 };