brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · deaa688 Raw
55 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 Management8 9maintainers:10  - Steve Lee <steves.lee@maximintegrated.com>11 12properties:13  compatible:14    const: maxim,max9839015 16  reg:17    maxItems: 118    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/uint3223    minimum: 024    maximum: 6553525 26  maxim,r0_calib:27    description: This is r0 calibration data which was measured in factory mode.28    $ref: /schemas/types.yaml#/definitions/uint3229    minimum: 130    maximum: 838860731 32  reset-gpios:33    maxItems: 134 35required:36  - compatible37  - reg38 39additionalProperties: false40 41examples:42  - |43    #include <dt-bindings/gpio/gpio.h>44    i2c {45      #address-cells = <1>;46      #size-cells = <0>;47      max98390: amplifier@38 {48        compatible = "maxim,max98390";49        reg = <0x38>;50        maxim,temperature_calib = <1024>;51        maxim,r0_calib = <100232>;52        reset-gpios = <&gpio 9 GPIO_ACTIVE_LOW>;53      };54    };55