Hello Chris,
Am 29.05.2018 um 05:49 schrieb Chris Packham:
On Tue, May 29, 2018 at 2:39 PM Baruch Siach <[email protected]> wrote:
Hi Chris,
On Tue, May 29, 2018 at 10:32:47AM +1200, Chris Packham wrote:
Did you intend to omit the u-boot mailing list?
No, sorry. Thanks for noticing. I'll resend with the change that Stefan
suggested and keep your Tested-by.
On Tue, May 29, 2018 at 3:11 AM Baruch Siach <[email protected]> wrote:
Equivalent code that disables the hidden i2c0 slave already exists in
the Turris Omnia platform specific code. But this hidden i2c0 slave
that
interferes the i2c bus is not board specific. All Armada 38x SoCs are
affected. Add code to disable this slave to the i2c bus driver to make
it work on all affected hardware.
Use the bind callback because we want this to always run at boot,
regardless of whether U-Boot uses the i2c bus.
Cc: Rabeeh Khoury <[email protected]>
Signed-off-by: Baruch Siach <[email protected]>
Tested-by: Chris Packham <[email protected]>
[snip]
+ /* Disable the hidden slave on i2c0 of 38x */
+ if (IS_ENABLED(CONFIG_ARMADA_38X) && bus->req_seq == 0)
I'll submit a patch to add IS_ENABLED(CONFIG_KIRKWOOD) when this hits
u-boot.git.
Have you hit this issue on Kirkwood? Which one?
Custom board with Kirkwood 88F6281_A0
Before
=> i2c probe Valid chip addresses: 48 50 51 52 53 64 70 71 72 73 74
After
=> i2c probe Valid chip addresses: 48 50 51 52 53 70 71 72 73 74
May you and Siach can add this immediately in v2 ?
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: [email protected]
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot