02 Jun, 2014
1 commit
28 May, 2014
4 commits
-
The current pmic i2c code assumes the current i2c bus is
the same as the pmic device's bus. There is nothing ensuring
that to be true. Therefore, select the proper bus before performing
a transaction.Signed-off-by: Aaron Durbin
Signed-off-by: Simon Glass
Acked-by: Heiko Schocher
Reviewed-by: Simon Glass
Signed-off-by: Minkyu Kang -
This adds driver support for the TPS65090 PMU. Support includes
hooking into the pmic infrastructure so that the pmic commands
can be used on the console. The TPS65090 supports the following
functionality:- fet enable/disable/querying
- getting and setting of charge stateEven though it is connected to the pmic infrastructure it does
not hook into the pmic charging charging infrastructure.The device tree binding is from Linux, but only a small subset of
functionality is supported.Signed-off-by: Tom Wai-Hong Tam
Signed-off-by: Hatim Ali
Signed-off-by: Katie Roberts-Hoffman
Signed-off-by: Rong Chang
Signed-off-by: Sean Paul
Signed-off-by: Vincent Palatin
Signed-off-by: Aaron Durbin
Signed-off-by: Simon Glass
Signed-off-by: Minkyu Kang -
This enum should be common across all PMICs rather than having it
independently defined with the same name in multiple places.Signed-off-by: Simon Glass
Signed-off-by: Minkyu Kang -
Commit be3b51aa did this mostly, but several have been added since. Do the
job again.Signed-off-by: Simon Glass
Acked-by: Lukasz Majewski
Signed-off-by: Minkyu Kang
20 May, 2014
1 commit
-
Conflicts:
boards.cfgConflicts were trivial once u-boot-arm/master boards.cfg was
reformatted (commit 6130c146) to match u-boot/master's own
reformatting (commit 1b37fa83).
13 May, 2014
1 commit
-
Make funtions static which are locally used in file.
Signed-off-by: Manish Badarkhe
09 May, 2014
2 commits
-
The LTC3676 PMIC includes four DC/DC converters, and three 300mA
LDO Regulators (two Adjustable). The DC/DC converters are adjustable based
on a resistor devider (board-specific).This adds support for the LTC3676 by creating a namespace unique init function
that uses the PMIC API to allocate a pmic and defines the registers.Signed-off-by: Tim Harvey
Acked-by: Stefano Babic -
Avoid uding pmic_init() as this forces the model of only allowing a
single PMIC driver to be built at a time.Signed-off-by: Tim Harvey
05 Mar, 2014
2 commits
-
Signed-off-by: Tim Harvey
Acked-by: Stefano Babic
24 Feb, 2014
1 commit
-
Lack of this check resulted in a data abort when CPU tried to execute the
following command (without further mandatory input): 'pmic MAX77686_PMIC'.Only the 'pmic list' command requires one passed parameter.
Other require at least two valid parameters for correct operation.Signed-off-by: Lukasz Majewski
03 Feb, 2014
1 commit
-
Remove wrong and unused env variables
Trats2 is not as GT-I8800.Signed-off-by: Przemyslaw Marczak
Acked-by: Jaehoon Chung
Cc: Piotr Wilczek
Signed-off-by: Minkyu Kang
14 Jan, 2014
1 commit
-
Issues:
- reading i2c data by passing u16 pointer causes errors in read data.
- max17042 status register fields have not only Power On Reset meaning
so using proper mask is required.Changes:
- read i2c data to type u32 instead of u16 - avoids buffer overflow
- compare FG status register using mask not just one bit value
- add checking return value to functions fg read/write
- add model lock and model check count
- add debug msgSigned-off-by: Przemyslaw Marczak
Cc: Lukasz Majewski
Cc: Minkyu Kang
06 Jan, 2014
1 commit
-
Conflicts:
include/micrel.hThe conflict above was trivial, caused by four lines being
added in both branches with different whitepace.
04 Dec, 2013
2 commits
-
Added chip type detection and twl6032
support in the battery control
and charge functions.Based on Balaji T K patches for TI u-boot.
Signed-off-by: Oleg Kosheliev
-
The data struct is used to support different
PMIC chip types. It contains the chip type and
the data (e.g. registers addresses, adc multiplier)
which is different for twl6030 and twl6032.
Replaced some hardcoded values with the
structure vars.Based on Balaji T K patches for TI u-boot.
Signed-off-by: Oleg Kosheliev
27 Nov, 2013
1 commit
-
There is no need to pass p->bus differently when the PMIC is connected via SPI
or via I2C.Handle the both cases in the same way.
Signed-off-by: Fabio Estevam
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
21 Oct, 2013
1 commit
-
Add new functionality to turn on SMPS10 regulator.
This supplies the VBUS to devices connected to the
USB host portsSigned-off-by: Dan Murphy
14 Oct, 2013
1 commit
11 Oct, 2013
1 commit
07 Oct, 2013
1 commit
-
This patch prevents data abort when pmic bat command is called
on non-batery pmic device.Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
CC: Lukasz Majewski
CC: Minkyu Kang
25 Sep, 2013
2 commits
-
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
Signed-off-by: Minkyu Kang -
This patch add support for new multi function pmic max77693.
The driver is split into three modules: pmic, muic and fuelgage.Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
Signed-off-by: Minkyu Kang
20 Sep, 2013
2 commits
-
Add a driver for the TPS65910 PMIC that is found in the AM335x GP EVM,
AM335x EVM SK and others.Signed-off-by: Philip, Avinash
[trini: Split and rework Avinash's changes into new drivers/power
framework]
Signed-off-by: Tom Rini -
Add a driver for the TPS65217 PMIC that is found in the Beaglebone
family of boards.Signed-off-by: Greg Guyotte
[trini: Split and rework Greg's changes into new drivers/power
framework]
Signed-off-by: Tom Rini
11 Sep, 2013
1 commit
-
Conflicts:
tools/Makefile
30 Aug, 2013
1 commit
-
This patch add new functions to pmic max77686 to set voltage and mode.
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
Acked-by: Rajeshwari Shinde
Acked-by: Tom Rini
Signed-off-by: Minkyu Kang
20 Aug, 2013
1 commit
-
After introduction of unified i2c model, the I2C_SET_BUS() macro is regarded
as obsolete.
Hence it is replaced with i2c_set_bus_num() function call.Signed-off-by: Lukasz Majewski
Cc: Heiko Schocher
Cc: Tom Rini
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
05 Jul, 2013
1 commit
-
Add support for disabling battery charging with ctrl+C keyboard
combination pressed.
Moreover the battery update is done more frequently.Signed-off-by: Lukasz Majewski
Cc: Tom Rini
Signed-off-by: Minkyu Kang
19 Jun, 2013
1 commit
-
Conflicts:
spl/Makefile
13 Jun, 2013
2 commits
-
This patch implements the mux_addr bit fields defined in tmu_control
register (used for debugging purpose)Signed-off-by: Naveen Krishna Chatradhi
Reviewed-by: Vadim Bendebury
Signed-off-by: Minkyu Kang -
This patch does the folowing
1. change the data types for unsigned int variable to unsigned
2. change the tmu_base type to struct exynos5_tmu_reg *
3. Add timer functionality for get_cur_temp()
4. error handling in the get_tmu_fdt_values()
5. Add check for curr_temp reading
6. some cosmotic changes.Signed-off-by: Naveen Krishna Chatradhi
Reviewed-by: Vadim Bendebury
Acked-by: Simon Glass
Signed-off-by: Minkyu Kang
10 Jun, 2013
1 commit
-
Add some useful functions, and the corresponding definitions.
Add support for powering on the dra7xx_evm SD/MMC LDO
(courtesy Lokesh Vutla ).Signed-off-by: Lubomir Popov
Reviewed-by: Tom Rini
10 May, 2013
4 commits
-
commit 21144298 (power: twl6035: add palmas PMIC support)
introduced twl6035_i2c_[read|write]_u8
Then, commit dd23e59d (omap5: pbias ldo9 turn on)
introduced palmas_[read|write]_u8 for precisely the same access
function. TWL6035 belongs to the palmas family, so instead of having
an twl6035 API, we could use an generic palmas API instead.To stay consistent with the function naming of twl4030,6030 accessors,
we use palmas_i2c_[read|write]_u8Cc: Balaji T K
Cc: Sricharan R
Reported-by: Ruchika Kharwar
Signed-off-by: Nishanth Menon -
Since TPS659038/TWL6035/TWL6037 all belong to palmas family of TI PMICs,
rename twl6035_mmc1_poweron_ldo by a more generic palmas_mmc1_poweron_ldo
function.Signed-off-by: Nishanth Menon
-
Since TPS659038/TWL6035/TWL6037 all belong to palmas family of TI PMICs,
rename twl6035_init_settings with an more generic palmas_init_settingsSigned-off-by: Nishanth Menon
-
TPS659038/TWL6035/TWL6037 all belong to palmas family of TI PMICs
Rename twl6035 to palmas to allow reuse across multiple current and
future platformsAs part of this change, change the CONFIG_TWL6035_POWER to
CONFIG_PALMAS_POWER and update usage of header file accordingly.Signed-off-by: Nishanth Menon