In dts file how to set pad register addres

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

In dts file how to set pad register addres

1,233 Views
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.

Labels (4)
0 Kudos
4 Replies

966 Views
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 Kudos

966 Views
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 Kudos

966 Views
igorpadykov
NXP Employee
NXP Employee
#define MX6QDL_PAD_KEY_COL3__HDMI_TX_DDC_SCL  

0x210 0x5e0 0x890 0x2 0x1

1.jpg

2.jpg

0 Kudos

966 Views
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 Kudos