Home
last modified time | relevance | path

Searched +full:dsq6056 +full:- +full:00 (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/
Drichtek,rtq6056.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RTQ6056 Bi-Directional Current and Power Monitor with 16-bit ADC
10 - ChiYuan Huang <cy_huang@richtek.com>
13 The RTQ6056 is a high accuracy current-sense monitor with I2C and SMBus
19 internal analog-to-digital converter ADC. The programmable calibration,
24 https://www.richtek.com/assets/product_file/RTQ6056/DSQ6056-00.pdf
33 "#io-channel-cells":
36 shunt-resistor-micro-ohms:
[all …]
/Linux-v6.1/drivers/iio/adc/
Drtq6056.c1 // SPDX-License-Identifier: GPL-2.0
158 struct device *dev = priv->dev; in rtq6056_adc_read_channel()
159 unsigned int addr = ch->address; in rtq6056_adc_read_channel()
164 ret = regmap_read(priv->regmap, addr, &regval); in rtq6056_adc_read_channel()
170 /* Power and VBUS is unsigned 16-bit, others are signed 16-bit */ in rtq6056_adc_read_channel()
182 switch (ch->address) { in rtq6056_adc_read_scale()
198 return -EINVAL; in rtq6056_adc_read_scale()
205 * https://www.richtek.com/assets/product_file/RTQ6056/DSQ6056-00.pdf
219 return -EINVAL; in rtq6056_adc_set_samp_freq()
221 if (ch->address == RTQ6056_REG_SHUNTVOLT) { in rtq6056_adc_set_samp_freq()
[all …]