From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from exprod5og111.obsmtp.com ([64.18.0.22]) by merlin.infradead.org with smtps (Exim 4.76 #1 (Red Hat Linux)) id 1T7Rvt-0005Ar-VE for barebox@lists.infradead.org; Fri, 31 Aug 2012 14:10:51 +0000 From: Renaud Barbier Date: Fri, 31 Aug 2012 15:10:29 +0100 Message-Id: <1346422235-3949-1-git-send-email-renaud.barbier@ge.com> In-Reply-To: <1346335217-9686-1-git-send-email-renaud.barbier@ge.com> References: <1346335217-9686-1-git-send-email-renaud.barbier@ge.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH V2 0/6 ] IMX i2c driver update for the PPC 85xx To: barebox@lists.infradead.org This patch set prepares the PPC 85xx SOC to use the IMX i2c driver and updates the driver with specific clock settings. The driver name is renamed "i2c-fsl". The patch also introduces a function returning the system clock to calculate the i2c frequency bus divider. Finally, the P2020RDB board support is updated to test the driver on 8-bit and 16-bit I2C devices. This patch has NOT been tested on a IMX board. Renaud Barbier (6): mpc85xx: i2c frequency ppc/asm/fsl_i2c.h is removed mpc85xx: header update IMX driver: replace imx -> fsl i2c: adapt the i2c-imx driver to mpc85xx machines ppc: p2020rdb i2c support arch/ppc/boards/freescale-p2020rdb/p2020rdb.c | 14 +- arch/ppc/configs/p2020rdb_defconfig | 3 + arch/ppc/include/asm/fsl_i2c.h | 86 ------ .../include/mach/{clocks.h => clock.h} | 1 + arch/ppc/mach-mpc85xx/include/mach/immap_85xx.h | 3 + arch/ppc/mach-mpc85xx/speed.c | 11 +- arch/ppc/mach-mpc85xx/time.c | 2 +- drivers/i2c/busses/Kconfig | 4 +- drivers/i2c/busses/i2c-imx.c | 324 ++++++++++++-------- 9 files changed, 230 insertions(+), 218 deletions(-) delete mode 100644 arch/ppc/include/asm/fsl_i2c.h rename arch/ppc/mach-mpc85xx/include/mach/{clocks.h => clock.h} (91%) _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox