104-mfd-axp20x-enable-axp22x.patch 830 B

1234567891011121314151617181920212223242526
  1. From 6d4fa89dcd85e2427da83319ce75e5df5febcc96 Mon Sep 17 00:00:00 2001
  2. From: Chen-Yu Tsai <wens@csie.org>
  3. Date: Fri, 10 Apr 2015 12:09:06 +0800
  4. Subject: [PATCH] mfd: axp20x: Enable AXP22X regulators
  5. Now that the axp20x-regulators driver supports different variants of the
  6. AXP family, we can enable regulator support for AXP22X without the risk
  7. of incorrectly configuring regulators.
  8. Signed-off-by: Chen-Yu Tsai <wens@csie.org>
  9. Signed-off-by: Lee Jones <lee.jones@linaro.org>
  10. ---
  11. drivers/mfd/axp20x.c | 2 ++
  12. 1 file changed, 2 insertions(+)
  13. --- a/drivers/mfd/axp20x.c
  14. +++ b/drivers/mfd/axp20x.c
  15. @@ -376,6 +376,8 @@ static struct mfd_cell axp22x_cells[] =
  16. .name = "axp20x-pek",
  17. .num_resources = ARRAY_SIZE(axp22x_pek_resources),
  18. .resources = axp22x_pek_resources,
  19. + }, {
  20. + .name = "axp20x-regulator",
  21. },
  22. };