Wolfram Sang said the following:
>> Could you please elaborate?
> 
> Instead of probing you specify the devices on the i2c-bus in the dts. Example
> for the pcm032 looks like this (from the kernel-tree):
> 
> i...@3d40 {
>       #address-cells = <1>;
>       #size-cells = <0>;
>       compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
>       reg = <0x3d40 0x40>;
>       interrupts = <2 16 0>;
>       fsl5200-clocking;
> 
>       r...@51 {
>               compatible = "nxp,pcf8563";
>               reg = <0x51>;
>       };
>       eep...@52 {
>               compatible = "at24,24c32";
>               reg = <0x52>;
>       };
> };
> 
> Boards which relied on probing need to have such child nodes added.

This entry forces the sysFs basic entries, but instantiation of
_new-style_ drivers still fails, at least on my system.

I now proposed a patch for loading the class parameter of the adapter
from device tree.(--><[email protected]>) and hope to get an ACK.

-- 
Kind regards,
Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to