From patchwork Tue Oct 30 10:41:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 1669741 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 72EB9DF264 for ; Tue, 30 Oct 2012 10:34:53 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TT97L-00065X-Nl; Tue, 30 Oct 2012 10:32:19 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TT97G-000633-Ea for linux-arm-kernel@lists.infradead.org; Tue, 30 Oct 2012 10:32:15 +0000 Received: by mail-pb0-f49.google.com with SMTP id xa7so85495pbc.36 for ; Tue, 30 Oct 2012 03:32:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=jE4cCAHbfGUoACA/xVkFwAzvtGb7M2TetJSqtrZM3mY=; b=BHsEwmiDhw0IodWWNZEIoFE36387ewaytMrAA1FtBm+Gb6LBt+FYU3wGP1pc3nULLf 0mpWeJP0c6zLJ2coG6PkAtz1s5wxAhtXYKx4YuE9XQhnzMlcK/3FPUNwPNA3L8vYmVEe 0enIryEc7uetk4BkX0PRhgjf+AZ70WlaNIM5P5tdJ4eRHY66du85q0LjGHzoFE4n0KA3 sQczm5H0o+Utc/5g2+lMHiNwlf+TdMPB48aP+TKUpSpWlzRFWsLvX2JLtP9UzEpI/TGH Urzmb9MUVo7QQxfmNPu94X2w0XKm/rDqPVAf26l6/NQQFf7a5hps1cmYXZLovFauVRet /JeQ== Received: by 10.68.219.106 with SMTP id pn10mr27840998pbc.41.1351593133597; Tue, 30 Oct 2012 03:32:13 -0700 (PDT) Received: from chimagu (y104036.dynamic.ppp.asahi-net.or.jp. [118.243.104.36]) by mx.google.com with ESMTPS id x6sm198381pav.29.2012.10.30.03.32.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 03:32:12 -0700 (PDT) Received: from iwamatsu by chimagu with local (Exim 4.80) (envelope-from ) id 1TT9GB-00057t-Ge; Tue, 30 Oct 2012 19:41:27 +0900 From: Nobuhiro Iwamatsu To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] ARM: mvebu: Add support I2C for OpenBlockS AX3 Date: Tue, 30 Oct 2012 19:41:24 +0900 Message-Id: <1351593685-19663-2-git-send-email-iwamatsu@nigauri.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1351593685-19663-1-git-send-email-iwamatsu@nigauri.org> References: <1351593685-19663-1-git-send-email-iwamatsu@nigauri.org> X-Gm-Message-State: ALoCoQmwx5cVMMjVXF4IlKZ1FyMWil7f5o09XaQD8d7yBhZjDDcDV2NvYqm62445Cop8ClWA+iS+ X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: thomas.petazzoni@free-electrons.com, gregory.clement@free-electrons.com, Nobuhiro Iwamatsu X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org OpenBlockS AX3 uses the I2C controller on the mvebu. This validates I2C controller and clock-frequency. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/boot/dts/openblocks-ax3-4.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/openblocks-ax3-4.dts b/arch/arm/boot/dts/openblocks-ax3-4.dts index 7ef8052..c42b9a5 100644 --- a/arch/arm/boot/dts/openblocks-ax3-4.dts +++ b/arch/arm/boot/dts/openblocks-ax3-4.dts @@ -65,5 +65,15 @@ linux,default-trigger = "heartbeat"; }; }; + + i2c@d0011000 { + status = "okay"; + clock-frequency = <400000>; + }; + + i2c@d0011100 { + status = "okay"; + clock-frequency = <400000>; + }; }; };