From patchwork Sun Jun 17 17:57:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9372 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 488AE23E4F for ; Sun, 17 Jun 2012 17:57:35 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by fiordland.canonical.com (Postfix) with ESMTP id 083DDA182E3 for ; Sun, 17 Jun 2012 17:57:34 +0000 (UTC) Received: by obbun3 with SMTP id un3so8161639obb.11 for ; Sun, 17 Jun 2012 10:57:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :x-gm-message-state; bh=myw8Bbsrn5SVu2CClgsrNrb6VpNVlgT7QfjNSl9dqJo=; b=VdLrM0yvDY5ubd7lCAPDRVvPokPWcpukm/hzvtbN8fTmKwwHUxu15/1WM4Fm+oxZKo SZO/v/2cA7xRJEZtLi1S4f7/xfUsY9AQkvh2RJd4/7IlcRXCuVMbbraeWzv2tWcd87lR J2bZclnQ82Mwbl8RPcxiD4eYGNg9PdbwETCcw0ZFFMSA1ftcy2LaZAatcD1Z31HeEqAg 78pcSXlw3RH5gWTCtMf6zt1RREb7J+iCli6e4902dXbKv27JTUM6g+ed1R5b/wjpzFMv Z1VV1o6bWxDxdnCRnllxDrA1tTUN0oCETLtsXyfYy0iagpX03A7fuqluuS5MSThqAuxg W7Dg== Received: by 10.50.163.99 with SMTP id yh3mr6498559igb.53.1339955854281; Sun, 17 Jun 2012 10:57:34 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp29794ibb; Sun, 17 Jun 2012 10:57:33 -0700 (PDT) Received: by 10.14.101.138 with SMTP id b10mr2974402eeg.56.1339955852957; Sun, 17 Jun 2012 10:57:32 -0700 (PDT) Received: from eu1sys200aog107.obsmtp.com (eu1sys200aog107.obsmtp.com. [207.126.144.123]) by mx.google.com with SMTP id z11si7350104eem.101.2012.06.17.10.57.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jun 2012 10:57:32 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.123 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.123; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.123 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob107.postini.com ([207.126.147.11]) with SMTP ID DSNKT94ahoncjg5TIFDYvTVzC5pzu4/6hOfx@postini.com; Sun, 17 Jun 2012 17:57:32 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id EEC0F9C; Sun, 17 Jun 2012 17:49:03 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id D8879138C; Sun, 17 Jun 2012 17:57:22 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id CA920A8065; Sun, 17 Jun 2012 19:57:14 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.83.0; Sun, 17 Jun 2012 19:57:21 +0200 From: Linus Walleij To: Cc: Linus Walleij , Srinidhi Kasagar , Lee Jones Subject: [PATCH] ARM: ux500: bump i2c bus speed to 400kHz Date: Sun, 17 Jun 2012 19:57:17 +0200 Message-ID: <1339955837-26691-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.9.2 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlDBDNwpTNwAgpMEKrM09dTVeGL+8BQ+I2OOcK3NeY86Am3JaCjzXArW9XoMlvO1EwyWxNh From: Linus Walleij Some recent discussion revealed inconsistency in the board file for the MOP500 family. The board can very well do 400kHz on the I2C busses, so make it do that. Cc: Srinidhi Kasagar Cc: Lee Jones Signed-off-by: Linus Walleij --- arch/arm/mach-ux500/board-mop500.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 9c74ac5..e441bd7 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -354,13 +354,13 @@ static struct nmk_i2c_controller u8500_i2c##id##_data = { \ /* * The board uses 4 i2c controllers, initialize all of * them with slave data setup time of 250 ns, - * Tx & Rx FIFO threshold values as 8 and standard + * Tx & Rx FIFO threshold values as 1 resp. 8 and fast * mode of operation */ -U8500_I2C_CONTROLLER(0, 0xe, 1, 8, 100000, 200, I2C_FREQ_MODE_FAST); -U8500_I2C_CONTROLLER(1, 0xe, 1, 8, 100000, 200, I2C_FREQ_MODE_FAST); -U8500_I2C_CONTROLLER(2, 0xe, 1, 8, 100000, 200, I2C_FREQ_MODE_FAST); -U8500_I2C_CONTROLLER(3, 0xe, 1, 8, 100000, 200, I2C_FREQ_MODE_FAST); +U8500_I2C_CONTROLLER(0, 0xe, 1, 8, 400000, 200, I2C_FREQ_MODE_FAST); +U8500_I2C_CONTROLLER(1, 0xe, 1, 8, 400000, 200, I2C_FREQ_MODE_FAST); +U8500_I2C_CONTROLLER(2, 0xe, 1, 8, 400000, 200, I2C_FREQ_MODE_FAST); +U8500_I2C_CONTROLLER(3, 0xe, 1, 8, 400000, 200, I2C_FREQ_MODE_FAST); static void __init mop500_i2c_init(struct device *parent) {