From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VUArn-0004JJ-LU for barebox@lists.infradead.org; Thu, 10 Oct 2013 07:41:04 +0000 Received: from coredoba.hi.pengutronix.de ([2001:6f8:1178:2:219:99ff:fe56:8d7]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VUArP-0001zd-U8 for barebox@lists.infradead.org; Thu, 10 Oct 2013 09:40:39 +0200 Received: from jlu by coredoba.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1VUAt3-0002Rg-69 for barebox@lists.infradead.org; Thu, 10 Oct 2013 09:42:21 +0200 Message-ID: <1381390941.11504.41.camel@coredoba.hi.pengutronix.de> From: Jan =?ISO-8859-1?Q?L=FCbbe?= Date: Thu, 10 Oct 2013 09:42:21 +0200 In-Reply-To: References: Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: FW: Writing to I2C device during Barebox boot To: barebox@lists.infradead.org On Wed, 2013-10-09 at 18:59 -0700, Ivor Kruger wrote: > But this is where my linux knowledge is letting me down. > > How do I get a "handle" to the device in order to call the write_reg > function? > > Your pointers and help is much appreciated. Could you show us your code? That would make helping you much easier. Please see 'man git-send-email' on how to send patches with git. Regards, Jan -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox