1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/ti,lmp92064.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments LMP92064 Precision Current and Voltage Sensor.
13 The LMP92064 is a two channel ADC intended for combined voltage and current
16 The device contains two ADCs to allow simultaneous sampling of voltage and
17 current and thus of instantaneous power consumption.
28 description: Regulator that provides power to the main part of the chip
32 Regulator that provides power to the digital I/O part of the chip
34 shunt-resistor-micro-ohms:
36 Value of the shunt resistor (in µΩ) connected between INCP and INCN,
37 across which current is measured. Used to provide correct scaling of the
46 - shunt-resistor-micro-ohms
49 - $ref: /schemas/spi/spi-peripheral-props.yaml#
51 unevaluatedProperties: false
55 #include <dt-bindings/gpio/gpio.h>
61 compatible = "ti,lmp92064";
65 spi-max-frequency = <20000000>;
66 shunt-resistor-micro-ohms = <15000>;
67 reset-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;