13 Dec, 2017
1 commit
-
Texas Instrument's TPS65910 PMIC contains 3 buck DC-DC converts, one
boost DC-DC converter and 8 LDOs. This patch implements driver model
support for the TPS65910 PMIC and its regulators making the get/set
API for regulator value/enable available.
This patch depends on the patch "am33xx: Add a function to query MPU
voltage in uV" to build correctly. For boards relying on the DT
include file tps65910.dtsi the v3 patch "power: extend prefix match
to regulator-name property" and an appropriate regulator naming is
also required.Signed-off-by: Felix Brack
Reviewed-by: Simon Glass
22 Sep, 2017
1 commit
-
In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1
IO cells. Without this bias voltage these I/O cells can not function
properly. The PBIAS cell is controlled by software.Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
29 Jul, 2017
1 commit
-
This pmic includes regulators which should have their own driver. Add
a driver to support these.Signed-off-by: Simon Glass
Reviewed-by: Lukasz Majewski
Tested-by: Marcel Ziswiler
Tested-on: Beaver, Jetson-TK1
Tested-by: Stephen Warren
09 Jun, 2017
1 commit
-
The driver provides regulator set/get voltage
enable/disable functions for lp87565 family of PMICs.Signed-off-by: Keerthy
Reviewed-by: Simon Glass
Signed-off-by: Jaehoon Chung
11 May, 2017
1 commit
-
Since this driver can be used for rk8xx series pmic,
let's rename rk808 to rk8xx, to make it clear.Configs parts are done by sed -i "s/RK808/RK8XX/g" `grep RK808 -lr ./`
Signed-off-by: Jacob Chen
12 Oct, 2016
3 commits
-
The driver provides regulator set/get voltage
enable/disable functions for lp873x family of PMICs.Signed-off-by: Keerthy
Reviewed-by: Simon Glass -
The driver provides regulator set/get voltage
enable/disable functions for palmas family of PMICs.Signed-off-by: Keerthy
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini -
Add support for gpio regulators. As of now this driver caters
to gpio regulators with one gpio. Supports setting voltage values to gpio
regulators and retrieving the values.Signed-off-by: Keerthy
Reviewed-by: Simon Glass
02 Oct, 2016
1 commit
-
add driver support for pwm regulator.
Signed-off-by: Elaine Zhang
Signed-off-by: Kever Yang
Acked-by: Simon Glass
22 Jan, 2016
2 commits
-
For some boards the pmic interface is useful but the regulator interface
(which comes with it) is too large. Allow them to be separated such that
SPL can decide which it needs.Signed-off-by: Simon Glass
-
Add regulator support for the RK808 PMIC. It integrated 4 BUCKs and 8 LDOs
all of which are supported by this driver.Signed-off-by: Simon Glass
03 Sep, 2015
1 commit
-
Add a full regulator driver for the ACT8846. This provides easy access to
voltage and current settings for each regulator.Signed-off-by: Simon Glass
12 Aug, 2015
1 commit
-
1. Add new regulator driver pfuze100.
* Introduce struct pfuze100_regulator_desc for maintaining info
for one regulator.
2. Add new Kconfig entry DM_REGULATOR_PFUZE100 for pfuze100.
3. This driver intends to support PF100, PF200 and PF3000.
4. Add related macro definition in pfuze header file.Signed-off-by: Peng Fan
Cc: Przemyslaw Marczak
Cc: Simon Glass
06 Aug, 2015
2 commits
-
This PMIC is used with SoCs which need a combination of BUCKs and LDOs. The
driver supports changing voltage and enabling/disabling each regulator. It
supports the standard device tree binding and supports driver model.Signed-off-by: Simon Glass
Acked-by: Przemyslaw Marczak -
The TPS65090 has 7 FETs which are modelled as regulators. This allows them
to be controlled by drivers easier, accessed through the 'regulator' command
and used by other drivers.Signed-off-by: Simon Glass
Acked-by: Przemyslaw Marczak
15 May, 2015
4 commits
-
This commit adds emulation of sandbox PMIC device, which includes:
- PMIC I2C emulation driver
- PMIC I/O driver (UCLASS_PMIC)
- PMIC regulator driver (UCLASS_REGULATOR)The sandbox PMIC has 12 significant registers and 4 as padding to 16 bytes,
which allows using 'i2c md' command with the default count (16).The sandbox PMIC provides regulators:
- 2x BUCK
- 2x LDOEach, with adjustable output:
- Enable state
- Voltage
- Current limit (LDO1/BUCK1 only)
- Operation mode (different for BUCK and LDO)Each attribute has it's own register, beside the enable state, which depends
on operation mode.The header file: sandbox_pmic.h includes PMIC's default register values,
which are set on i2c pmic emul driver's probe() method.Signed-off-by: Przemyslaw Marczak
Acked-by: Simon Glass
Tested on sandbox:
Tested-by: Simon Glass -
This driver implements regulator operations for fixed Voltage/Current
value regulators. beside the standard regulator constraints, which are
put into the uclass platform data, a typical fixed regulator node provides
few additional properties like:
- gpio
- gpio-open-drain
- enable-active-high
- startup-delay-us
The only 'gpio' is used by this driver and is kept in structure of type
'fixed_regulator_platdata', as a device platform data (dev->platdata).The driver implements:
- get_value
- get_current
- get_enable
- set_enableThe regulator calls and commands can be used for fixed-regulator devices,
and the proper error will be returned for prohibited.Signed-off-by: Przemyslaw Marczak
Acked-by: Simon Glass -
This commit adds support to MAX77686 regulator driver,
based on a driver model regulator's API. It implements
almost all regulator operations, beside those for setting
and geting the Current value.
For proper bind and operation it requires the MAX77686 PMIC driver.New file: drivers/power/regulator/max77686.c
New config: CONFIG_DM_REGULATOR_MAX77686Signed-off-by: Przemyslaw Marczak
Acked-by: Simon Glass -
This commit introduces the implementation of dm regulator API.
Device tree support allows for auto binding. And by the basic
uclass operations, it allows to driving the devices in a common
way. For detailed informations, please look into the header file.Core files:
- drivers/power/regulator-uclass.c - provides regulator common functions api
- include/power/regulator.h - define all structures required by the regulatorChanges:
- new uclass-id: UCLASS_REGULATOR
- new config: CONFIG_DM_REGULATORSigned-off-by: Przemyslaw Marczak
Acked-by: Simon Glass