Home
last modified time | relevance | path

Searched +full:mt6315 +full:- +full:regulator (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/regulator/
Dmt6315-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/mt6315-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek MT6315 Regulator
10 - Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
13 The MT6315 is a power management IC (PMIC) configurable with SPMI.
20 - items:
21 - const: mediatek,mt6319-regulator
22 - const: mediatek,mt6315-regulator
[all …]
/linux-6.12.1/drivers/regulator/
Dmt6315-regulator.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/regulator/driver.h>
9 #include <linux/regulator/machine.h>
10 #include <linux/regulator/mt6315-regulator.h>
11 #include <linux/regulator/of_regulator.h>
83 info = container_of(rdev->desc, struct mt6315_regulator_info, desc); in mt6315_regulator_get_mode()
84 modeset_mask = init->modeset_mask[rdev_get_id(rdev)]; in mt6315_regulator_get_mode()
85 ret = regmap_read(rdev->regmap, MT6315_BUCK_TOP_4PHASE_ANA_CON42, &regval); in mt6315_regulator_get_mode()
87 dev_err(&rdev->dev, "Failed to get mode: %d\n", ret); in mt6315_regulator_get_mode()
94 ret = regmap_read(rdev->regmap, MT6315_BUCK_TOP_CON1, &regval); in mt6315_regulator_get_mode()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for regulator drivers.
7 obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o devres.o irq_helpers.o
8 obj-$(CONFIG_REGULATOR_NETLINK_EVENTS) += event.o
9 obj-$(CONFIG_OF) += of_regulator.o
10 obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o
11 obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER) += virtual.o
12 obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o
14 obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o
15 obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig REGULATOR config
3 bool "Voltage and Current Regulator Support"
6 Generic Voltage and Current Regulator support.
14 The intention is to allow systems to dynamically control regulator
26 if REGULATOR
29 bool "Regulator debug support"
34 tristate "Fixed voltage regulator support"
38 managed regulators and simple non-configurable regulators.
41 tristate "Virtual regulator consumer support"
[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 …]
Dmt8186-corsola-voltorb.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
9 #include "mt8186-corsola-steelix.dtsi"
12 chassis-type = "laptop";
16 sdmode-gpios = <&pio 150 GPIO_ACTIVE_HIGH>;
17 #sound-dai-cells = <0>;
22 proc-supply = <&mt6319_buck1>;
26 proc-supply = <&mt6319_buck1>;
54 opp-hz = /bits/ 64 <2050000000>;
[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 …]
Dmt8395-radxa-nio-12l.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
13 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
14 #include <dt-bindings/spmi/spmi.h>
15 #include <dt-bindings/usb/pd.h>
19 chassis-type = "embedded";
20 compatible = "radxa,nio-12l", "mediatek,mt8395", "mediatek,mt8195";
36 stdout-path = "serial0:921600n8";
[all …]
Dmt8395-genio-1200-evk.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
15 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
16 #include <dt-bindings/spmi/spmi.h>
17 #include <dt-bindings/usb/pd.h>
20 model = "MediaTek Genio 1200 EVK-P1V2-EMMC";
[all …]
Dmt8192-asurada.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/spmi/spmi.h>
25 stdout-path = "serial0:115200n8";
33 backlight_lcd0: backlight-lcd0 {
34 compatible = "pwm-backlight";
36 power-supply = <&ppvar_sys>;
37 enable-gpios = <&pio 152 0>;
38 brightness-levels = <0 1023>;
[all …]