]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: axp20x: Prepare support for multiple AXP chip families
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Fri, 10 Apr 2015 04:09:03 +0000 (12:09 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 13 May 2015 15:26:04 +0000 (16:26 +0100)
commit4131f011adb676faefdcb6df3a503535b0d161b4
treef61eacb5a4d89cb4d1366ffdff5bebb216cc98b7
parent5baea939c35fdf9f90dc662b3f6e897db2eb1674
regulator: axp20x: Prepare support for multiple AXP chip families

Rework the AXP20X_ macros and probe function to support the several chip
families, so that each family can define it's own set of regulators.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
[wens@csie.org: Support different DC-DC work frequency ranges]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/regulator/axp20x-regulator.c