Problem locating/removing code relating to the device tree pin_hog pins

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem locating/removing code relating to the device tree pin_hog pins

Jump to solution
951 Views
spearson
Contributor III

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.

Labels (1)
0 Kudos
Reply
1 Solution
813 Views
spearson
Contributor III

Found it.

myfile.dts

regulators{

...

     reg_fec_3v3: fec-3v3 {

          ...

          gpio = <&gpio2 15 0>

          ...

View solution in original post

0 Kudos
Reply
1 Reply
814 Views
spearson
Contributor III

Found it.

myfile.dts

regulators{

...

     reg_fec_3v3: fec-3v3 {

          ...

          gpio = <&gpio2 15 0>

          ...

0 Kudos
Reply