Home
last modified time | relevance | path

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

/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
Dnokia,n900-battery.yaml43 io-channels = <&twl4030_madc 0>,
44 <&twl4030_madc 4>,
45 <&twl4030_madc 12>;
/Linux-v6.1/drivers/iio/adc/
Dtwl4030-madc.c232 static struct twl4030_madc_data *twl4030_madc; variable
608 if (!req || !twl4030_madc) in twl4030_madc_conversion()
611 mutex_lock(&twl4030_madc->lock); in twl4030_madc_conversion()
617 if (twl4030_madc->requests[req->method].active) { in twl4030_madc_conversion()
625 dev_err(twl4030_madc->dev, in twl4030_madc_conversion()
634 dev_err(twl4030_madc->dev, in twl4030_madc_conversion()
645 ret = twl4030_madc_start_conversion(twl4030_madc, req->method); in twl4030_madc_conversion()
648 twl4030_madc->requests[req->method].active = true; in twl4030_madc_conversion()
650 ret = twl4030_madc_wait_conversion_ready(twl4030_madc, 5, method->ctrl); in twl4030_madc_conversion()
652 twl4030_madc->requests[req->method].active = false; in twl4030_madc_conversion()
[all …]
DKconfig1261 config TWL4030_MADC config
/Linux-v6.1/drivers/power/supply/
Dtwl4030_madc_battery.c277 MODULE_DESCRIPTION("twl4030_madc battery driver");
DKconfig439 depends on TWL4030_MADC
458 depends on TWL4030_MADC