I am having custom board similar to imx8qxpmek with PMIC PF8200. For that I am changing SCFW Firmware.
I changed following macros in platform/board/mx8qx_mek.
/* PMIC related defines */
#define PMIC pf8100 -->pf8200
Enabled following macros.
#define PMIC_CRC
/* Declare if PMIC Secure Writes are enabled */
#define PMIC_SECURE_WRITE
I am getting below error.
error: implicit declaration of function 'pf8200_pmic_register_access' [-Werror=implicit-function-declaration]
#define PMIC pf8200
What I should use to support pf8200 ? what are the other changes i need to do to support pf8200 ?
Hi Krunal
seems pmic type (and in particular PF8200) is detected automatically in function get_pmic_type(pmic_id_t id) ../platform/board/pmic.c included in SCFW Porting Kit 1.10.0
Best regards
igor