[PATCH 1/4] lib: utils/i2c: Add generic I2C configuration library

Nikita Shubin nikita.shubin at maquefel.me
Tue Sep 28 03:51:45 PDT 2021


Hi Alexander,

Thank you for your attention.

On Mon, 27 Sep 2021 17:41:18 +0200
Alexandre ghiti <alex at ghiti.fr> wrote:

> And I don't think the configure callback is even needed: it should be
> done at the initialization of the adapter, in its own driver, I don't
> think the device should care about that.

As long as i2c frame is supposed to do something more complicated then
sending a few bytes at the very end and even, may be, at the start of
booting, it is definitely required to configure - setup clocks, enable
the device.

Yours,
Nikita Shubin



More information about the opensbi mailing list