1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/sprd,sc2720-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Spreadtrum SC27XX series PMICs ADC binding
10 - Baolin Wang <baolin.wang7@gmail.com>
13 Supports the ADC found on these PMICs.
41 - const: big_scale_calib
42 - const: small_scale_calib
53 additionalProperties: false
57 #include <dt-bindings/interrupt-controller/irq.h>
62 compatible = "sprd,sc2731-adc";
64 interrupt-parent = <&sc2731_pmic>;
65 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
66 #io-channel-cells = <1>;
67 hwlocks = <&hwlock 4>;
68 nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
69 nvmem-cell-names = "big_scale_calib", "small_scale_calib";