/linux/Documentation/devicetree/bindings/iio/adc/ |
H A 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,mt7986-auxadc [all …]
|
H A D | mediatek,mt6359-auxadc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/mediatek,mt6359-auxadc.yaml# 7 title: MediaTek MT6350 series PMIC AUXADC 13 The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found 22 - mediatek,mt6357-auxadc 23 - mediatek,mt6358-auxadc 24 - mediatek,mt6359-auxadc
|
/linux/drivers/mfd/ |
H A 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() 198 "AUXADC conversion timeout\n"); in wm831x_auxadc_read_polled() [all …]
|
H A D | mt6397-core.c | 138 .name = "mt6359-auxadc", 139 .of_compatible = "mediatek,mt6357-auxadc" 181 .name = "mt6359-auxadc", 182 .of_compatible = "mediatek,mt6358-auxadc" 204 .name = "mt6359-auxadc", 205 .of_compatible = "mediatek,mt6359-auxadc"
|
H A D | wm8350-core.c | 409 "auxadc", wm8350); in wm8350_device_init() 412 "Failed to request AUXADC IRQ: %d\n", ret); in wm8350_device_init()
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | mediatek,thermal.yaml | 13 This device does not have its own ADC, instead it directly controls the AUXADC 14 via AHB bus accesses. For this reason it needs phandles to the AUXADC. Also it 43 - description: The AUXADC clock 48 - const: auxadc 50 mediatek,auxadc: 52 description: A phandle to the AUXADC which the thermal controller uses 76 - mediatek,auxadc 92 clock-names = "therm", "auxadc"; 94 mediatek,auxadc = <&auxadc>;
|
/linux/drivers/iio/adc/ |
H A 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() 278 "failed to get auxadc base address\n"); in mt6577_auxadc_probe() 283 "failed to enable auxadc clock\n"); in mt6577_auxadc_probe() 315 { .compatible = "mediatek,mt2701-auxadc", .data = &mt8173_compat }, 316 { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat }, 317 { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat }, 318 { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat }, 319 { .compatible = "mediatek,mt8186-auxadc", .data = &mt8186_compat }, [all …]
|
H A D | mt6359-auxadc.c | 3 * MediaTek MT6359 PMIC AUXADC IIO driver 24 #include <dt-bindings/iio/adc/mediatek,mt6357-auxadc.h> 25 #include <dt-bindings/iio/adc/mediatek,mt6358-auxadc.h> 26 #include <dt-bindings/iio/adc/mediatek,mt6359-auxadc.h> 89 * @lock: Mutex to serialize AUXADC reading vs configuration 101 * struct mtk_pmic_auxadc_chan - PMIC AUXADC channel data 104 * @num_samples: Number of AUXADC samples for averaging 119 * @desc: PMIC AUXADC channel data 523 * AUXADC is stuck: perform a full reset to recover it. in mt6359_auxadc_read_raw() 588 { .compatible = "mediatek,mt6357-auxadc", .data = &mt6357_chip_info }, [all …]
|
/linux/drivers/thermal/mediatek/ |
H A D | auxadc_thermal.c | 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() [all …]
|
H A D | Kconfig | 13 tristate "AUXADC temperature sensor driver for MediaTek SoCs" 19 temperature via AUXADC interface.
|
/linux/include/linux/mfd/wm831x/ |
H A 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/arch/arm64/boot/dts/mediatek/ |
H A D | mt7986a.dtsi | 336 clock-names = "therm", "auxadc"; 340 mediatek,auxadc = <&auxadc>; 344 auxadc: adc@1100d000 { label 345 compatible = "mediatek,mt7986-auxadc";
|
H A D | mt8183-pumpkin.dts | 64 io-channels = <&auxadc 0>; 68 &auxadc {
|
H A D | mt8395-kontron-3-5-sbc-i1200.dts | 137 io-channels = <&auxadc 0>; 180 io-channels = <&auxadc 1>; 223 io-channels = <&auxadc 2>; 264 &auxadc {
|
H A D | mt7622.dtsi | 382 auxadc: adc@11001000 { label 383 compatible = "mediatek,mt7622-auxadc"; 514 clock-names = "therm", "auxadc"; 516 mediatek,auxadc = <&auxadc>;
|
H A D | mt8516.dtsi | 517 auxadc: adc@11003000 { label 518 compatible = "mediatek,mt8516-auxadc", 519 "mediatek,mt8173-auxadc";
|
H A D | mt8183-evb.dts | 46 io-channels = <&auxadc 0>; 50 &auxadc {
|
H A D | mt8195-evb.dts | 27 &auxadc {
|
H A D | mt8173.dtsi | 668 auxadc: auxadc@11001000 { label 669 compatible = "mediatek,mt8173-auxadc"; 783 clock-names = "therm", "auxadc"; 785 mediatek,auxadc = <&auxadc>;
|
H A D | mt8183-kukui.dtsi | 156 io-channels = <&auxadc 0>; 190 io-channels = <&auxadc 1>; 222 &auxadc {
|
/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt2701.dtsi | 245 auxadc: adc@11001000 { label 246 compatible = "mediatek,mt2701-auxadc"; 355 clock-names = "therm", "auxadc"; 358 mediatek,auxadc = <&auxadc>;
|
H A D | mt7623.dtsi | 366 auxadc: adc@11001000 { label 367 compatible = "mediatek,mt7623-auxadc", 368 "mediatek,mt2701-auxadc"; 501 clock-names = "therm", "auxadc"; 504 mediatek,auxadc = <&auxadc>;
|
/linux/Documentation/hwmon/ |
H A D | wm8350.rst | 21 The WM835x series of PMICs include an AUXADC which can be used to
|
H A D | wm831x.rst | 20 The WM831x series of PMICs include an AUXADC which can be used to
|
/linux/drivers/hwmon/ |
H A D | wm831x-hwmon.c | 18 #include <linux/mfd/wm831x/auxadc.h>
|