On Oct 21 2008, Guennadi Liakhovetski wrote: > On Mon, 20 Oct 2008, Jon Smirl wrote: > > Put a printk in it's init function to make sure it is initializing. > > I don't need that, I see it here: > > /sys/bus/of_platform/drivers/mpc-i2c
I also see this: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lutz:/# tree /sys/bus/of_platform/drivers/mpc-i2c/ /sys/bus/of_platform/drivers/mpc-i2c/ |-- bind |-- uevent `-- unbind 0 directories, 3 files lutz:/# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > Next thing I do is put printks over in arch/powerpc/.. to tell me > > which strings from the device tree are being looked for. > > > > You can also look in /proc/device_tree and make sure fsl-i2c is in there. Here is what I get in /proc/device_tree: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lutz:/proc/device-tree# tree . |-- #address-cells |-- #size-cells |-- aliases | |-- name | |-- pci0 | |-- serial0 | `-- serial1 |-- chosen | |-- bootargs | |-- linux,platform | |-- linux,stdout-path | `-- name |-- compatible |-- cpus | |-- #address-cells | |-- #size-cells | |-- PowerPC,603e | | |-- bus-frequency | | |-- clock-frequency | | |-- d-cache-size | | |-- device_type | | |-- i-cache-size | | |-- name | | |-- reg | | `-- timebase-frequency | `-- name |-- memory | |-- device_type | |-- name | `-- reg |-- model |-- name `-- soc10x |-- #address-cells |-- #size-cells |-- compatible |-- device_type |-- [EMAIL PROTECTED] | |-- #address-cells | |-- #size-cells | |-- cell-index | |-- compatible | |-- interrupt-parent | |-- interrupts | |-- name | |-- reg | `-- [EMAIL PROTECTED] | |-- compatible | |-- device_type | |-- name | `-- reg |-- [EMAIL PROTECTED] | |-- #address-cells | |-- #interrupt-cells | |-- compatible | |-- device_type | |-- interrupt-controller | |-- linux,phandle | |-- name | `-- reg |-- name |-- [EMAIL PROTECTED] | |-- #address-cells | |-- #interrupt-cells | |-- #size-cells | |-- bus-range | |-- clock-frequency | |-- compatible | |-- device_type | |-- interrupt-map | |-- interrupt-map-mask | |-- interrupt-parent | |-- name | |-- ranges | `-- reg |-- ranges |-- reg |-- [EMAIL PROTECTED] | |-- cell-index | |-- clock-frequency | |-- compatible | |-- current-speed | |-- device_type | |-- interrupt-parent | |-- interrupts | |-- name | `-- reg |-- [EMAIL PROTECTED] | |-- cell-index | |-- clock-frequency | |-- compatible | |-- current-speed | |-- device_type | |-- interrupt-parent | |-- interrupts | |-- name | `-- reg `-- store-gathering 12 directories, 86 files lutz:/proc/device-tree# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Under that I see: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lutz:/proc/device-tree# grep -r -i fsl . Binary file ./soc10x/[EMAIL PROTECTED]/compatible matches lutz:/proc/device-tree# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The contents of that file: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fsl-i2c^@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Is there any further information that I can provide so that we can get things fixed? Thanks, -- Rogério Brito : [EMAIL PROTECTED],ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev