Probing TPS65185 issue

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

Probing TPS65185 issue

2,247件の閲覧回数
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 返答(返信)

2,028件の閲覧回数
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 件の賞賛
返信

2,028件の閲覧回数
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 件の賞賛
返信

2,028件の閲覧回数
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 件の賞賛
返信

2,028件の閲覧回数
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.

1,316件の閲覧回数
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,837件の閲覧回数
snehix
Contributor II

Dear Vikranth, 

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

 

Thanks and Best Regards,

Surajit

 

タグ(1)
0 件の賞賛
返信