GPIO_113 default pinmux should be GPIO input (Mode 3)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
Generated and SD card with Linaro 12.03 for PandaBoard ES:
# uname -a
Linux panda-ah-jpeng 3.1.1-29-
The GPIO_113 pin is connected to the USER push button. However, this pin comes up as McBSP2 FSX (Mode 0) upon boot:
# cat /sys/kernel/
name: abe_mcbsp2_
mode: OMAP_PIN_INPUT | OMAP_MUX_MODE0
signals: abe_mcbsp2_fsx | mcspi2_cs0 | abe_mcasp_afsx | gpio_113 | usbb2_mm_txen | NA | NA | safe_mode
This pin should be muxed as GPIO input (with pull-up resistor enabled) as it is tied to the push button and PandaBoard ES manual says internal pull-up should be enabled. To set the pin muxing correctly, I use the following shell commands:
#echo 0x011B > /sys/kernel/
#cat abe_mcbsp2_fsx
name: abe_mcbsp2_
mode: OMAP_PIN_
signals: abe_mcbsp2_fsx | mcspi2_cs0 | abe_mcasp_afsx | gpio_113 | usbb2_mm_txen | NA | NA | safe_mode
Migrated to bugzilla: https:/ /bugs.linaro. org/show_ bug.cgi? id=458