Searched +full:dsq6056 +full:- +full:00 (Results 1 – 2 of 2) sorted by relevance
1 # 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 ADC10 - ChiYuan Huang <cy_huang@richtek.com>13 The RTQ6056 is a high accuracy current-sense monitor with I2C and SMBus19 internal analog-to-digital converter ADC. The programmable calibration,24 https://www.richtek.com/assets/product_file/RTQ6056/DSQ6056-00.pdf33 "#io-channel-cells":36 shunt-resistor-micro-ohms:[all …]
1 // SPDX-License-Identifier: GPL-2.0158 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, ®val); 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.pdf219 return -EINVAL; in rtq6056_adc_set_samp_freq()221 if (ch->address == RTQ6056_REG_SHUNTVOLT) { in rtq6056_adc_set_samp_freq()[all …]