diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2014-10-31 11:08:06 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-11-20 10:13:53 +0100 |
commit | 05095535f6cab041a8c3007f6feae095a497bb92 (patch) | |
tree | dfcba243c1424fbb773ca647fd6f1716b73f4553 /configs/zmx25_defconfig | |
parent | 7a139959d0de14a7efd0fe12b49b18e939468525 (diff) |
imx:mx6sxsabresd fix pfuz probe failed
The PFUZ probe failed with the following msg:
" wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer: failed for chip 0x8 retry=0
wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer: failed for chip 0x8 retry=1
wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer: failed for chip 0x8 retry=2
i2c_init_transfer: give up i2c_regs=021a0000
Can't find PMIC:PFUZE100 "
board_early_init_f is too early to call i2c related setting, because
init_func_i2c is called after board_early_init_f being invoked. Thus
move setup_i2c into board_init.
Also PFUZ is connected to I2C bus 0, so change "1" -> "0".
Using this patch PFUZ can be correctly probed:
"PMIC: PFUZE100 ID=0x11"
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'configs/zmx25_defconfig')
0 files changed, 0 insertions, 0 deletions