Home
last modified time | relevance | path

Searched +full:hi6421 +full:- +full:spmi (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/staging/hikey9xx/
Dhisilicon,hisi-spmi-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/spmi/hisilicon,hisi-spmi-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: HiSilicon SPMI controller
10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
13 The HiSilicon SPMI BUS controller is found on some Kirin-based designs.
14 It is a MIPI System Power Management (SPMI) controller.
17 drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml.
21 pattern: "spmi@[0-9a-f]"
[all …]
Dhisilicon,hi6421-spmi-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/hisilicon,hi6421-spmi-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: HiSilicon 6421v600 SPMI PMIC
10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
14 (SPMI) bus. It provides interrupts and power supply.
16 The GPIO and interrupt settings are represented as part of the top-level PMIC
19 The SPMI controller part is provided by
20 drivers/staging/hikey9xx/hisilicon,hisi-spmi-controller.yaml.
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0
14 # to be placed at drivers/spmi
16 tristate "Hisilicon 3670 SPMI Controller"
19 depends on SPMI
22 built-in SPMI PMIC Arbiter interface on Hisilicon 3670
27 tristate "HiSilicon Hi6421v600 SPMI PMU/Codec IC"
29 depends on SPMI
32 Add support for HiSilicon Hi6421v600 SPMI PMIC. Hi6421 includes
33 multi-functions, such as regulators, RTC, codec, Coulomb counter,
39 We communicate with the Hi6421v600 via a SPMI bus.
Dhi6421-spmi-pmic.c1 // SPDX-License-Identifier: GPL-2.0
27 #include <linux/mfd/hi6421-spmi-pmic.h>
36 #include <linux/spmi.h>
38 /* 8-bit register offset in PMIC */
59 { .name = "hi6421v600-regulator", },
63 * The PMIC register is only 8-bit.
65 * At here, we are accessing SoC register with 32-bit.
73 pdev = to_spmi_device(pmic->dev); in hi6421_spmi_pmic_read()
76 return -ENODEV; in hi6421_spmi_pmic_read()
93 pdev = to_spmi_device(pmic->dev); in hi6421_spmi_pmic_write()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 obj-$(CONFIG_PHY_HI3670_USB) += phy-hi3670-usb3.o
5 obj-$(CONFIG_SPMI_HISI3670) += hisi-spmi-controller.o
6 obj-$(CONFIG_MFD_HI6421_SPMI) += hi6421-spmi-pmic.o
7 obj-$(CONFIG_REGULATOR_HI6421V600) += hi6421v600-regulator.o
Dhi6421v600-regulator.c1 // SPDX-License-Identifier: GPL-2.0
24 #include <linux/mfd/hi6421-spmi-pmic.h>
36 #include <linux/spmi.h>
41 pr_debug("%s: %s: " fmt, (rdev)->desc->name, __func__, ##arg)
59 struct hi6421_spmi_pmic *pmic = sreg->pmic; in hi6421_spmi_regulator_is_enabled()
62 reg_val = hi6421_spmi_pmic_read(pmic, rdev->desc->enable_reg); in hi6421_spmi_regulator_is_enabled()
66 rdev->desc->enable_reg, in hi6421_spmi_regulator_is_enabled()
67 reg_val, (reg_val & rdev->desc->enable_mask)); in hi6421_spmi_regulator_is_enabled()
69 return ((reg_val & rdev->desc->enable_mask) != 0); in hi6421_spmi_regulator_is_enabled()
75 struct hi6421_spmi_pmic *pmic = sreg->pmic; in hi6421_spmi_regulator_enable()
[all …]
/Linux-v5.10/drivers/regulator/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 managed regulators and simple non-configurable regulators.
65 They provide two I2C-controlled DC/DC step-down converters with
85 tristate "Active-semi act8865 voltage regulator"
90 This driver controls a active-semi act8865 voltage output
94 tristate "Active-semi ACT8945A voltage regulator"
97 This driver controls a active-semi ACT8945A voltage regulator
98 via I2C bus. The ACT8945A features three step-down DC/DC converters
99 and four low-dropout linear regulators, along with a ActivePath
110 tristate "Freescale i.MX on-chip ANATOP LDO regulators"
[all …]
/Linux-v5.10/drivers/mfd/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 tristate "Active-semi ACT8945A"
49 Support for the ACT8945A PMIC from Active-semi. This device
50 features three step-down DC/DC converters and four low-dropout
66 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
69 called sun4i-gpadc.
88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
119 over at91-usart-serial driver and usart-spi-driver. Only one function
135 tristate "Atmel HLCDC (High-end LCD Controller)"
172 tristate "X-Powers AC100"
[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_ACT8945A) += act8945a.o
11 obj-$(CONFIG_MFD_SM501) += sm501.o
12 obj-$(CONFIG_MFD_ASIC3) += asic3.o tmio_core.o
13 obj-$(CONFIG_ARCH_BCM2835) += bcm2835-pm.o
14 obj-$(CONFIG_MFD_BCM590XX) += bcm590xx.o
[all …]