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#
6
7title: Maxim Integrated MAX98390 Speaker Amplifier with Integrated Dynamic Speaker Management
8
9maintainers:
10  - Steve Lee <steves.lee@maximintegrated.com>
11
12properties:
13  compatible:
14      const: maxim,max98390
15
16  reg:
17    maxItems: 1
18    description: I2C address of the device.
19
20  maxim,temperature_calib:
21    allOf:
22      - $ref: /schemas/types.yaml#/definitions/uint32
23    description: The calculated temperature data was measured while doing the calibration.
24    minimum: 0
25    maximum: 65535
26
27  maxim,r0_calib:
28    allOf:
29      - $ref: /schemas/types.yaml#/definitions/uint32
30    description: This is r0 calibration data which was measured in factory mode.
31    minimum: 1
32    maximum: 8388607
33
34required:
35  - compatible
36  - reg
37
38additionalProperties: false
39
40examples:
41  - |
42    i2c {
43      #address-cells = <1>;
44      #size-cells = <0>;
45      max98390: amplifier@38 {
46        compatible = "maxim,max98390";
47        reg = <0x38>;
48        maxim,temperature_calib = <1024>;
49        maxim,r0_calib = <100232>;
50      };
51    };
52