diff options
author | Nishanth Menon <nm@ti.com> | 2011-06-28 20:22:29 -0700 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2011-06-29 13:31:08 -0700 |
commit | 744ff7f5aa20f437aa2b17e18bc1cb77d477f5b5 (patch) | |
tree | b231833bf8752eb155a7b616733d162968946cc6 /arch/arm/mach-omap2/omap_tps6236x.c | |
parent | 3e5fbbae24a661c6c31e80d389f4f75fc519b03a (diff) | |
download | kernel_samsung_tuna-744ff7f5aa20f437aa2b17e18bc1cb77d477f5b5.zip kernel_samsung_tuna-744ff7f5aa20f437aa2b17e18bc1cb77d477f5b5.tar.gz kernel_samsung_tuna-744ff7f5aa20f437aa2b17e18bc1cb77d477f5b5.tar.bz2 |
OMAP2+: PMIC: add ability to modify the map
This allows temporary maps to be setup and updated. This allows
platforms to modify the pre-existing default maps as needed.
Acked-by: Colin Cross <ccross@google.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_tps6236x.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_tps6236x.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_tps6236x.c b/arch/arm/mach-omap2/omap_tps6236x.c index 45ca1de5..a31fa11 100644 --- a/arch/arm/mach-omap2/omap_tps6236x.c +++ b/arch/arm/mach-omap2/omap_tps6236x.c @@ -380,3 +380,8 @@ int __init omap_tps6236x_board_setup(bool use_62361, int gpio_vsel0, out: return r; } + +int __init omap_tps6236x_update(char *name, u16 old_chip_id, u16 new_chip_id) +{ + return omap_pmic_update(omap_tps_map, name, old_chip_id, new_chip_id); +} |