Home
last modified time | relevance | path

Searched +full:hi6421v600 +full:- +full:spmi (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/mfd/
H A Dhi6421-spmi-pmic.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (c) 2020-2021 Huawei Technologies Co., Ltd.
15 #include <linux/spmi.h>
18 { .name = "hi6421v600-irq", },
19 { .name = "hi6421v600-regulator", },
31 struct device *dev = &sdev->dev; in hi6421_spmi_pmic_probe()
39 dev_set_drvdata(&sdev->dev, regmap); in hi6421_spmi_pmic_probe()
41 ret = devm_mfd_add_devices(&sdev->dev, PLATFORM_DEVID_NONE, in hi6421_spmi_pmic_probe()
51 { .compatible = "hisilicon,hi6421-spmi" },
58 .name = "hi6421-spmi-pmic",
[all …]
H A 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
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
144 over at91-usart-serial driver and usart-spi-driver. Only one function
160 tristate "Atmel HLCDC (High-end LCD Controller)"
197 tristate "X-Powers AC100"
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A 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 Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml
[all …]
/linux/drivers/regulator/
H A Dhi6421v600-regulator.c1 // SPDX-License-Identifier: GPL-2.0
7 // Copyright (c) 2020-2021 Huawei Technologies Co., Ltd.
17 #include <linux/spmi.h>
63 * HI6421V600_LDO() - specify a LDO power line
87 .vsel_mask = ARRAY_SIZE(vtable) - 1, \
105 mutex_lock(&priv->enable_mutex); in hi6421_spmi_regulator_enable()
107 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in hi6421_spmi_regulator_enable()
108 rdev->desc->enable_mask, in hi6421_spmi_regulator_enable()
109 rdev->desc->enable_mask); in hi6421_spmi_regulator_enable()
112 usleep_range(rdev->desc->off_on_delay, rdev->desc->off_on_delay + 60); in hi6421_spmi_regulator_enable()
[all …]
H A 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 …]
/linux/arch/arm64/boot/dts/hisilicon/
H A Dhikey970-pmic.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * dts file for Hi6421v600 SPMI PMIC used at the HiKey970 Development Board
8 #include <dt-bindings/spmi/spmi.h>
11 spmi: spmi@fff24000 { label
12 compatible = "hisilicon,kirin970-spmi-controller";
14 #address-cells = <2>;
15 #size-cells = <0>;
16 hisilicon,spmi-channel = <2>;
19 compatible = "hisilicon,hi6421-spmi";
22 #interrupt-cells = <2>;
[all …]
/linux/drivers/misc/
H A Dhi6421v600-irq.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (c) 2020-2021 Huawei Technologies Co., Ltd.
62 * See drivers/irq/hi6421-irq.c.
95 #define HISI_IRQ_MASK_BIT(irq_data) BIT(irqd_to_hwirq(irq_data) & (BITS_PER_BYTE - 1))
106 regmap_read(priv->regmap, SOC_PMIC_IRQ0_ADDR + i, &in); in hi6421v600_irq_handler()
109 regmap_write(priv->regmap, SOC_PMIC_IRQ0_ADDR + i, in); in hi6421v600_irq_handler()
119 generic_handle_irq_safe(priv->irqs[POWERKEY_DOWN]); in hi6421v600_irq_handler()
120 generic_handle_irq_safe(priv->irqs[POWERKEY_UP]); in hi6421v600_irq_handler()
128 generic_handle_irq_safe(priv->irqs[offset + i * BITS_PER_BYTE]); in hi6421v600_irq_handler()
144 spin_lock_irqsave(&priv->lock, flags); in hi6421v600_irq_mask()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
27 See Documentation/misc-devices/ad525x_dpot.rst for the
40 module will be called ad525x_dpot-i2c.
51 module will be called ad525x_dpot-spi.
65 This option enables device driver support for in-band access to the
78 website <https://www-03.ibm.com/systems/info/x86servers/serverproven/compat/us/>
112 UFS. Provides interface for in-kernel security controllers to access
199 called smpro-errmon.
209 called smpro-misc.
212 tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support"
[all …]