Home
last modified time | relevance | path

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

123456

/linux-6.8/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 …]
/linux-6.8/drivers/mfd/
Dda9055-i2c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 da9055 = devm_kzalloc(&i2c->dev, sizeof(struct da9055), GFP_KERNEL); in da9055_i2c_probe()
24 return -ENOMEM; in da9055_i2c_probe()
26 da9055->regmap = devm_regmap_init_i2c(i2c, &da9055_regmap_config); in da9055_i2c_probe()
27 if (IS_ERR(da9055->regmap)) { in da9055_i2c_probe()
28 ret = PTR_ERR(da9055->regmap); in da9055_i2c_probe()
29 dev_err(&i2c->dev, "Failed to allocate register map: %d\n", in da9055_i2c_probe()
34 da9055->dev = &i2c->dev; in da9055_i2c_probe()
35 da9055->chip_irq = i2c->irq; in da9055_i2c_probe()
50 * DO NOT change the device Ids. The naming is intentionally specific as both
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
45 tristate "Active-semi ACT8945A"
50 Support for the ACT8945A PMIC from Active-semi. This device
51 features three step-down DC/DC converters and four low-dropout
67 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
70 called sun4i-gpadc.
79 Support for the AS3711 PMIC from AMS
101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
106 bool "Analog Devices ADP5520/01 MFD PMIC Core Support"
132 over at91-usart-serial driver and usart-spi-driver. Only one function
[all …]
Dmax14577.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max14577.c - mfd core driver for the Maxim 14577/77836
18 #include <linux/mfd/max14577-private.h>
42 * maxim_charger_calc_reg_current - Calculate register value for current
54 * - is always between <limits.min, limits.max>;
55 * - is always less or equal to max_ua;
56 * - is the highest possible value;
57 * - may be lower than min_ua.
59 * On success returns 0. On error returns -EINVAL (requested min/max current
68 return -EINVAL; in maxim_charger_calc_reg_current()
[all …]
/linux-6.8/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.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include "prm-regbits-34xx.h"
20 #include "prm-regbits-44xx.h"
52 * struct omap_vc_channel_cfg - describe the cfg_channel bitfield
101 * omap_vc_config_channel - configure VC channel to PMIC mappings
104 * Configures the VC channel to PMIC mappings for the following
105 * PMIC settings
106 * - i2c slave address (SA)
107 * - voltage configuration address (RAV)
108 * - command configuration address (RAC) and enable bit (RACEN)
[all …]
/linux-6.8/Documentation/devicetree/bindings/spmi/
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 ./Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml.
20 - $ref: spmi.yaml#
25 pattern: "spmi@[0-9a-f]"
[all …]
/linux-6.8/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 …]
Dmax77620.txt4 -------------------
5 - compatible: Must be one of
9 - reg: I2C device address.
12 -------------------
13 - interrupts: The interrupt on the parent the controller is
15 - interrupt-controller: Marks the device node as an interrupt controller.
16 - #interrupt-cells: is <2> and their usage is compliant to the 2 cells
17 variant of <../interrupt-controller/interrupts.txt>
19 are defined at dt-bindings/mfd/max77620.h.
21 - system-power-controller: Indicates that this PMIC is controlling the
[all …]
/linux-6.8/drivers/platform/x86/intel/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Intel x86 Platform Specific Drivers
15 source "drivers/platform/x86/intel/uncore-frequency/Kconfig"
79 Select this driver to use Intel Broxton Whiskey Cove PMIC TMU feature.
81 Whiskey Cove PMIC.
99 PMIC on Intel Cherry Trail devices.
115 resources for a MAX17042 Fuel Gauge, FUSB302 USB Type-C Controller
117 This driver instantiates i2c-clients for these, so that standard
129 This driver is for accessing the PSE (Programmable Service Engine) -
130 an Embedded Controller like IP - using ISHTP (Integrated Sensor Hub
[all …]
/linux-6.8/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 …]
/linux-6.8/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 const 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 …]
/linux-6.8/drivers/soc/qcom/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 the low-power state for resources related to the remoteproc
26 resource on a RPM-hardened platform must use this database to get
27 SoC specific identifier and information for the shared resources.
52 Qualcomm Technologies, Inc. platform specific
81 tristate "Qualcomm PMIC PDCharger ULOG driver"
85 The Qualcomm PMIC PDCharger ULOG driver provides access to logs of
93 tristate "Qualcomm PMIC GLINK driver"
103 The Qualcomm PMIC GLINK driver provides access, over GLINK, to the
107 Say yes here to support USB-C and battery status on modern Qualcomm
[all …]
/linux-6.8/drivers/video/backlight/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 This framework adds support for low-level control of LCD.
15 Some framebuffer devices connect to platform-specific LCD modules
16 in order to have a platform-specific way to control the flat panel
19 To have support for your specific LCD panel you will have to
90 This driver provides a platform-device registered LCD power
118 tristate "Himax HX-8357 LCD Driver"
121 If you have a HX-8357 LCD panel, say Y to enable its LCD control
139 This framework adds support for low-level control of the LCD
142 To have support for your specific LCD panel you will have to
[all …]
/linux-6.8/drivers/acpi/x86/
Dutils.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Based on various non upstream patches to support the CHT Whiskey Cove PMIC:
8 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved.
17 #include <asm/intel-family.h>
21 * Some ACPI devices are hidden (status == 0x0) in recent BIOS-es because
25 * Some BIOS-es (temporarily) hide specific APCI devices to work around Windows
28 * Likewise sometimes some not-actually present devices are sometimes
35 * This status overriding is limited to specific CPU (SoC) models both to
37 * are re-used on different SoCs for completely different devices.
107 * but it is. In the 67000+ DMI decode dumps from linux-hardware.org
[all …]
/linux-6.8/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()
75 if (irq == mtherm->irq_tjalarm1) in max77620_thermal_irq()
76 dev_warn(mtherm->dev, "Junction Temp Alarm1(120C) occurred\n"); in max77620_thermal_irq()
77 else if (irq == mtherm->irq_tjalarm2) in max77620_thermal_irq()
[all …]
/linux-6.8/drivers/leds/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
28 It wraps LED Class and adds flash LEDs specific sysfs attributes
38 It wraps LED class and adds multicolor LED specific sysfs attributes
50 See Documentation/ABI/testing/sysfs-class-led for details.
55 tristate "LED Support for Marvell 88PM860x PMIC"
59 This option enables support for on-chip LED drivers found on Marvell
60 Semiconductor 88PM8606 PMIC.
66 This option enables support for the AN30259A 3-channel
70 will be called leds-an30259a.
80 If you're looking for APU2/3, use the pcengines-apu2 driver.
[all …]
/linux-6.8/include/linux/power/
Dsmartreflex.h1 /* SPDX-License-Identifier: GPL-2.0 */
23 #include <linux/platform_data/voltage-omap.h>
129 * 3430 specific values. Maybe these should be passed from board file or
130 * pmic structures.
177 * test_cond_timeout - busy-loop, testing a condition
198 * struct omap_sr_pmic_data - Strucutre to be populated by pmic code to pass
199 * pmic specific info to smartreflex driver
201 * @sr_pmic_init: API to initialize smartreflex on the PMIC side.
208 * struct omap_smartreflex_dev_attr - Smartreflex Device attribute.
227 * struct omap_sr_class_data - Smartreflex class driver info
[all …]
/linux-6.8/include/dt-bindings/regulator/
Dactive-semi,8865-regulator.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Device Tree binding constants for the ACT8865 PMIC regulators
12 * ACT8865_REGULATOR_MODE_FIXED: It is specific to DCDC regulators and it
13 * specifies the usage of fixed-frequency
16 * ACT8865_REGULATOR_MODE_NORMAL: It is specific to LDO regulators and it
20 * the usage of proprietary power-saving
Dactive-semi,8945a-regulator.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Device Tree binding constants for the ACT8945A PMIC regulators
14 * ACT8945A_REGULATOR_MODE_FIXED: It is specific to DCDC regulators and it
15 * specifies the usage of fixed-frequency
18 * ACT8945A_REGULATOR_MODE_NORMAL: It is specific to LDO regulators and it
22 * the usage of proprietary power-saving
/linux-6.8/Documentation/devicetree/bindings/iio/adc/
Dqcom,spmi-vadc.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm's SPMI PMIC ADC
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
14 SPMI PMIC voltage ADC (VADC) provides interface to clients to read
15 voltage. The VADC is a 15-bit sigma-delta ADC.
17 voltage. The VADC is a 16-bit sigma-delta ADC.
[all …]
Dqcom,pm8018-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,pm8018-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
19 - qcom,pm8018-adc
20 - qcom,pm8038-adc
21 - qcom,pm8058-adc
22 - qcom,pm8921-adc
27 ADC base address in the PMIC, typically 0x197.
[all …]
/linux-6.8/drivers/regulator/
Dmax77620-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
21 #define max77620_rails(_name) "max77620-"#_name
99 static int max77620_regulator_get_fps_src(struct max77620_regulator *pmic, in max77620_regulator_get_fps_src() argument
102 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_get_fps_src()
106 ret = regmap_read(pmic->rmap, rinfo->fps_addr, &val); in max77620_regulator_get_fps_src()
108 dev_err(pmic->dev, "Reg 0x%02x read failed %d\n", in max77620_regulator_get_fps_src()
109 rinfo->fps_addr, ret); in max77620_regulator_get_fps_src()
116 static int max77620_regulator_set_fps_src(struct max77620_regulator *pmic, in max77620_regulator_set_fps_src() argument
119 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_set_fps_src()
[all …]
/linux-6.8/drivers/pinctrl/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
66 will be called pinctrl-apple-gpio.
69 bool "Axis ARTPEC-6 pin controller driver"
74 This is the driver for the Axis ARTPEC-6 pin controller. This driver
77 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
80 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
86 functionality. This driver supports the pinmux, push-pull and
117 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
128 Say Y to enable pinctrl and GPIO support for the AXP209 PMIC.
150 called pinctrl-cy8c95x0.
[all …]

123456