Dear sir,
I am trying to use GPIO107 as a standard GPIO.
I am able to drive as expected GPIO67. And I am trying to to the same thing with GPIO107. In Linux, initialization sequence is as follow :
- omap_mux_init_gpio( 107, OMAP_PIN_OUTPUT);
- gpio_request( 107, "nRST_LCDEXT");
- gpio_direction_output( 107, true);
- gpio_set_value(107 , 1);
Then I would expect to see a high level on the GPIO. But this is not the case, in fact as soon as omap_mux_init_gpio has been called, the output seems to be in high-z.
I have also tried the same operation by acting directly on the registers
- Configure CONTROL_PADCONF_CAM_D7[31:16] in mode 4
- configure relevant pin in GPIO_OE (GPIO4) as output
- write 1 to the relevant pin of GPIO_SETDATAOUT
Then as above I would expect the pin to go to high level but this is not the case. I have also checked that functionnal and interface clock for GPIO4 was enabled.
Has gpio107 anything special ? Is there some additional configuration to be done for gpio107 ?
Thanks in advance for your responses,
Regards