From: fuhz-GANU6spQydw@public.gmane.org Subject: Re: New Style I2C Driver : how to get clients ? Date: Thu, 24 Jul 2008 18:11:53 +0200 Message-ID: <1216915913.4888a9c91fc42@imp.free.fr> References: <1216903949.48887b0dd2039@imp.free.fr> <31e679430807240616n4bed86c7sa5c5ce69e066d0b5@mail.gmail.com> <1216909598.4888911eb6cea@imp.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1216909598.4888911eb6cea-HZaT1/I6gcdWj0EZb7rXcA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: i2c-bounces-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org Errors-To: i2c-bounces-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org To: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org List-Id: linux-i2c@vger.kernel.org Hi, Ok, I think I have anderstand the process. It is not as mystic that I thaught. Tell me if I am wrong. This is the process : - Board init step #1 - I2C bus platform_driver initialisation - Board init step #2 (register hardware i2c busses to the platform_driver) - The I2C bus platform_driver register the new adapters to I2C layer - Board init step #3 (register hardware devices present on each I2C bus) - The I2C layer performs compatibity checks and tell I2C bus driver to add clients =3D> The probe callback function of the i2c driver is called. Am I right ? Thanks for help. Best regards, L=E9gion. _______________________________________________ i2c mailing list i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org http://lists.lm-sensors.org/mailman/listinfo/i2c