In dts file how to set pad register addres

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

In dts file how to set pad register addres

1,486 次查看
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,219 次查看
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,219 次查看
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,219 次查看
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,219 次查看
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 项奖励
回复