Messages in this thread | | | Date | Mon, 2 Mar 2009 01:50:24 +0100 | From | Daniel Mack <> | Subject | Re: lis3's ACPI dependency |
| |
On Sun, Mar 01, 2009 at 01:51:25PM -0600, Robert Hancock wrote: >> are there any plans to free the lis3 driver from its ACPI dependency? >> In fact, this device is I2C/SPI connected which the ACPI layer seems to >> hide from the driver, but to use it on embedded devices, the bus drivers >> must be used directly and the dependeny seems entirely unnecessary >> anyway. > > If ACPI AML code attempts to access the device (which it obviously does, > since we're presumably using the same code to access it), then we > cannot be accessing it directly at the same time, otherwise the two will > stomp on each other.
It's not about accessing the same device in more than one way one one particular platform but about keeping the driver abstract enough so it can be hooked up to different bus types. At the moment, it isn't completely seperated from ACPI, that's why I'm asking.
Daniel
| |