Home
last modified time | relevance | path

Searched full:auxadc (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/
Dmediatek,mt2701-auxadc.yaml4 $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/
Dwm831x-auxadc.c3 * 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 …]
Dwm8350-core.c409 "auxadc", wm8350); in wm8350_device_init()
412 "Failed to request AUXADC IRQ: %d\n", ret); in wm8350_device_init()
DMakefile66 wm831x-objs += wm831x-auxadc.o
/Linux-v6.1/Documentation/devicetree/bindings/thermal/
Dmediatek-thermal.txt5 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/
Dmt6577_auxadc.c146 /* 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/
Dmtk_thermal.c28 /* 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/
Dauxadc.h3 * 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/
Dmt2701.dtsi246 auxadc: adc@11001000 { label
247 compatible = "mediatek,mt2701-auxadc";
356 clock-names = "therm", "auxadc";
359 mediatek,auxadc = <&auxadc>;
Dmt7623.dtsi367 auxadc: adc@11001000 { label
368 compatible = "mediatek,mt7623-auxadc",
369 "mediatek,mt2701-auxadc";
502 clock-names = "therm", "auxadc";
505 mediatek,auxadc = <&auxadc>;
Dmt2701-evb.dts76 &auxadc {
/Linux-v6.1/Documentation/hwmon/
Dwm8350.rst21 The WM835x series of PMICs include an AUXADC which can be used to
Dwm831x.rst20 The WM831x series of PMICs include an AUXADC which can be used to
/Linux-v6.1/arch/arm64/boot/dts/mediatek/
Dmt8183-pumpkin.dts64 io-channels = <&auxadc 0>;
68 &auxadc {
Dmt7622.dtsi383 auxadc: adc@11001000 { label
384 compatible = "mediatek,mt7622-auxadc";
514 clock-names = "therm", "auxadc";
517 mediatek,auxadc = <&auxadc>;
Dmt8516.dtsi518 auxadc: adc@11003000 { label
519 compatible = "mediatek,mt8516-auxadc",
520 "mediatek,mt8173-auxadc";
Dmt8183-evb.dts45 io-channels = <&auxadc 0>;
49 &auxadc {
Dmt8195-evb.dts27 &auxadc {
Dmt8183-kukui.dtsi158 io-channels = <&auxadc 0>;
192 io-channels = <&auxadc 1>;
229 &auxadc {
Dmt8173.dtsi660 auxadc: auxadc@11001000 { label
661 compatible = "mediatek,mt8173-auxadc";
775 clock-names = "therm", "auxadc";
777 mediatek,auxadc = <&auxadc>;
Dmt2712-evb.dts92 &auxadc {
Dmt8186.dtsi386 auxadc: adc@11001000 { label
387 compatible = "mediatek,mt8186-auxadc", "mediatek,mt8173-auxadc";
Dmt8183.dtsi993 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/
Dwm831x-hwmon.c18 #include <linux/mfd/wm831x/auxadc.h>
/Linux-v6.1/drivers/power/supply/
Dwm831x_backup.c15 #include <linux/mfd/wm831x/auxadc.h>

12