| /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 25 - mediatek,mt6363-auxadc 26 - mediatek,mt6373-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 | 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 50 - description: The AUXADC clock 55 - const: auxadc 57 mediatek,auxadc: 59 description: A phandle to the AUXADC which the thermal controller uses 83 - mediatek,auxadc 99 clock-names = "therm", "auxadc"; 101 mediatek,auxadc = <&auxadc>;
|
| /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/drivers/iio/adc/ |
| H A D | mt6359-auxadc.c | 3 * MediaTek MT6359 PMIC AUXADC IIO driver 25 #include <dt-bindings/iio/adc/mediatek,mt6357-auxadc.h> 26 #include <dt-bindings/iio/adc/mediatek,mt6358-auxadc.h> 27 #include <dt-bindings/iio/adc/mediatek,mt6359-auxadc.h> 28 #include <dt-bindings/iio/adc/mediatek,mt6363-auxadc.h> 107 * @lock: Mutex to serialize AUXADC reading vs configuration 119 * struct mtk_pmic_auxadc_chan - PMIC AUXADC channel data 127 * @num_samples: Number of AUXADC samples for averaging 147 * @desc: PMIC AUXADC channel data 150 * @vref_mV: AUXADC Reference Voltage (VREF) in millivolts [all …]
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt7981b.dtsi | 208 clock-names = "therm", "auxadc"; 212 mediatek,auxadc = <&auxadc>; 216 auxadc: adc@1100d000 { label 217 compatible = "mediatek,mt7981-auxadc", 218 "mediatek,mt7986-auxadc";
|
| 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 | mt8186-corsola-starmie.dtsi | 38 io-channels = <&auxadc 0>; 72 io-channels = <&auxadc 1>;
|
| H A D | mt7622.dtsi | 386 auxadc: adc@11001000 { label 387 compatible = "mediatek,mt7622-auxadc"; 518 clock-names = "therm", "auxadc"; 520 mediatek,auxadc = <&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 | 676 auxadc: auxadc@11001000 { label 677 compatible = "mediatek,mt8173-auxadc"; 791 clock-names = "therm", "auxadc"; 793 mediatek,auxadc = <&auxadc>;
|
| H A D | mt8183.dtsi | 1074 auxadc: auxadc@11001000 { label 1075 compatible = "mediatek,mt8183-auxadc", 1076 "mediatek,mt8173-auxadc"; 1191 clock-names = "therm", "auxadc"; 1194 mediatek,auxadc = <&auxadc>;
|
| /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/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/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>;
|
| H A D | mt2701-evb.dts | 77 &auxadc {
|
| /linux/drivers/hwmon/ |
| H A D | wm831x-hwmon.c | 18 #include <linux/mfd/wm831x/auxadc.h>
|
| /linux/drivers/clk/mediatek/ |
| H A D | clk-mt6735-pericfg.c | 57 GATE_MTK(CLK_PERI_AUXADC, "auxadc", "axi_sel", &peri_cg_regs, 27, &mtk_clk_gate_ops_setclr),
|
| /linux/drivers/power/supply/ |
| H A D | wm831x_backup.c | 15 #include <linux/mfd/wm831x/auxadc.h>
|