msm9615: Add board specific data for slimbus
Slimbus controller device, interrupt, slew-rate resources, and
relevant GPIOs are added to 9615.
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-9615-gpiomux.c b/arch/arm/mach-msm/board-9615-gpiomux.c
index 4baa851..ea8caf5 100644
--- a/arch/arm/mach-msm/board-9615-gpiomux.c
+++ b/arch/arm/mach-msm/board-9615-gpiomux.c
@@ -23,6 +23,12 @@
.pull = GPIOMUX_PULL_NONE,
};
+static struct gpiomux_setting slimbus = {
+ .func = GPIOMUX_FUNC_2,
+ .drv = GPIOMUX_DRV_8MA,
+ .pull = GPIOMUX_PULL_KEEPER,
+};
+
static struct gpiomux_setting gsbi4 = {
.func = GPIOMUX_FUNC_1,
.drv = GPIOMUX_DRV_8MA,
@@ -227,6 +233,21 @@
},
};
+static struct msm_gpiomux_config msm9615_slimbus_configs[] __initdata = {
+ {
+ .gpio = 20, /* Slimbus data */
+ .settings = {
+ [GPIOMUX_SUSPENDED] = &slimbus,
+ },
+ },
+ {
+ .gpio = 23, /* Slimbus clk */
+ .settings = {
+ [GPIOMUX_SUSPENDED] = &slimbus,
+ },
+ },
+};
+
int __init msm9615_init_gpiomux(void)
{
int rc;
@@ -239,6 +260,9 @@
msm_gpiomux_install(msm9615_gsbi_configs,
ARRAY_SIZE(msm9615_gsbi_configs));
+ msm_gpiomux_install(msm9615_slimbus_configs,
+ ARRAY_SIZE(msm9615_slimbus_configs));
+
msm_gpiomux_install(msm9615_ps_hold_config,
ARRAY_SIZE(msm9615_ps_hold_config));
msm_gpiomux_install(msm9615_sdcc2_configs,