Other Parts Discussed in Thread: DRA718, LP8733
Hi,
My customer is now developing their own board based on AM5706 with PMIC LP87332DRHDT and LP8733220RHDT. Is there an example code for initializing these PMICs ?
Regards,
Hideaki
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.
Hi HIdeaki,
I believe you are looking for u-boot initialization code.
Take a look at: arch/arm/mach-omap2/omap5/hw_data.c
/* The LP8732 and LP8733 are software-compatible, use common struct */ struct pmic_data lp8733 = { .base_offset = LP873X_BUCK_BASE_VOLT_UV, .step = 5000, /* 5 mV represented in uV */ /* * Offset codes 0 - 0x13 Invalid. * Offset codes 0x14 0x17 give 10mV steps * Offset codes 0x17 through 0x9D give 5mV steps * So let us start with our operating range from .73V */ .start_code = 0x17, .i2c_slave_addr = 0x60, .pmic_bus_init = gpi2c_init, .pmic_write = palmas_i2c_write_u8, };
board/ti/dra7xx/evm.c
Look at struct vcores_data dra718_volts
Similarly you will need to modify the am571x_idk_volts in: "board/ti/am57xx/board.c"
to chnage to lp8733.
Regards,
Keerthy
Hi Keerthy,
Thank you for your answer. Sorry, I forgot to tell you about SDK which they're using. They're using PSDK RTOS.
Is there an example code for initializing these PMICs in PSDK RTOS ?
Thanks and regards,
Hideaki
Hi,
They're using Processor SDK RTOS for AM57x 6.03.
Regards,
Hideaki Matsumoto
Hi,
we don't have any example. However, you can take the reference from following documentation and thread: