Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / sound / maxim,max98390.yaml
blobd35dd8408c61cdcc7d417de0b758f7a638a4b8f9
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/maxim,max98390.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim Integrated MAX98390 Speaker Amplifier with Integrated Dynamic Speaker Management
9 maintainers:
10   - Steve Lee <steves.lee@maximintegrated.com>
12 allOf:
13   - $ref: dai-common.yaml#
15 properties:
16   compatible:
17     const: maxim,max98390
19   reg:
20     maxItems: 1
21     description: I2C address of the device.
23   maxim,temperature_calib:
24     description: The calculated temperature data was measured while doing the calibration.
25     $ref: /schemas/types.yaml#/definitions/uint32
26     minimum: 0
27     maximum: 65535
29   maxim,r0_calib:
30     description: This is r0 calibration data which was measured in factory mode.
31     $ref: /schemas/types.yaml#/definitions/uint32
32     minimum: 1
33     maximum: 8388607
35   reset-gpios:
36     maxItems: 1
38   '#sound-dai-cells':
39     const: 0
41 required:
42   - compatible
43   - reg
45 unevaluatedProperties: false
47 examples:
48   - |
49     #include <dt-bindings/gpio/gpio.h>
50     i2c {
51       #address-cells = <1>;
52       #size-cells = <0>;
53       max98390: amplifier@38 {
54         compatible = "maxim,max98390";
55         reg = <0x38>;
56         maxim,temperature_calib = <1024>;
57         maxim,r0_calib = <100232>;
58         reset-gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
59       };
60     };