Merge tag 'block-5.14-2021-08-07' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / maxim,max98390.yaml
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
7 title: Maxim Integrated MAX98390 Speaker Amplifier with Integrated Dynamic Speaker Management
8
9 maintainers:
10   - Steve Lee <steves.lee@maximintegrated.com>
11
12 properties:
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     description: The calculated temperature data was measured while doing the calibration.
22     $ref: /schemas/types.yaml#/definitions/uint32
23     minimum: 0
24     maximum: 65535
25
26   maxim,r0_calib:
27     description: This is r0 calibration data which was measured in factory mode.
28     $ref: /schemas/types.yaml#/definitions/uint32
29     minimum: 1
30     maximum: 8388607
31
32 required:
33   - compatible
34   - reg
35
36 additionalProperties: false
37
38 examples:
39   - |
40     i2c {
41       #address-cells = <1>;
42       #size-cells = <0>;
43       max98390: amplifier@38 {
44         compatible = "maxim,max98390";
45         reg = <0x38>;
46         maxim,temperature_calib = <1024>;
47         maxim,r0_calib = <100232>;
48       };
49     };