This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Testing vibration

Hello All,

               I am working to set the vibration in my device.so, i have beaglebone with android ics for my development. I need the necessary information for testing the vibration in the following aspects,

1.  It is possible to set the haptics pin_mux to the available gpio in header . And my configuration looks like

static struct pinmux_config haptics_pin_mux[] = {

{"gpmc_ben1.gpio1_28", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT}, {NULL, 0},

};

        or else

2.  i can set the available gpio pin in board-am335xevm-vibrator.c.  

int __init am335xevm_vibrator_init(void)

{

...........................

............................

omap_mux_init_signal("gpmc_ben1.gpio1_28", OMAP_MUX_MODE7 | OMAP_PIN_OUTPUT);

............................

............................

}

so that i can call to the board file board-am335xevm.c  as follows,

static void setup_beaglebone(void)
{
............................................

.............................................

am335xevm_vibrator_init();
}

       It is possible to set the following configuration for testing the vibration.

                                 Thanks in advance.