On Fri, Mar 27, 2009 at 8:05 AM, Albrecht Dreß <albrecht.dr...@arcor.de> wrote:
> Now the driver is called, but complains that no platform data is present.  > Still have to figure out how to pass that... :-/ I believe there was code added recently to i2c-mpc.c to put DTS properties into the platform device, but I don't see it right now. > # ls -al /sys/devices/f0000000.soc5200/f0003d40.i2c/i2c-adapter/i2c-1/ > drwxr-xr-x   6 0     0        0 Jan  1 00:00 . > drwxr-xr-x   3 0     0        0 Jan  1 00:00 .. > drwxr-xr-x   2 0     0        0 Jan  1 00:00 1-0020 > drwxr-xr-x   2 0     0        0 Jan  1 00:00 1-0021 > drwxr-xr-x   2 0     0        0 Jan  1 00:00 1-0022 > [...] > > Is this the intended behaviour? I think the entries in /sys/devices/f0000000.soc5200 are from the device tree directly. They're not related to any device driver. I believe you'll find those entries still there even if your driver isn't loaded at all. -- Timur Tabi Linux kernel developer at Freescale _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev