[RFC PATCHv1 1/2] Export SoC info through sysfs

Linus Walleij linus.walleij at linaro.org
Thu Mar 10 10:17:54 EST 2011


On Thu, Mar 10, 2011 at 4:10 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Thu, Mar 10, 2011 at 04:02:18PM +0100, Arnd Bergmann wrote:
>> The one thing that really doesn't belong in /sys/devices/platform/
>> however are devices that are clearly children of some other
>> device, e.g. a UART behind MFD behind I2C behind AHB.
>
> Who ever thought about putting a UART behind I2C ?  That's insane!

For immediate entertainment I can tell you we have such a thing in
the AB3100 on the U300, at the other side of an I2C link.

That UART connects to a so-called "smart battery", since the
AB3100 is our mixed-signal device it had the physical connections
to the battery and thus that UART that can talk to the CPU inside
the battery.

There aren't many bauds on this bus, I assure you... yet,
batteries aren't very talkative anyway.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list