Probing TPS65185 issue

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

Probing TPS65185 issue

1,772 次查看
econote_vikrant
Contributor III

Greetings!

I am using imx7dsabresd and I have designed my own daughter board for TPS65185 PMIC.

I have followed the link for patching files

http://sprunge.us/LWHf

I have modified/patched following files

arch/arm/boot/dts/imx7d-sdb.dts

arch/arm/configs/imx_v7_defconfig

drivers/hwmon/Kconfig

drivers/hwmon/Makefile

drivers/hwmon/tps6518x-hwmon.c

drivers/mfd/Kconfig

drivers/mfd/Makefile

drivers/mfd/tps6518x-core.c

drivers/regulator/Kconfig

drivers/regulator/Makefile

drivers/regulator/tps6518x-regulator.c

include/linux/mfd/tps6518x.h

Patching is done successfully but now my kernel is not showing me any changes after compiling and deploying it.

However my TPS is giving me correct voltages but the kernel not probing the driver. Kindly assist if I am missing something or I have to do any other modifications.

Kernel version: L4.9.88_2.0.0_ga from Yocto build

标签 (4)
0 项奖励
6 回复数

1,553 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vikrant

one can try to debug it in probe function of tps6518x driver, checking i2c signals

with oscilloscope and using app note

AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors
https://www.nxp.com/docs/en/application-note/AN4553.pdf


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

0 项奖励

1,553 次查看
econote_vikrant
Contributor III

Thanks for your reply!

But the document you mentioned AN4553 mentioned debugging process which is really little confusing in terms of current kernel version I am using. I have not worked with i.MX6 before so there are some processes according to the older version of Yocto, gcc as well as Eclipse, kindly assist me with the updated document or process if available.

Beside that I just want to make sure that the files I mentioned above are sufficient to probe the TPS6518x driver or not!

Thanks in advance!

0 项奖励

1,553 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vikrant

please try nxp linux L4.14.78_1.0.0  
linux-imx - i.MX Linux kernel 

Linux L4.14.78_1.0.0 Documentation

Best regards
igor

0 项奖励

1,553 次查看
econote_vikrant
Contributor III

Hi Igor,

Thank you for your help, however documentation aren't enough to develop the whole system. But I have solved the problem by going through lot other references.

841 次查看
Nicolamas
Contributor I

Hi econote_vikrant,
How did you solve the probing problem?
I did exactly everything it says to do for the patch, however I can't do the probing, and I think I have the same problem as you.
It's been a long time since your post, and you probably won't remember, but I'm asking for a little help.
Many thanks !
Nicola

0 项奖励

1,362 次查看
snehix
Contributor II

Dear Vikranth, 

 Will you be able to share your updated version that works.

 

Thanks and Best Regards,

Surajit

 

标记 (1)
0 项奖励