[go: nahoru, domu]

History log of /drivers/regulator/tps65218-regulator.c
Revision Date Author Comments
7753d2d41f658fe42de148732173e35999fd5e39 09-Jul-2014 Keerthy <j-keerthy@ti.com> regulator: tps65218: Add fixed_uV fields for dcdc5 and dcdc6

Add fixed_uV fields for dcdc5 and dcdc6.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
6a5e06d9f4443c6f967ea7352cf30abdd681accf 08-Jul-2014 Felipe Balbi <balbi@ti.com> regulator: tps65218: drop order dependency

By just using GCC's array initialization extension, we
can easily drop order dependency between tps65218_regulattors
enumeration and tps65218_pmic_regs array.

Signed-of-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
dd648ef2471602d5fc1ec80a546eb0c3f57ca172 08-Jul-2014 Felipe Balbi <balbi@ti.com> regulator: tps65218: drop unneeded field from our regulator macro

volt table is always NULL for all regulators,
might as well drop the argument.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
42ab0f3915f22728f54bb1f3c0dcf38ab2335b5b 08-Jul-2014 Felipe Balbi <balbi@ti.com> regulator: tps65218: fix DCDC4 linear voltage range

The second range of this particular regulator,
starts at 1.60V, not as 1.55V as it was originally
implied by code.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
0eada6a1fc85a98ce69a199e46925abd6a7001c2 18-Jun-2014 Keerthy <j-keerthy@ti.com> regulator: tps65218: Correct the the config register for LDO1

Correct the the config register for LDO1.

Fixes: 90e7d5262796 (regulator: tps65218: Add Regulator driver for
TPS65218 PMIC)
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: <stable@vger.kernel.org> # v3.15
d2fa87c3af0df7ed10463afc588affdab954fa92 18-Jun-2014 Keerthy <j-keerthy@ti.com> regulator: tps65218: Add the missing of_node assignment in probe

Add the missing of_node assignment in probe.

Fixes: 90e7d5262796 (regulator: tps65218: Add Regulator driver for TPS65218 PMIC)
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: <stable@vger.kernel.org> # v3.15
5f986f7c2b878142f80cc23391631a71772692a8 24-Jun-2014 Sachin Kamat <sachin.kamat@samsung.com> regulator: tps65218: Fix build warnings

rdev_get_id() returns an int. Convert rid to type int to avoid the
following warnings:
drivers/regulator/tps65218-regulator.c:132:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
drivers/regulator/tps65218-regulator.c:146:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
5ab9be4274a12ef56fbf8cd965516f7d1f7868c6 22-May-2014 Axel Lin <axel.lin@ingics.com> regulator: tps65218: Convert to use regulator_set_voltage_time_sel

Use regulator_set_voltage_time_sel() instead of open-coded.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
948838a10ad24afea3229957b6f02f8587a569e0 19-Feb-2014 Axel Lin <axel.lin@ingics.com> regulator: tps65218: Add OF dependency

This is a DT-only driver, so make it depend on OF and remove of_match_ptr in
the code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
413be59e2f33382305876b17f218666d03cf3aac 19-Feb-2014 Axel Lin <axel.lin@ingics.com> regulator: tps65218: Remove unnecessary regulator_unregister call

Current code uses devm_regulator_register() so the we don't need to explicitly
call regulator_unregister() in .remove.
And then we don't need to save rdev pointer to tps->rdev[id].

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
c46b5295ac3db8ac20e8970ce668b8e784833eee 19-Feb-2014 Axel Lin <axel.lin@ingics.com> regulator: tps65218: Add terminate entry for of_device_id table

Fixes below build error:
FATAL: drivers/regulator/tps65218-regulator: struct of_device_id is not terminated with a NULL entry!

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
90e7d52627960e751da4fb2076ce79c51da82163 06-Feb-2014 Keerthy <j-keerthy@ti.com> regulator: tps65218: Add Regulator driver for TPS65218 PMIC

This patch adds support for TPS65218 PMIC regulators.

The regulators set consists of 6 DCDCs and 1 LDO. The output
voltages are configurable and are meant to supply power to the
main processor and other components.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>