Commit 23b266eb authored by Juha Yrjola's avatar Juha Yrjola

Menelaus: Add function menelaus_get_slot_pin_states

Signed-off-by: default avatarJuha Yrjola <juha.yrjola@solidboot.com>
parent 80d597b0
...@@ -594,6 +594,11 @@ int menelaus_set_vmmc(unsigned int mV) ...@@ -594,6 +594,11 @@ int menelaus_set_vmmc(unsigned int mV)
} }
EXPORT_SYMBOL(menelaus_set_vmmc); EXPORT_SYMBOL(menelaus_set_vmmc);
int menelaus_get_slot_pin_states(void)
{
return menelaus_read_reg(MENELAUS_MCT_PIN_ST);
}
EXPORT_SYMBOL(menelaus_get_slot_pin_states);
/*-----------------------------------------------------------------------*/ /*-----------------------------------------------------------------------*/
......
...@@ -18,6 +18,7 @@ extern int menelaus_set_vio(unsigned int mV); ...@@ -18,6 +18,7 @@ extern int menelaus_set_vio(unsigned int mV);
extern int menelaus_set_vmmc(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_vdcdc(int dcdc, unsigned int mV);
extern int menelaus_set_slot_sel(int enable); extern int menelaus_set_slot_sel(int enable);
extern int menelaus_get_slot_pin_states(void);
#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