Merge tag 'regulator-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator updates from Mark Brown: "This has been a very busy release for the core, some fixes, one large new feature and a big bit of refactoring to update the GPIO API: - Support for coupled regulators from Dmitry Osipenko based on a prior attempt by Maciej Purski, allowing us to handle situations where the voltages on two regulators can't be too far apart from each other. - Conversion of the GPIO support in both drivers and the core to use GPIO descriptors rather than numbers, part of the overall project to remove GPIO numbers. - Support for standby mode suspend states from Andrei Stefanescu. - New drivers for Allwinner AXP209, Cirrus Logic Lochnagar and Microchip MPC16502" * tag 'regulator-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (90 commits) regulator: tps65910: fix a missing check of return value regulator: mcp16502: Select REGMAP_I2C to fix build error regulator: convert to DEFINE_SHOW_ATTRIBUTE regulator: mcp16502: Fix missing n_voltages setting regulator: mcp16502: Use #ifdef CONFIG_PM_SLEEP around mcp16502_suspend/resume_noirq regulator: mcp16502: code cleanup regulator: act8945a-regulator: make symbol act8945a_pm static drivers/regulator: fix a missing check of return value regulator: act8945a-regulator: fix 'defined but not used' compiler warning regulator: axp20x: fix set_ramp_delay for AXP209/dcdc2 regulator: mcp16502: add support for suspend mfd: axp20x: use explicit bit defines mfd: axp20x: Clean up included headers regulator: dts: enable soft-start and ramp delay for the OLinuXino Lime2 dt-bindings: mfd: axp20x: Add software based soft_start for AXP209 LDO3 regulator: axp20x: add software based soft_start for AXP209 LDO3 dt-bindings: mfd: axp20x: add support for regulator-ramp-delay for AXP209 regulator: axp20x: add support for set_ramp_delay for AXP209 mfd: axp20x: name voltage ramping define properly regulator: mcp16502: add regulator driver for MCP16502 ...
This commit is contained in:
30
include/dt-bindings/regulator/active-semi,8945a-regulator.h
Normal file
30
include/dt-bindings/regulator/active-semi,8945a-regulator.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* Copyright (c) 2018 Microchip Technology, Inc. All rights reserved.
|
||||
*
|
||||
* Device Tree binding constants for the ACT8945A PMIC regulators
|
||||
*/
|
||||
|
||||
#ifndef _DT_BINDINGS_REGULATOR_ACT8945A_H
|
||||
#define _DT_BINDINGS_REGULATOR_ACT8945A_H
|
||||
|
||||
/*
|
||||
* These constants should be used to specify regulator modes in device tree for
|
||||
* ACT8945A regulators as follows:
|
||||
* ACT8945A_REGULATOR_MODE_FIXED: It is specific to DCDC regulators and it
|
||||
* specifies the usage of fixed-frequency
|
||||
* PWM.
|
||||
*
|
||||
* ACT8945A_REGULATOR_MODE_NORMAL: It is specific to LDO regulators and it
|
||||
* specifies the usage of normal mode.
|
||||
*
|
||||
* ACT8945A_REGULATOR_MODE_LOWPOWER: For DCDC and LDO regulators; it specify
|
||||
* the usage of proprietary power-saving
|
||||
* mode.
|
||||
*/
|
||||
|
||||
#define ACT8945A_REGULATOR_MODE_FIXED 1
|
||||
#define ACT8945A_REGULATOR_MODE_NORMAL 2
|
||||
#define ACT8945A_REGULATOR_MODE_LOWPOWER 3
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user