Home
last modified time | relevance | path

Searched full:batt_v (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dx-powers,axp209-adc.yaml27 8 | batt_v
35 1 | batt_v
44 2 | batt_v
/openbmc/linux/drivers/iio/adc/
H A Daxp20x_adc.c126 .consumer_channel = "batt_v",
127 .adc_channel_label = "batt_v",
142 .consumer_channel = "batt_v",
143 .adc_channel_label = "batt_v",
158 * The only exception is for the battery. batt_v will be in_voltage6_raw and
184 AXP20X_ADC_CHANNEL(AXP20X_BATT_V, "batt_v", IIO_VOLTAGE,
203 AXP20X_ADC_CHANNEL(AXP22X_BATT_V, "batt_v", IIO_VOLTAGE,
224 AXP20X_ADC_CHANNEL(AXP813_BATT_V, "batt_v", IIO_VOLTAGE,
H A Daxp288_adc.c100 .datasheet_name = "BATT_V",
112 IIO_MAP("BATT_V", "axp288-batt", "axp288-batt-volt"),
/openbmc/linux/drivers/power/supply/
H A Daxp20x_battery.c74 struct iio_channel *batt_v; member
319 ret = iio_read_channel_processed(axp20x_batt->batt_v, in axp20x_battery_get_prop()
575 axp20x_batt->batt_v = devm_iio_channel_get(&pdev->dev, "batt_v"); in axp20x_power_probe()
576 if (IS_ERR(axp20x_batt->batt_v)) { in axp20x_power_probe()
577 if (PTR_ERR(axp20x_batt->batt_v) == -ENODEV) in axp20x_power_probe()
579 return PTR_ERR(axp20x_batt->batt_v); in axp20x_power_probe()