Greetings!
I am using imx7dsabresd and I have designed my own daughter board for TPS65185 PMIC.
I have followed the link for patching files
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
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!
-----------------------------------------------------------------------------------------------------------------------
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!
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
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