From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Tue, 04 Sep 2012 10:23:39 +0200 Subject: [U-Boot] [PATCH v3 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards In-Reply-To: <1346687902-5979-2-git-send-email-l.majewski@samsung.com> References: <1346142797-17645-1-git-send-email-l.majewski@samsung.com> <1346687902-5979-1-git-send-email-l.majewski@samsung.com> <1346687902-5979-2-git-send-email-l.majewski@samsung.com> Message-ID: <20120904102339.0dd5302d@amdc308.digital.local> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Heiko, > Common definition of I2C_{0|1} I2C buses is provided at . > +/* Multi I2C busses handling */ > +#ifdef CONFIG_SOFT_I2C_MULTI_BUS > +enum { > + I2C_0, > + I2C_1, > +}; > + I've got a second thought about this numbering. In the case of Trats: I2C_0 in reality is I2C_5 (this from schematic/chip numbergin) and I2C_1 is I2C_9. This numbering (I2C_5 and I2C_9) was proposed for v2 of this patch. I will prepare v4 of this patch with a palatable I2C numbering solution. -- Best regards, Lukasz Majewski Samsung Poland R&D Center | Linux Platform Group