/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/ |
D | mediatek,mt2701-auxadc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/mediatek,mt2701-auxadc.yaml# 7 title: Mediatek AUXADC - ADC on Mediatek mobile SoC (mt65xx/mt81xx/mt27xx) 14 The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found 17 used by thermal controller which reads the temperatures from the AUXADC 19 for the Thermal Controller which holds a phandle to the AUXADC. 25 - mediatek,mt2701-auxadc 26 - mediatek,mt2712-auxadc 27 - mediatek,mt6765-auxadc 28 - mediatek,mt7622-auxadc 29 - mediatek,mt8173-auxadc [all …]
|
/Linux-v6.1/drivers/mfd/ |
D | wm831x-auxadc.c | 3 * wm831x-auxadc.c -- AUXADC for Wolfson WM831x PMICs 20 #include <linux/mfd/wm831x/auxadc.h> 57 dev_err(wm831x->dev, "Failed to enable AUXADC: %d\n", in wm831x_auxadc_read_irq() 69 "Failed to set AUXADC source: %d\n", ret); in wm831x_auxadc_read_irq() 84 dev_err(wm831x->dev, "Failed to start AUXADC: %d\n", in wm831x_auxadc_read_irq() 116 "Failed to read AUXADC data: %d\n", ret); in wm831x_auxadc_irq() 162 dev_err(wm831x->dev, "Failed to enable AUXADC: %d\n", ret); in wm831x_auxadc_read_polled() 171 dev_err(wm831x->dev, "Failed to set AUXADC source: %d\n", ret); in wm831x_auxadc_read_polled() 178 dev_err(wm831x->dev, "Failed to start AUXADC: %d\n", ret); in wm831x_auxadc_read_polled() 204 "AUXADC conversion timeout\n"); in wm831x_auxadc_read_polled() [all …]
|
D | wm8350-core.c | 409 "auxadc", wm8350); in wm8350_device_init() 412 "Failed to request AUXADC IRQ: %d\n", ret); in wm8350_device_init()
|
D | Makefile | 66 wm831x-objs += wm831x-auxadc.o
|
/Linux-v6.1/Documentation/devicetree/bindings/thermal/ |
D | mediatek-thermal.txt | 5 instead it directly controls the AUXADC via AHB bus accesses. For this reason 6 this device needs phandles to the AUXADC. Also it controls a mux in the 23 "auxadc": The AUXADC clock 24 - mediatek,auxadc: A phandle to the AUXADC which the thermal controller uses 42 clock-names = "therm", "auxadc"; 45 mediatek,auxadc = <&auxadc>;
|
/Linux-v6.1/drivers/iio/adc/ |
D | mt6577_auxadc.c | 146 /* check MTK_AUXADC_CON2 if auxadc is idle */ in mt6577_auxadc_read() 153 "wait for auxadc idle time out\n"); in mt6577_auxadc_read() 226 pr_err("failed to enable auxadc clock\n"); in mt6577_auxadc_resume() 269 dev_err(&pdev->dev, "failed to get auxadc base address\n"); in mt6577_auxadc_probe() 275 dev_err(&pdev->dev, "failed to get auxadc clock\n"); in mt6577_auxadc_probe() 281 dev_err(&pdev->dev, "failed to enable auxadc clock\n"); in mt6577_auxadc_probe() 338 { .compatible = "mediatek,mt2701-auxadc", .data = &mt8173_compat }, 339 { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat }, 340 { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat }, 341 { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat }, [all …]
|
/Linux-v6.1/drivers/thermal/ |
D | mtk_thermal.c | 28 /* AUXADC Registers */ 100 /* AUXADC channel 11 is used for the temperature sensors */ 173 /* AUXADC channel 11 is used for the temperature sensors */ 194 /* AUXADC channel 11 is used for the temperature sensors */ 230 /* AUXADC channel is used for the temperature sensors */ 495 * MT7622 have only one sensing point which uses AUXADC Channel 11 for raw data 750 * uses AHB bus accesses to control the AUXADC. To do this the thermal in mtk_thermal_init_bank() 752 * AUXADC registers and with the various bit positions in the AUXADC. in mtk_thermal_init_bank() 763 /* AHB address for auxadc mux selection */ in mtk_thermal_init_bank() 773 /* AHB value for auxadc enable */ in mtk_thermal_init_bank() [all …]
|
/Linux-v6.1/include/linux/mfd/wm831x/ |
D | auxadc.h | 3 * include/linux/mfd/wm831x/auxadc.h -- Auxiliary ADC interface for WM831x 16 * R16429 (0x402D) - AuxADC Data 26 * R16430 (0x402E) - AuxADC Control 49 * R16431 (0x402F) - AuxADC Source
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | mt2701.dtsi | 246 auxadc: adc@11001000 { label 247 compatible = "mediatek,mt2701-auxadc"; 356 clock-names = "therm", "auxadc"; 359 mediatek,auxadc = <&auxadc>;
|
D | mt7623.dtsi | 367 auxadc: adc@11001000 { label 368 compatible = "mediatek,mt7623-auxadc", 369 "mediatek,mt2701-auxadc"; 502 clock-names = "therm", "auxadc"; 505 mediatek,auxadc = <&auxadc>;
|
D | mt2701-evb.dts | 76 &auxadc {
|
/Linux-v6.1/Documentation/hwmon/ |
D | wm8350.rst | 21 The WM835x series of PMICs include an AUXADC which can be used to
|
D | wm831x.rst | 20 The WM831x series of PMICs include an AUXADC which can be used to
|
/Linux-v6.1/arch/arm64/boot/dts/mediatek/ |
D | mt8183-pumpkin.dts | 64 io-channels = <&auxadc 0>; 68 &auxadc {
|
D | mt7622.dtsi | 383 auxadc: adc@11001000 { label 384 compatible = "mediatek,mt7622-auxadc"; 514 clock-names = "therm", "auxadc"; 517 mediatek,auxadc = <&auxadc>;
|
D | mt8516.dtsi | 518 auxadc: adc@11003000 { label 519 compatible = "mediatek,mt8516-auxadc", 520 "mediatek,mt8173-auxadc";
|
D | mt8183-evb.dts | 45 io-channels = <&auxadc 0>; 49 &auxadc {
|
D | mt8195-evb.dts | 27 &auxadc {
|
D | mt8183-kukui.dtsi | 158 io-channels = <&auxadc 0>; 192 io-channels = <&auxadc 1>; 229 &auxadc {
|
D | mt8173.dtsi | 660 auxadc: auxadc@11001000 { label 661 compatible = "mediatek,mt8173-auxadc"; 775 clock-names = "therm", "auxadc"; 777 mediatek,auxadc = <&auxadc>;
|
D | mt2712-evb.dts | 92 &auxadc {
|
D | mt8186.dtsi | 386 auxadc: adc@11001000 { label 387 compatible = "mediatek,mt8186-auxadc", "mediatek,mt8173-auxadc";
|
D | mt8183.dtsi | 993 auxadc: auxadc@11001000 { label 994 compatible = "mediatek,mt8183-auxadc", 995 "mediatek,mt8173-auxadc"; 1122 clock-names = "therm", "auxadc"; 1125 mediatek,auxadc = <&auxadc>;
|
/Linux-v6.1/drivers/hwmon/ |
D | wm831x-hwmon.c | 18 #include <linux/mfd/wm831x/auxadc.h>
|
/Linux-v6.1/drivers/power/supply/ |
D | wm831x_backup.c | 15 #include <linux/mfd/wm831x/auxadc.h>
|