Home
last modified time | relevance | path

Searched +full:pmic +full:- +full:specific (Results 1 – 25 of 193) sorted by relevance

12345678

/kernel/linux/linux-5.10/arch/x86/include/asm/
Diosf_mbi.h1 /* SPDX-License-Identifier: GPL-2.0 */
63 * iosf_mbi_read() - MailBox Interface read command
65 * @opcode: port specific read or write opcode
69 * Locking is handled by spinlock - cannot sleep.
75 * iosf_mbi_write() - MailBox unmasked write command
77 * @opcode: port specific read or write opcode
81 * Locking is handled by spinlock - cannot sleep.
87 * iosf_mbi_modify() - MailBox masked write command
89 * @opcode: port specific read or write opcode
94 * Locking is handled by spinlock - cannot sleep.
[all …]
/kernel/linux/linux-4.19/arch/x86/include/asm/
Diosf_mbi.h1 /* SPDX-License-Identifier: GPL-2.0 */
62 * iosf_mbi_read() - MailBox Interface read command
64 * @opcode: port specific read or write opcode
68 * Locking is handled by spinlock - cannot sleep.
74 * iosf_mbi_write() - MailBox unmasked write command
76 * @opcode: port specific read or write opcode
80 * Locking is handled by spinlock - cannot sleep.
86 * iosf_mbi_modify() - MailBox masked write command
88 * @opcode: port specific read or write opcode
93 * Locking is handled by spinlock - cannot sleep.
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dda9055-i2c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 da9055 = devm_kzalloc(&i2c->dev, sizeof(struct da9055), GFP_KERNEL); in da9055_i2c_probe()
26 return -ENOMEM; in da9055_i2c_probe()
28 da9055->regmap = devm_regmap_init_i2c(i2c, &da9055_regmap_config); in da9055_i2c_probe()
29 if (IS_ERR(da9055->regmap)) { in da9055_i2c_probe()
30 ret = PTR_ERR(da9055->regmap); in da9055_i2c_probe()
31 dev_err(&i2c->dev, "Failed to allocate register map: %d\n", in da9055_i2c_probe()
36 da9055->dev = &i2c->dev; in da9055_i2c_probe()
37 da9055->chip_irq = i2c->irq; in da9055_i2c_probe()
54 * DO NOT change the device Ids. The naming is intentionally specific as both
[all …]
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.
78 Support for the AS3711 PMIC from AMS
88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
93 bool "Analog Devices ADP5520/01 MFD PMIC Core Support"
119 over at91-usart-serial driver and usart-spi-driver. Only one function
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dvoltage.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 #include <linux/platform_data/voltage-omap.h>
25 * passed from board or PMIC file
32 * struct omap_vfsm_instance - per-voltage manager FSM register/bitfield
47 * struct voltagedomain - omap voltage domain global structure.
55 * @read: read-modify-write a VC/VP register
69 struct omap_voltdm_pmic *pmic; member
73 /* VC/VP register access functions: SoC specific */
109 * struct omap_voltdm_pmic - PMIC specific data required by voltage driver.
110 * @slew_rate: PMIC slew rate (in uv/us)
[all …]
Dvoltage.c1 // SPDX-License-Identifier: GPL-2.0-only
29 #include "prm-regbits-34xx.h"
30 #include "prm-regbits-44xx.h"
46 * voltdm_get_voltage() - Gets the current non-auto-compensated voltage
49 * API to get the current non-auto-compensated voltage for a voltage domain.
59 return voltdm->nominal_volt; in voltdm_get_voltage()
63 * voltdm_scale() - API to scale voltage of a particular voltage domain.
78 return -EINVAL; in voltdm_scale()
81 if (!voltdm->scale) { in voltdm_scale()
83 __func__, voltdm->name); in voltdm_scale()
[all …]
Dvc.c22 #include "prm-regbits-34xx.h"
23 #include "prm-regbits-44xx.h"
55 * struct omap_vc_channel_cfg - describe the cfg_channel bitfield
104 * omap_vc_config_channel - configure VC channel to PMIC mappings
107 * Configures the VC channel to PMIC mappings for the following
108 * PMIC settings
109 * - i2c slave address (SA)
110 * - voltage configuration address (RAV)
111 * - command configuration address (RAC) and enable bit (RACEN)
112 * - command values for ON, ONLP, RET and OFF (CMD)
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-omap2/
Dvoltage.h19 #include <linux/platform_data/voltage-omap.h>
28 * passed from board or PMIC file
35 * struct omap_vfsm_instance - per-voltage manager FSM register/bitfield
50 * struct voltagedomain - omap voltage domain global structure.
58 * @read: read-modify-write a VC/VP register
72 struct omap_voltdm_pmic *pmic; member
76 /* VC/VP register access functions: SoC specific */
112 * struct omap_voltdm_pmic - PMIC specific data required by voltage driver.
113 * @slew_rate: PMIC slew rate (in uv/us)
114 * @step_size: PMIC voltage step size (in uv)
[all …]
Dvoltage.c32 #include "prm-regbits-34xx.h"
33 #include "prm-regbits-44xx.h"
49 * voltdm_get_voltage() - Gets the current non-auto-compensated voltage
52 * API to get the current non-auto-compensated voltage for a voltage domain.
62 return voltdm->nominal_volt; in voltdm_get_voltage()
66 * voltdm_scale() - API to scale voltage of a particular voltage domain.
81 return -EINVAL; in voltdm_scale()
84 if (!voltdm->scale) { in voltdm_scale()
86 __func__, voltdm->name); in voltdm_scale()
87 return -ENODATA; in voltdm_scale()
[all …]
Dvc.c22 #include "prm-regbits-34xx.h"
23 #include "prm-regbits-44xx.h"
30 * struct omap_vc_channel_cfg - describe the cfg_channel bitfield
79 * omap_vc_config_channel - configure VC channel to PMIC mappings
82 * Configures the VC channel to PMIC mappings for the following
83 * PMIC settings
84 * - i2c slave address (SA)
85 * - voltage configuration address (RAV)
86 * - command configuration address (RAC) and enable bit (RACEN)
87 * - command values for ON, ONLP, RET and OFF (CMD)
[all …]
/kernel/linux/linux-4.19/drivers/mfd/
Dda9055-i2c.c29 da9055 = devm_kzalloc(&i2c->dev, sizeof(struct da9055), GFP_KERNEL); in da9055_i2c_probe()
31 return -ENOMEM; in da9055_i2c_probe()
33 da9055->regmap = devm_regmap_init_i2c(i2c, &da9055_regmap_config); in da9055_i2c_probe()
34 if (IS_ERR(da9055->regmap)) { in da9055_i2c_probe()
35 ret = PTR_ERR(da9055->regmap); in da9055_i2c_probe()
36 dev_err(&i2c->dev, "Failed to allocate register map: %d\n", in da9055_i2c_probe()
41 da9055->dev = &i2c->dev; in da9055_i2c_probe()
42 da9055->chip_irq = i2c->irq; in da9055_i2c_probe()
59 * DO NOT change the device Ids. The naming is intentionally specific as both
60 * the PMIC and CODEC parts of this chip are instantiated separately as I2C
[all …]
DKconfig17 ---help---
33 tristate "Active-semi ACT8945A"
38 Support for the ACT8945A PMIC from Active-semi. This device
39 features three step-down DC/DC converters and four low-dropout
55 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
58 called sun4i-gpadc.
67 Support for the AS3711 PMIC from AMS
77 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
82 bool "Analog Devices ADP5520/01 MFD PMIC Core Support"
114 tristate "Atmel HLCDC (High-end LCD Controller)"
[all …]
/kernel/linux/linux-5.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#
10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
13 The HiSilicon SPMI BUS controller is found on some Kirin-based designs.
16 The PMIC part is provided by
17 drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml.
21 pattern: "spmi@[0-9a-f]"
24 const: hisilicon,kirin970-spmi-controller
[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)
45 struct hi6421_spmi_pmic *pmic; member
59 struct hi6421_spmi_pmic *pmic = sreg->pmic; in hi6421_spmi_regulator_is_enabled() local
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() local
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dhi6421.txt1 * HI6421 Multi-Functional Device (MFD), by HiSilicon Ltd.
4 - compatible : One of the following chip-specific strings:
5 "hisilicon,hi6421-pmic";
6 "hisilicon,hi6421v530-pmic";
7 - reg : register range space of hi6421;
9 Supported Hi6421 sub-devices include:
12 ------ --------- ------------ -----------
20 compatible = "hisilicon,hi6421-pmic";
26 regulator-name = "VOUT0";
27 regulator-min-microvolt = <2850000>;
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/
Dhi6421.txt1 * HI6421 Multi-Functional Device (MFD), by HiSilicon Ltd.
4 - compatible : One of the following chip-specific strings:
5 "hisilicon,hi6421-pmic";
6 "hisilicon,hi6421v530-pmic";
7 - reg : register range space of hi6421;
9 Supported Hi6421 sub-devices include:
12 ------ --------- ------------ -----------
20 compatible = "hisilicon,hi6421-pmic";
26 regulator-name = "VOUT0";
27 regulator-min-microvolt = <2850000>;
[all …]
Drn5t618.txt1 * Ricoh RN5T567/RN5T618 PMIC
4 integrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropout regulators,
6 The RN5T618/RC5T619 provides additionally a Li-ion battery charger,
11 - compatible: must be one of
15 - reg: the I2C slave address of the device
17 Sub-nodes:
18 - regulators: the node is required if the regulator functionality is
22 LDO7-10 are specific to RC5T619.
28 pmic@32 {
34 regulator-min-microvolt = <1050000>;
[all …]
/kernel/linux/linux-4.19/include/linux/power/
Dsmartreflex.h26 #include <linux/platform_data/voltage-omap.h>
132 * 3430 specific values. Maybe these should be passed from board file or
133 * pmic structures.
178 * test_cond_timeout - busy-loop, testing a condition
199 * struct omap_sr_pmic_data - Strucutre to be populated by pmic code to pass
200 * pmic specific info to smartreflex driver
202 * @sr_pmic_init: API to initialize smartreflex on the PMIC side.
209 * struct omap_smartreflex_dev_attr - Smartreflex Device attribute.
228 * struct omap_sr_class_data - Smartreflex class driver info
250 * struct omap_sr_nvalue_table - Smartreflex n-target value info
[all …]
/kernel/linux/linux-5.10/drivers/acpi/pmic/
Dintel_pmic.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * intel_pmic.c - Intel PMIC operation region driver
47 return -ENOENT; in pmic_get_reg_bit()
55 struct regmap *regmap = opregion->regmap; in intel_pmic_power_handler()
56 struct intel_pmic_opregion_data *d = opregion->data; in intel_pmic_power_handler()
65 result = pmic_get_reg_bit(address, d->power_table, in intel_pmic_power_handler()
66 d->power_table_count, &reg, &bit); in intel_pmic_power_handler()
67 if (result == -ENOENT) in intel_pmic_power_handler()
70 mutex_lock(&opregion->lock); in intel_pmic_power_handler()
73 d->get_power(regmap, reg, bit, value64) : in intel_pmic_power_handler()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/rtc/
Disil,isl12057.txt8 ("wakeup-source") to handle the specific use-case found
9 on at least three in-tree users of the chip (NETGEAR ReadyNAS 102, 104
10 and 2120 ARM-based NAS); On those devices, the IRQ#2 pin of the chip
12 to the SoC but to a PMIC. It allows the device to be powered up when
14 get access to the 'wakealarm' sysfs entry, this specific property can
20 - "compatible": must be "isil,isl12057"
21 - "reg": I2C bus address of the device
25 - "wakeup-source": mark the chip as a wakeup source, independently of
38 that the pinctrl-related properties below are given for completeness and
41 "interrupt-parent" and "interrupts" are usually sufficient):
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/
Disil,isl12057.txt8 ("wakeup-source") to handle the specific use-case found
9 on at least three in-tree users of the chip (NETGEAR ReadyNAS 102, 104
10 and 2120 ARM-based NAS); On those devices, the IRQ#2 pin of the chip
12 to the SoC but to a PMIC. It allows the device to be powered up when
14 get access to the 'wakealarm' sysfs entry, this specific property can
20 - "compatible": must be "isil,isl12057"
21 - "reg": I2C bus address of the device
25 - "wakeup-source": mark the chip as a wakeup source, independently of
38 that the pinctrl-related properties below are given for completeness and
41 "interrupt-parent" and "interrupts" are usually sufficient):
[all …]
/kernel/linux/linux-5.10/drivers/thermal/
Dmax77620_thermal.c1 // SPDX-License-Identifier: GPL-2.0-only
34 * max77620_thermal_read_temp: Read PMIC die temperatue.
35 * @data: Device specific data.
38 * The actual temperature of PMIC die is not available from PMIC.
39 * PMIC only tells the status if it has crossed or not the threshold level
42 * else 120degC or 140deG based on the PMIC die temp threshold status.
53 ret = regmap_read(mtherm->rmap, MAX77620_REG_STATLBT, &val); in max77620_thermal_read_temp()
55 dev_err(mtherm->dev, "Failed to read STATLBT: %d\n", ret); in max77620_thermal_read_temp()
77 if (irq == mtherm->irq_tjalarm1) in max77620_thermal_irq()
78 dev_warn(mtherm->dev, "Junction Temp Alarm1(120C) occurred\n"); in max77620_thermal_irq()
[all …]
/kernel/linux/linux-5.10/drivers/usb/typec/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 tristate "USB Type-C Support"
6 USB Type-C Specification defines a cable and connector for USB where
8 be Type-A plug on one end of the cable and Type-B plug on the other.
9 Determination of the host-to-device relationship happens through a
10 specific Configuration Channel (CC) which goes through the USB Type-C
12 Accessory Modes - Analog Audio and Debug - and if USB Power Delivery
22 USB Type-C connector, however it is mostly used together with USB
23 Type-C connectors.
25 USB Type-C and USB Power Delivery Specifications define a set of state
[all …]
/kernel/linux/linux-4.19/drivers/thermal/
Dmax77620_thermal.c37 * max77620_thermal_read_temp: Read PMIC die temperatue.
38 * @data: Device specific data.
41 * The actual temperature of PMIC die is not available from PMIC.
42 * PMIC only tells the status if it has crossed or not the threshold level
45 * else 120degC or 140deG based on the PMIC die temp threshold status.
56 ret = regmap_read(mtherm->rmap, MAX77620_REG_STATLBT, &val); in max77620_thermal_read_temp()
58 dev_err(mtherm->dev, "Failed to read STATLBT: %d\n", ret); in max77620_thermal_read_temp()
80 if (irq == mtherm->irq_tjalarm1) in max77620_thermal_irq()
81 dev_warn(mtherm->dev, "Junction Temp Alarm1(120C) occurred\n"); in max77620_thermal_irq()
82 else if (irq == mtherm->irq_tjalarm2) in max77620_thermal_irq()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
35 bool "Axis ARTPEC-6 pin controller driver"
40 This is the driver for the Axis ARTPEC-6 pin controller. This driver
43 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
46 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
52 functionality. This driver supports the pinmux, push-pull and
57 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
68 Say yes to enable pinctrl and GPIO support for the AXP209 PMIC
122 tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
127 Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
[all …]

12345678