Problem: I am unable to reassign MX28_PAD_SSP1_DATA3__GPIO_2_15 for use on custom hardware.
I am using the Linux mainline kernel (3.8.4) and have a custom board that is similar to the imx28evk. I have setup my own board configuration and have do not have the pin_hog code in my device tree but I am still unable to gpio_request() the pin.
I am assuming that this is still being assigned as the FEC0 Power Enable but I cannot find where Linux is grabbing control of the pin.
Any help with this specific pin and, in general, how to locate and remove code associated with pin_hog pins would be appreciated.
Solved! Go to Solution.
Found it.
myfile.dts
regulators{
...
reg_fec_3v3: fec-3v3 {
...
gpio = <&gpio2 15 0>
...
Found it.
myfile.dts
regulators{
...
reg_fec_3v3: fec-3v3 {
...
gpio = <&gpio2 15 0>
...