brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · f39bc92 Raw
52 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/adc/qcom,spmi-rradc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm's SPMI PMIC Round Robin ADC8 9maintainers:10  - Caleb Connolly <caleb.connolly@linaro.org>11 12description: |13  The Qualcomm SPMI Round Robin ADC (RRADC) provides interface to clients to14  read the voltage, current and temperature for supported peripherals such as15  the battery thermistor die temperature, charger temperature, USB and DC input16  voltage / current and battery ID resistor.17 18properties:19  compatible:20    enum:21      - qcom,pmi8998-rradc22      - qcom,pm660-rradc23 24  reg:25    maxItems: 126 27  qcom,batt-id-delay-ms:28    description: Sets the hardware settling time for the battery ID resistor.29    enum: [0, 1, 4, 12, 20, 40, 60, 80]30 31  "#io-channel-cells":32    const: 133 34required:35  - compatible36  - reg37 38additionalProperties: false39 40examples:41  - |42    pmic {43        #address-cells = <1>;44        #size-cells = <0>;45 46        adc@4500 {47            compatible = "qcom,pmi8998-rradc";48            reg = <0x4500>;49            #io-channel-cells = <1>;50        };51    };52