Commit 5c96881e authored by Juha Yrjola's avatar Juha Yrjola

OMAP: Menelaus cleanups and support for voltages

It is now possible to dynamically set VMEM, VIO, VDCDC2 and VDCDC3.
Signed-off-by: default avatarJuha Yrjola <juha.yrjola@solidboot.com>
parent cd1ce382
This diff is collapsed.
...@@ -7,13 +7,17 @@ ...@@ -7,13 +7,17 @@
#ifndef __ASM_ARCH_MENELAUS_H #ifndef __ASM_ARCH_MENELAUS_H
#define __ASM_ARCH_MENELAUS_H #define __ASM_ARCH_MENELAUS_H
extern int menelaus_mmc_register(void (*callback)(unsigned long data, u8 card_mask), extern int menelaus_register_mmc_callback(void (*callback)(void *data, u8 card_mask),
unsigned long data); void *data);
extern int menelaus_mmc_remove(void); extern void menelaus_unregister_mmc_callback(void);
extern int menelaus_mmc_opendrain(int enable); extern int menelaus_set_mmc_opendrain(int slot, int enable);
extern int menelaus_set_mmc_slot(int slot, int enable, int power, int cd_on);
extern int menelaus_set_vmem(unsigned int mV); extern int menelaus_set_vmem(unsigned int mV);
extern int menelaus_set_vio(unsigned int mV); extern int menelaus_set_vio(unsigned int mV);
extern int menelaus_set_vmmc(unsigned int mV);
extern int menelaus_set_vdcdc(int dcdc, unsigned int mV);
extern int menelaus_set_slot_sel(int enable);
#if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_MENELAUS) #if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_MENELAUS)
#define omap_has_menelaus() 1 #define omap_has_menelaus() 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment