Probing TPS65185 issue

cancel
Showing results for 
Search instead for 
Did you mean: 

Probing TPS65185 issue

224 Views
Contributor II

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

Labels (4)
0 Kudos
4 Replies

5 Views
NXP TechSupport
NXP TechSupport

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 Kudos

5 Views
Contributor II

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 Kudos

5 Views
NXP TechSupport
NXP TechSupport

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 Kudos

5 Views
Contributor II

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.

0 Kudos