Lines Matching full:auxadc

27 /* AUXADC Registers */
100 /* AUXADC channel 11 is used for the temperature sensors */
192 /* AUXADC channel 11 is used for the temperature sensors */
213 /* AUXADC channel 11 is used for the temperature sensors */
249 /* AUXADC channel is used for the temperature sensors */
267 /* AUXADC channel 11 is used for the temperature sensors */
611 * MT7622 have only one sensing point which uses AUXADC Channel 11 for raw data
672 * MT7986 uses AUXADC Channel 11 for raw data access.
836 * event that the AUXADC gets unstable due to high EMI, etc. in mtk_thermal_bank_temperature()
916 * uses AHB bus accesses to control the AUXADC. To do this the thermal in mtk_thermal_init_bank()
918 * AUXADC registers and with the various bit positions in the AUXADC. in mtk_thermal_init_bank()
929 /* AHB address for auxadc mux selection */ in mtk_thermal_init_bank()
939 /* AHB value for auxadc enable */ in mtk_thermal_init_bank()
942 /* AHB address for auxadc enable (channel 0 immediate mode selected) */ in mtk_thermal_init_bank()
946 /* AHB address for auxadc valid bit */ in mtk_thermal_init_bank()
950 /* AHB address for auxadc voltage output */ in mtk_thermal_init_bank()
964 /* enable auxadc mux write transaction */ in mtk_thermal_init_bank()
1197 struct device_node *auxadc, *apmixedsys, *np = pdev->dev.of_node; in mtk_thermal_probe() local
1221 auxadc = of_parse_phandle(np, "mediatek,auxadc", 0); in mtk_thermal_probe()
1222 if (!auxadc) { in mtk_thermal_probe()
1223 dev_err(&pdev->dev, "missing auxadc node\n"); in mtk_thermal_probe()
1227 auxadc_base = of_iomap(auxadc, 0); in mtk_thermal_probe()
1228 auxadc_phys_base = of_get_phys_base(auxadc); in mtk_thermal_probe()
1230 of_node_put(auxadc); in mtk_thermal_probe()
1233 dev_err(&pdev->dev, "Can't get auxadc phys address\n"); in mtk_thermal_probe()
1249 dev_err(&pdev->dev, "Can't get auxadc phys address\n"); in mtk_thermal_probe()
1257 mt->clk_auxadc = devm_clk_get_enabled(&pdev->dev, "auxadc"); in mtk_thermal_probe()
1260 dev_err(&pdev->dev, "Can't enable auxadc clk: %d\n", ret); in mtk_thermal_probe()