Hi ,
I would need to communicate with PMIC (MMPF0100) from u-boot source code through i2c command ,the u-boot source code from u-boot community (u-boot-2014.10) for imx.6 solo lite (mx6slevk) board does not have i2c support by default. Hence please share the u-boot source code link with i2c support or provide the steps to enable the support in u-boot for imx.6 solo lite (mx6slevk) board.
Thanks and Regards
Periyasamy R
You can apply this patch:
https://patchwork.ozlabs.org/patch/388026/
It hasn't been applied, but it will allow you to communicate with the PMIC on mx6slevk.
Hope it helps.
Dear Fabio,
Please share the mx6slevk.c and mx6slevk.h file with patches applied, then it will be very much useful to compare with existing source code.
Thanks
Periyasamy R
Just use the latest U-boot source code from git and apply the patch manually.
Hi Priyasamy
Take a look at the file include/configs/mx6sabresd.h
which is for sabresd board. These are the I2C and PMIC
related lines :
/* I2C Configs */
#define CONFIG_CMD_I2C
#define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_MXC
#define CONFIG_SYS_I2C_SPEED 100000
/* PMIC */
#define CONFIG_POWER
#define CONFIG_POWER_I2C
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
If it applies to your board (imx solo lite) you should
include similar defines in mx6slevk.h and compile for
your board again. You might have to change the I2C
address for your board. I don't have the solo lite
board schematics handy now to verify this but make
sure all that is supported in your board.
Hope this helps
Sinan Akman
Hello,
check below link, may it will help you.
https://community.freescale.com/thread/322813
also run some command in u-boot
=> i2c probe
help i2c
may it work.:smileyalert:
go through above link.
Regards
Jaymin D