Home
last modified time | relevance | path

Searched full:twl4030_madc (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/power/supply/
Dnokia,n900-battery.yaml43 io-channels = <&twl4030_madc 0>,
44 <&twl4030_madc 4>,
45 <&twl4030_madc 12>;
/linux-6.12.1/drivers/iio/adc/
Dtwl4030-madc.c234 static struct twl4030_madc_data *twl4030_madc; variable
610 if (!req || !twl4030_madc) in twl4030_madc_conversion()
613 mutex_lock(&twl4030_madc->lock); in twl4030_madc_conversion()
619 if (twl4030_madc->requests[req->method].active) { in twl4030_madc_conversion()
627 dev_err(twl4030_madc->dev, in twl4030_madc_conversion()
636 dev_err(twl4030_madc->dev, in twl4030_madc_conversion()
647 ret = twl4030_madc_start_conversion(twl4030_madc, req->method); in twl4030_madc_conversion()
650 twl4030_madc->requests[req->method].active = true; in twl4030_madc_conversion()
652 ret = twl4030_madc_wait_conversion_ready(twl4030_madc, 5, method->ctrl); in twl4030_madc_conversion()
654 twl4030_madc->requests[req->method].active = false; in twl4030_madc_conversion()
[all …]
DKconfig1570 config TWL4030_MADC config
/linux-6.12.1/drivers/power/supply/
Dtwl4030_madc_battery.c238 MODULE_DESCRIPTION("twl4030_madc battery driver");
DKconfig441 depends on TWL4030_MADC
460 depends on TWL4030_MADC