In dts file how to set pad register addres

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

In dts file how to set pad register addres

1,536件の閲覧回数
veeranjaneyulug
Contributor III

Hi all

we used linux kernel 3.14.28 .In kernel dts file imx6qdl-sabresd.dtsi file .

How to configure new gpio pin by using dts file .

MX6QDL_PAD_KEY_COL3__HDMI_TX_DDC_SCL 0x4001b8b1

how to set the address can you any body please explain me.

ラベル(4)
0 件の賞賛
返信
4 返答(返信)

1,269件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi veeranjaneyulu

addresses are set in ..arch/arm/boot/dts/imx6q-pinfunc.h

linux-2.6-imx.git - Freescale i.MX Linux Tree

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,269件の閲覧回数
veeranjaneyulug
Contributor III

Thanks for your reply .but In that file how can i calculate reg address .please can you explain one example .

Thanks & Regards

veeranjaneyulu

0 件の賞賛
返信

1,269件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
#define MX6QDL_PAD_KEY_COL3__HDMI_TX_DDC_SCL  

0x210 0x5e0 0x890 0x2 0x1

1.jpg

2.jpg

0 件の賞賛
返信

1,269件の閲覧回数
veeranjaneyulug
Contributor III

Thanks for your reply and explanation than input_reg,mux mode,input value how can i find out values .please can you give the explanation.

Thanks & Regards

veeranjaneyulu

0 件の賞賛
返信