Home
last modified time | relevance | path

Searched +full:mt6360 +full:- +full:adc (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-iio-adc-mt63605 Indicated MT6360 USBID ADC which connected to connector ID pin.
12 Indicated MT6360 VBUS ADC with lower accuracy(+-75mA)
20 Indicated MT6360 VBUS ADC with higher accuracy(+-30mA)
28 Indicated MT6360 VSYS ADC
35 Indicated MT6360 VBAT ADC
42 Indicated MT6360 IBUS ADC
49 Indicated MT6360 IBAT ADC
56 Indicated MT6360 CHG_VDDP ADC
63 Indicated MT6360 IC junction temperature
70 Indicated MT6360 VREF_TS ADC
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dmediatek,mt6360-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/mediatek,mt6360-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek MT6360 and similar ADCs
10 - Gene Chen <gene_chen@richtek.com>
14 const: mediatek,mt6360-adc
16 "#io-channel-cells":
20 - compatible
21 - "#io-channel-cells"
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/usb/
Dmediatek,mt6360-tcpc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek MT6360 Type-C Port Switch and Power Delivery controller
10 - ChiYuan Huang <cy_huang@richtek.com>
13 Mediatek MT6360 is a multi-functional device. It integrates charger, ADC, flash, RGB indicators,
15 This document only describes MT6360 Type-C Port Switch and Power Delivery controller.
20 - mediatek,mt6360-tcpc
25 interrupt-names:
[all …]
/linux-6.12.1/drivers/iio/adc/
Dmt6360-adc.c1 // SPDX-License-Identifier: GPL-2.0
61 /* Due to only one set of ADC control, this lock is used to prevent the race condition */
74 mutex_lock(&mad->adc_lock); in mt6360_adc_read_channel()
76 /* Select the preferred ADC channel */ in mt6360_adc_read_channel()
77 ret = regmap_update_bits(mad->regmap, MT6360_REG_PMUADCRPT1, MT6360_PREFERCH_MASK, in mt6360_adc_read_channel()
83 ret = regmap_raw_write(mad->regmap, MT6360_REG_PMUADCCFG, &adc_enable, sizeof(adc_enable)); in mt6360_adc_read_channel()
87 predict_end_t = ktime_add_ms(mad->last_off_timestamps[channel], 2 * ADC_WAIT_TIME_MS); in mt6360_adc_read_channel()
95 ret = -ERESTARTSYS; in mt6360_adc_read_channel()
101 ret = regmap_raw_read(mad->regmap, MT6360_REG_PMUADCRPT1, rpt, sizeof(rpt)); in mt6360_adc_read_channel()
106 * There are two functions, ZCV and TypeC OTP, running ADC VBAT and TS in in mt6360_adc_read_channel()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for IIO ADC drivers
7 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
8 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
9 obj-$(CONFIG_AD4000) += ad4000.o
10 obj-$(CONFIG_AD4130) += ad4130.o
11 obj-$(CONFIG_AD4695) += ad4695.o
12 obj-$(CONFIG_AD7091R) += ad7091r-base.o
13 obj-$(CONFIG_AD7091R5) += ad7091r5.o
14 obj-$(CONFIG_AD7091R8) += ad7091r8.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # ADC drivers
10 bool "ST-Ericsson AB8500 GPADC driver"
25 tristate "Analog Devices AD4000 ADC Driver"
31 SPI analog to digital converters (ADC).
37 tristate "Analog Device AD4130 ADC Driver"
45 Say yes here to build support for Analog Devices AD4130-8 SPI analog
46 to digital converters (ADC).
52 tristate "Analog Device AD4695 ADC Driver"
59 analog to digital converters (ADC).
[all …]
/linux-6.12.1/drivers/mfd/
Dmt6360-core.c1 // SPDX-License-Identifier: GPL-2.0
79 /* reg 0 -> 0 ~ 7 */
84 /* REG 1 -> 8 ~ 15 */
91 /* REG 2 -> 16 ~ 23 */
92 /* REG 3 -> 24 ~ 31 */
99 /* REG 4 -> 32 ~ 39 */
107 /* REG 5 -> 40 ~ 47 */
116 /* REG 6 -> 48 ~ 55 */
124 /* REG 7 -> 56 ~ 63 */
133 /* REG 8 -> 64 ~ 71 */
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
57 tristate "Active-semi ACT8945A"
62 Support for the ACT8945A PMIC from Active-semi. This device
63 features three step-down DC/DC converters and four low-dropout
75 Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC.
78 the ADC or the thermal sensor. This will try to probe the ADC driver
79 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
82 called sun4i-gpadc.
113 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
115 over current monitoring, GPIOs, ADC and a watchdog.
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 88pm860x-objs := 88pm860x-core.o 88pm860x-i2c.o
7 obj-$(CONFIG_MFD_88PM860X) += 88pm860x.o
8 obj-$(CONFIG_MFD_88PM800) += 88pm800.o 88pm80x.o
9 obj-$(CONFIG_MFD_88PM805) += 88pm805.o 88pm80x.o
10 obj-$(CONFIG_MFD_88PM886_PMIC) += 88pm886.o
11 obj-$(CONFIG_MFD_ACT8945A) += act8945a.o
12 obj-$(CONFIG_MFD_SM501) += sm501.o
13 obj-$(CONFIG_ARCH_BCM2835) += bcm2835-pm.o
14 obj-$(CONFIG_MFD_BCM590XX) += bcm590xx.o
[all …]
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt8395-kontron-3-5-sbc-i1200.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
16 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
17 #include <dt-bindings/spmi/spmi.h>
20 model = "Kontron 3.5\"-SBC-i1200";
21 compatible = "kontron,3-5-sbc-i1200", "mediatek,mt8395", "mediatek,mt8195";
[all …]
Dmt8195-cherry.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
25 backlight_lcd0: backlight-lcd0 {
26 compatible = "pwm-backlight";
27 brightness-levels = <0 1023>;
28 default-brightness-level = <576>;
29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>;
30 num-interpolated-steps = <1023>;
32 power-supply = <&ppvar_sys>;
[all …]
/linux-6.12.1/drivers/power/supply/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
43 which uses IIO framework to read adc.
104 tristate "Active-semi ACT8945A charger driver"
108 Active-semi ActivePath ACT8945A charger.
158 tristate "DS2782/DS2786 standalone gas-gauge"
162 gas-gauge.
208 tristate "Sharp SL-5500 (collie) battery"
212 SL-5500 (collie) models.
223 called ingenic-battery.
242 Say Y to include support for SBS battery driver for SBS-compliant
[all …]
/linux-6.12.1/drivers/regulator/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 managed regulators and simple non-configurable regulators.
64 the netlink mechanism. User-space applications can subscribe to these events
65 for real-time updates on various regulator events.
75 They provide two I2C-controlled DC/DC step-down converters with
101 tristate "Active-semi act8865 voltage regulator"
106 This driver controls a active-semi act8865 voltage output
110 tristate "Active-semi ACT8945A voltage regulator"
113 This driver controls a active-semi ACT8945A voltage regulator
114 via I2C bus. The ACT8945A features three step-down DC/DC converters
[all …]