| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | palmas-pmic.txt | 3 The tps659038 for the AM57x class have OTP spins that 4 have different part numbers but the same functionality. There 11 - compatible : Should be from the list 12 ti,twl6035-pmic 13 ti,twl6036-pmic 14 ti,twl6037-pmic 15 ti,tps65913-pmic 16 ti,tps65914-pmic 17 ti,tps65917-pmic 18 ti,tps659038-pmic [all …]
|
| H A D | rohm,bd71828-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71828-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml. 16 The regulator controller is represented as a sub-node of the PMIC node 25 "^LDO[1-7]$": 32 regulator-name: 33 pattern: "^ldo[1-7]$" [all …]
|
| H A D | nxp,pca9450-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/nxp,pca9450-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robin Gong <yibin.gong@nxp.com> 18 https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf 21 https://www.nxp.com/docs/en/data-sheet/PF9453_SDS.pdf 31 - nxp,pca9450a 32 - nxp,pca9450b 33 - nxp,pca9450c [all …]
|
| /linux/drivers/spmi/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 SPMI (System Power Management Interface) is a two-wire 10 and Power Management Integrated Circuits (PMIC). 29 built-in SPMI PMIC Arbiter interface on Hisilicon 3670 33 tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)" 40 built-in SPMI PMIC Arbiter interface on Qualcomm MSM family 44 other devices that have the SPMI interface. 47 tristate "Mediatek SPMI Controller (PMIC Arbiter)" 51 built-in SPMI PMIC Arbiter interface on Mediatek family 55 other devices that have the SPMI interface.
|
| /linux/drivers/acpi/pmic/ |
| H A D | intel_pmic_chtcrc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Intel Cherry Trail Crystal Cove PMIC operation region driver 16 * We have no docs for the CHT Crystal Cove PMIC. The Asus Zenfone-2 kernel 17 * code has 2 Crystal Cove regulator drivers, one calls the PMIC a "Crystal 18 * Cove Plus" PMIC and talks about Cherry Trail, so presumably that one 24 * CHT Crystal Cove PMIC. 33 struct intel_soc_pmic *pmic = dev_get_drvdata(pdev->dev.parent); in intel_chtcrc_pmic_opregion_probe() local 34 return intel_pmic_install_opregion_handler(&pdev->dev, in intel_chtcrc_pmic_opregion_probe() 35 ACPI_HANDLE(pdev->dev.parent), pmic->regmap, in intel_chtcrc_pmic_opregion_probe()
|
| /linux/arch/arm/mach-omap2/ |
| H A D | vc.c | 1 // 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 81 * On OMAP3+, all VC channels have the above default 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) [all …]
|
| /linux/drivers/mfd/ |
| H A D | intel_soc_pmic_chtwc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MFD core driver for Intel Cherrytrail Whiskey Cove PMIC 7 * Based on various non upstream patches to support the CHT Whiskey Cove PMIC: 8 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved. 22 /* PMIC device registers */ 30 /* Whiskey Cove PMIC share same ACPI ID between different platforms */ 76 int ret, orig_addr = client->addr; in cht_wc_byte_reg_read() 79 dev_err(&client->dev, "Error I2C address not specified\n"); in cht_wc_byte_reg_read() 80 return -EINVAL; in cht_wc_byte_reg_read() 83 client->addr = (reg & REG_ADDR_MASK) >> REG_ADDR_SHIFT; in cht_wc_byte_reg_read() [all …]
|
| H A D | da9055-i2c.c | 1 // 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() 51 * the PMIC and CODEC parts of this chip are instantiated separately as I2C [all …]
|
| H A D | tps65090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Core driver for TI TPS65090 PMIC family 49 PMIC = 0, enumerator 54 [PMIC] = { 55 .name = "tps65090-pmic", 58 .name = "tps65090-charger", 61 .of_compatible = "ti,tps65090-charger", 134 /* Nearly all registers have status bits mixed in, except a few */ in is_volatile_reg() 167 struct tps65090_platform_data *pdata = dev_get_platdata(&client->dev); in tps65090_i2c_probe() 172 if (!pdata && !client->dev.of_node) { in tps65090_i2c_probe() [all …]
|
| H A D | rohm-bd96801.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * ROHM BD96801 PMIC driver 7 * This version of the "BD86801 scalable PMIC"'s driver supports only very 8 * basic set of the PMIC features. 10 * be done when the PMIC is in STBY mode. 13 * regulator safety limits (like limits for the over/under -voltages, over 15 * synchronized with entity causing the PMIC state transitions. Eg, one 16 * should be able to ensure the PMIC is in STBY state when the 17 * configurations are applied to the hardware. How and when the PMIC state 22 * Users who require the STBY state configurations can have a look at the [all …]
|
| H A D | sprd-sc27xx-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/mfd/sc27xx-pmic.h> 28 /* PMIC charger detection definition */ 54 * Since different PMICs of SC27xx series can have different interrupt 74 const struct sprd_pmic_data *pdata = ddata->pdata; in sprd_pmic_detect_charger_type() 79 ret = regmap_read_poll_timeout(ddata->regmap, pdata->charger_det, val, in sprd_pmic_detect_charger_type() 84 dev_err(&spi->dev, "failed to detect charger type\n"); in sprd_pmic_detect_charger_type() 124 /* Now we only support one PMIC register to read every time. */ in sprd_pmic_spi_read() 126 return -EINVAL; in sprd_pmic_spi_read() 158 pdata = of_device_get_match_data(&spi->dev); in sprd_pmic_probe() [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic… 24 - rohm,bd71847 25 - rohm,bd71850 [all …]
|
| H A D | max77620.txt | 4 ------------------- 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/include/linux/platform_data/x86/ |
| H A D | int3472.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Intel INT3472 ACPI camera sensor power-management support 11 #include <linux/clk-provider.h> 20 #define I2C_DEV_NAME_FORMAT "i2c-%s" 23 /* PMIC GPIO Types */ 38 /* 12 chars for acpi_dev_name() + "-", e.g. "ABCD1234:00-" */ 40 /* lower- and upper-case mapping */ 46 * have their reset line driven logical high to properly register a reset. 81 * 1: DISCRETE(CRD-D) 82 * 2: PMIC TPS68470 [all …]
|
| /linux/drivers/platform/x86/intel/int3472/ |
| H A D | Kconfig | 16 Intel Skylake-based systems that can map to different hardware 18 it maps to a TPS68470 camera PMIC. On machines designed for Windows, 19 it maps to either a TP68470 camera PMIC, a uP6641Q sensor PMIC, or a 28 Say Y or M here if you have a SkyLake device designed for use 31 The module will be named "intel-skl-int3472".
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "USB Type-C Port Controller Manager" 9 The Type-C Port Controller Manager provides a USB PD and USB Type-C 10 state machine for use with Type-C Port Controllers. 15 tristate "Type-C Port Controller Interface driver" 19 Type-C Port Controller driver for TCPCI-compliant controller. 24 tristate "Richtek RT1711H Type-C chip driver" 26 Richtek RT1711H Type-C chip driver that works with 27 Type-C Port Controller Manager to provide USB PD and USB 28 Type-C functionalities. [all …]
|
| /linux/drivers/leds/flash/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 53 tristate "LED Support for Mediatek MT6360 PMIC" 61 Mediatek MT6360 PMIC. 66 tristate "Flash LED Support for MediaTek MT6370 PMIC" 76 will be called "leds-mt6370-flash". 79 tristate "LED support for flash module inside Qualcomm Technologies, Inc. PMIC" 86 Technologies, Inc. PMICs. The flash module can have 3 or 4 flash LED 93 This driver can be built as a module, it will be called "leds-qcom-flash". 115 will be called leds-rt8515. 133 This driver can be built as a module, it will be called "leds-sy7802". [all …]
|
| /linux/drivers/regulator/ |
| H A D | palmas-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Regulator part of Palmas PMIC Chips 5 * Copyright 2011-2013 Texas Instruments Inc. 41 .sname = "smps1-in", 49 .sname = "smps1-in", 57 .sname = "smps3-in", 64 .sname = "smps4-in", 72 .sname = "smps4-in", 80 .sname = "smps6-in", 88 .sname = "smps7-in", [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-cht-wc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Intel CHT Whiskey Cove PMIC I2C controller driver 6 * Based on various non upstream patches to support the CHT Whiskey Cove PMIC: 7 * Copyright (C) 2011 - 2014 Intel Corporation. All rights reserved. 62 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, ®); in cht_wc_i2c_adap_thread_handler() 67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler() 68 mutex_unlock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 72 reg &= ~adap->irq_mask; in cht_wc_i2c_adap_thread_handler() 75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler() [all …]
|
| /linux/arch/x86/platform/intel/ |
| H A D | iosf_mbi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * IOSF-SB MailBox Interface Driver 6 * The IOSF-SB is a fabric bus available on Atom based SOC's that uses a 44 return -ENODEV; in iosf_mbi_pci_read_mdr() 64 dev_err(&mbi_pdev->dev, "PCI config access failed with %d\n", result); in iosf_mbi_pci_read_mdr() 73 return -ENODEV; in iosf_mbi_pci_write_mdr() 93 dev_err(&mbi_pdev->dev, "PCI config access failed with %d\n", result); in iosf_mbi_pci_write_mdr() 106 return -EPERM; in iosf_mbi_read() 129 return -EPERM; in iosf_mbi_write() 153 return -EPERM; in iosf_mbi_modify() [all …]
|
| /linux/drivers/gpio/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 50 this symbol, but new drivers should use the generic gpio-regmap 58 These checks help ensure that GPIOs have been properly initialized 60 non-sleeping contexts. They can make bitbanged serial protocols 81 numberspace-based functionalities of the sysfs interface. 137 Enables support for the idio-16 library functions. The idio-16 library 139 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16. 141 If built as a module its name will be gpio-idio-16. 147 tristate "GPIO driver for 74xx-ICs with MMIO access" 151 Say yes here to support GPIO functionality for 74xx-compatible ICs [all …]
|
| /linux/drivers/thermal/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 47 Say Y to add a debugfs-based thermal core testing facility. 53 int "Emergency poweroff delay in milli-seconds" 76 as a hwmon. The sensor will then have the common 80 have hwmon sysfs interface too. 145 bool "Fair-share thermal governor" 147 Enable this to manage platform thermals using fair-share governor. 250 memory-mapped reads to get the temperature. Any HW/System that 251 allows temperature reading by a single memory-mapped reading, be it 305 - AM654 [all …]
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | qcom,pm8018-adc.yaml | 1 # 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/drivers/clk/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 59 Low-Noise JESD204B Compliant Clock Jitter Cleaner With Dual Loop PLLs 87 These multi-function devices have two fixed-rate oscillators, clocked at 32KHz each. 91 tristate "Raspberry Pi RP1-based clock support" 96 This multi-function device has 3 main PLLs and several clock 97 generators to drive the internal sub-peripherals. 105 This driver supports the hi655x PMIC clock. This 106 multi-function device has one fixed-rate oscillator, clocked 137 be pre-programmed to support other configurations and features not yet 186 This driver supports TI CDCE706 programmable 3-PLL clock synthesizer. [all …]
|
| /linux/Documentation/devicetree/bindings/power/supply/ |
| H A D | cpcap-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 5 $id: http://devicetree.org/schemas/power/supply/cpcap-charger.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Motorola CPCAP PMIC charger 11 - Tony Lindgren <tony@atomide.com> 12 - Sebastian Reichel <sre@kernel.org> 15 Motorola CPCAP is a PMIC found in some mobile phones, e.g. 17 sub-function. 20 - $ref: power-supply.yaml# [all …]
|