This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM57X: PM driver support for AM5716 with TPS65916/7 PMIC

Part Number: PROCESSOR-SDK-AM57X
Other Parts Discussed in Thread: TPS65916, AM5716, TPS659037

Same question as I linked.  I am trying to get the PM driver working using a TPS65916 PMIC and an AM5716 (running on the C66 core).  The driver appears to not support this combination - even though it is clearly a good match hardware wise - if not the current TI recommend hardware design!?

Unfortunately the #include statements in the driver seem to conflate the use of am571x as excluding that PMIC.
Note, I would like to use the TPS65917 as it looks functionally equivalent to TPS65916.

For example, in 'PowerPRCM_deviceInit.c'

#if defined (SOC_TDA2EX) || defined (SOC_DRA72x)
#include ti/drv/pm/include/pmic/pmhal_tps65917.h
#elif defined (SOC_AM571x) || defined (SOC_AM572x) || defined (SOC_AM574x)
#include ti/drv/pm/include/pmic/pmhal_tps659037.h
#else
#include ti/drv/pm/include/pmic/pmhal_tps659039.h
#endif

I have tried to use the 'pmhal_tps65917.h' header in my application (leveraging the 'pm\examples\pmrtos\src\pm_main_prcm.c' example), but it fails to link with 'PMHALTps65917GetPMICOps()' ...unresolved symbols remain.  I don't think this alone would work anyway, but I tried.

I am using sdk_rtos_am57xx_06_03_02_08 (willing to use any other version if it helps - the latest posted online didn't have an installer in the download so I'm not sure what is currently up with that...)

Could you please tell me the best way to configure or modify the PM driver to use this combination?  The editing/build I did try to the PM driver didn't work right away, and I'm not exactly expert enough to take on your job at TI Slight smile

Thanks!

-Jason