From patchwork Wed Sep 18 10:01:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime COQUELIN X-Patchwork-Id: 20387 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 19CCA246E9 for ; Wed, 18 Sep 2013 10:03:16 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id j7sf4646283qaq.7 for ; Wed, 18 Sep 2013 03:03:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=CMCGcOUY4IL9m0E/c+sYa6YfAEK7a5iQo7HY2765afE=; b=GHVSNLzHM537pzZwT+UkJCf+uvweWh0LbSXPYXxuq/Qyt38F0Q/AHliOwXxHeddqkq 10gC4hNn4hR1Q/60ccCMM8afHKLqQOs0QYIjAd3WP6rLigEZnC7pxl6D962GtDweOQB5 LygB1doEyA3Ck8hYWZDuXHv2iOG/ZLihkQvBARJQ2ByYXwnUE9jLrKIBjkuBv3gY7nP7 48BojrKBU1NC437h0+JGiqr+3cZx5S/OUbr1NxS3ZoHJYr9hocPvjE9Bamgk09cdYKOF UUmMoXXqiGzM371S0C1G4CkJ93aH4oS7rHBmY1zwL8Xn9SkE/IfCoQYlygfoqMQ+cpkT LoDw== X-Gm-Message-State: ALoCoQkNZK23hnE34XzTuePOChORPh0yAoMXxp3TFl0PctVeL4ScWclXwocjRI8RvUPGjELZaPKU X-Received: by 10.236.69.35 with SMTP id m23mr14627681yhd.6.1379498595922; Wed, 18 Sep 2013 03:03:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.107.136 with SMTP id hc8ls3165365qeb.55.gmail; Wed, 18 Sep 2013 03:03:15 -0700 (PDT) X-Received: by 10.220.186.202 with SMTP id ct10mr37811669vcb.14.1379498595842; Wed, 18 Sep 2013 03:03:15 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id zw10si270229vdb.83.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 03:03:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id hz10so4967161vcb.40 for ; Wed, 18 Sep 2013 03:03:15 -0700 (PDT) X-Received: by 10.220.13.20 with SMTP id z20mr8011196vcz.0.1379498595752; Wed, 18 Sep 2013 03:03:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp209018vcz; Wed, 18 Sep 2013 03:03:15 -0700 (PDT) X-Received: by 10.15.43.13 with SMTP id w13mr58212986eev.37.1379498592146; Wed, 18 Sep 2013 03:03:12 -0700 (PDT) Received: from eu1sys200aog112.obsmtp.com (eu1sys200aog112.obsmtp.com [207.126.144.133]) by mx.google.com with SMTP id 7si910327eeu.218.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 18 Sep 2013 03:03:12 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.133 is neither permitted nor denied by best guess record for domain of maxime.coquelin@st.com) client-ip=207.126.144.133; Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob112.postini.com ([207.126.147.11]) with SMTP ID DSNKUjl6Na565srPkAPLbo4cOGqLuM1jmpVW@postini.com; Wed, 18 Sep 2013 10:03:12 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 656E1DD; Wed, 18 Sep 2013 10:01:43 +0000 (GMT) Received: from mail7.sgp.st.com (unknown [164.129.223.81]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id EB5D54D09; Wed, 18 Sep 2013 09:48:56 +0000 (GMT) Received: from lmenx29l.lme.st.com (lmenx29l.lme.st.com [10.201.23.80] (may be forged)) by mail7.sgp.st.com (MOS 4.3.3-GA) with ESMTP id BMK69497 (AUTH lme00137); Wed, 18 Sep 2013 12:01:58 +0200 From: Maxime COQUELIN To: Wolfram Sang , srinivas.kandagatla@st.com, Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Rob Landley , Russell King , Grant Likely , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Cc: stephen.gallimore@st.com, stuart.menefy@st.com, Lee Jones , gabriel.fernandez@st.com, olivier.clergeaud@st.com, Maxime Coquelin Subject: [PATCH 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards Date: Wed, 18 Sep 2013 12:01:23 +0200 Message-Id: <1379498483-4236-5-git-send-email-maxime.coquelin@st.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1379498483-4236-1-git-send-email-maxime.coquelin@st.com> References: <1379498483-4236-1-git-send-email-maxime.coquelin@st.com> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxime.coquelin@st.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch supplies I2C configuration to B2000 and B2020 based on either STiH415 or STiH416 SoCs. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih41x-b2000.dtsi | 7 +++++++ arch/arm/boot/dts/stih41x-b2020.dtsi | 20 ++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/stih41x-b2000.dtsi b/arch/arm/boot/dts/stih41x-b2000.dtsi index 8e694d2..346cc4bc 100644 --- a/arch/arm/boot/dts/stih41x-b2000.dtsi +++ b/arch/arm/boot/dts/stih41x-b2000.dtsi @@ -37,5 +37,12 @@ }; }; + /* HDMI Tx I2C */ + i2c1: i2c@fed41000{ + status = "okay"; + + /* HDMI V1.3a supports Standard mode only */ + clock-frequency = <100000>; + }; }; }; diff --git a/arch/arm/boot/dts/stih41x-b2020.dtsi b/arch/arm/boot/dts/stih41x-b2020.dtsi index 133e181..10b98da 100644 --- a/arch/arm/boot/dts/stih41x-b2020.dtsi +++ b/arch/arm/boot/dts/stih41x-b2020.dtsi @@ -38,5 +38,25 @@ default-state = "off"; }; }; + + i2c0: i2c@fed40000{ + status = "okay"; + }; + + /* HDMI Tx I2C */ + i2c1: i2c@fed41000{ + status = "okay"; + + /* HDMI V1.3a supports Standard mode only */ + clock-frequency = <100000>; + }; + + sbc_i2c0: i2c@fe540000{ + status = "okay"; + }; + + sbc_i2c1: i2c@fe541000{ + status = "okay"; + }; }; };