ACPI
Linus Walleij
linus.walleij at linaro.org
Tue Nov 26 07:43:40 EST 2013
On Mon, Nov 25, 2013 at 4:41 PM, Matthew Garrett <mjg59 at srcf.ucam.org> wrote:
> In the past ACPI implementations handled GPIO by providing
> methods that accessed hardware registers directly. I've seen DSDTs that
> implement i2c entirely in ASL.
Is that common?
Since i2c is a slow bus, can be 100kHz or so, how does that
avoid locking the entire CPU while e.g. waiting for transactions on
the external bus to complete?
In I2C drivers we typically use completion IRQs so that we can
do other stuff when the I2C traffic is busy ...
I have a feeling we should not recommend ARM implementers
to go and do things like this.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list