Home
last modified time | relevance | path

Searched +full:hi6421 +full:- +full:vsel (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/staging/hikey9xx/
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#
10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
16 The GPIO and interrupt settings are represented as part of the top-level PMIC
20 drivers/staging/hikey9xx/hisilicon,hisi-spmi-controller.yaml.
24 pattern: "pmic@[0-9a-f]"
27 const: hisilicon,hi6421v600-spmi
32 '#interrupt-cells':
[all …]
Dhi6421v600-regulator.c1 // SPDX-License-Identifier: GPL-2.0
24 #include <linux/mfd/hi6421-spmi-pmic.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()
85 rdev->desc->off_on_delay, rdev->desc->enable_reg, in hi6421_spmi_regulator_enable()
[all …]