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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
826件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
1 解決策
688件の閲覧回数
spearson
Contributor III

Found it.

myfile.dts

regulators{

...

     reg_fec_3v3: fec-3v3 {

          ...

          gpio = <&gpio2 15 0>

          ...

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
689件の閲覧回数
spearson
Contributor III

Found it.

myfile.dts

regulators{

...

     reg_fec_3v3: fec-3v3 {

          ...

          gpio = <&gpio2 15 0>

          ...

0 件の賞賛
返信