]> git.baikalelectronics.ru Git - uboot.git/commit
Nokia RX-51: During init disable lp5523 led instead of resetting it
authorPali Rohár <pali@kernel.org>
Sat, 31 Oct 2020 16:32:47 +0000 (17:32 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Sun, 15 Nov 2020 09:59:40 +0000 (15:29 +0530)
commitc625f327ccc754473d492d2dd3278d08830af9a1
tree50a8f8077cd46da82b79ac9b3cc01c1914cdddb5
parent7e9fc2e3cadbd447d7c0d94646be98b7f9e4ac0a
Nokia RX-51: During init disable lp5523 led instead of resetting it

After commit d5243359e1af ("OMAP24xx I2C: Add support for set-speed")
U-Boot is unstable to reset lp5523 led. That commit added pooling for i2c
poll ARDY bit which apparently is never set. It is not known what is
happening here.

Purpose of resetting lp5523 led in Nokia RX-51 code is just to turn off
very bright led which is powered on by NOLO and expects next boot image
(kernel or U-Boot) to turn it off.

After testing we observed that just disabling lp5523 led is working fine.

So as a workaround to this ARDY bit i2c issue we disable lp5523 led instead
of resetting it.

Signed-off-by: Pali Rohár <pali@kernel.org>
Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
board/nokia/rx51/rx51.c