From patchwork Thu Sep 26 09:54:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime COQUELIN X-Patchwork-Id: 20580 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9CCE723A4E for ; Thu, 26 Sep 2013 09:55:40 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id f12sf740170vbg.11 for ; Thu, 26 Sep 2013 02:55:40 -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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=+nXUVfb4XOHd4myKN51onqAd55Gx4blbW8WsmcIrSXY=; b=QwZxBBAlUoPztWFqo9g3JINn0uT3Hsx7V/A6RujOm41keAtw50nBS54AsT7JReZcky JZxeX/f0o5LBAA8VUlytgv8WCJHYCDgd09KFVLcFjqsscIwAFBgQ2Yjd5+ZOSttTdhrc ixxzRZ4L7WhgQSH/bynV6LfkxTNu20TeZ4bjx/Kj9luLRWqwvZk7Pfmm4hRi3MVm7B42 vImS0I9/RSEBmxFh+2cRLrJFYPFcTdUsC+IhNXk17evqiY53fHlOgj4zad6qlhVqYR9V q+krM330MpUEq7du8YE4uW/41JL1GsPRw9yGctlNdf5LWXq+WmJhJuthlE0HBMdOfYqg BoLg== X-Gm-Message-State: ALoCoQnDkefWh9bl0Aw1mpnmmEbJjtIIGwlmHTw6Jj7Iom74qg2r6ewU3LbNtTOsOU5vZp4ZI1VZ X-Received: by 10.236.147.18 with SMTP id s18mr15711yhj.28.1380189340473; Thu, 26 Sep 2013 02:55:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.24.233 with SMTP id x9ls836197qef.46.gmail; Thu, 26 Sep 2013 02:55:40 -0700 (PDT) X-Received: by 10.58.235.193 with SMTP id uo1mr57698vec.6.1380189340383; Thu, 26 Sep 2013 02:55:40 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id b6si180156veo.98.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 02:55:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id cz12so676648veb.18 for ; Thu, 26 Sep 2013 02:55:10 -0700 (PDT) X-Received: by 10.58.201.73 with SMTP id jy9mr51224vec.20.1380189310292; Thu, 26 Sep 2013 02:55:10 -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 u4csp356369vcz; Thu, 26 Sep 2013 02:55:09 -0700 (PDT) X-Received: by 10.14.87.3 with SMTP id x3mr152555eee.121.1380189309314; Thu, 26 Sep 2013 02:55:09 -0700 (PDT) Received: from eu1sys200aog117.obsmtp.com (eu1sys200aog117.obsmtp.com [207.126.144.143]) by mx.google.com with SMTP id o7si682887eep.318.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 26 Sep 2013 02:55:09 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.143 is neither permitted nor denied by best guess record for domain of maxime.coquelin@st.com) client-ip=207.126.144.143; Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob117.postini.com ([207.126.147.11]) with SMTP ID DSNKUkQEWiMEdffi2caJQZYTpLR3QCDz9sQc@postini.com; Thu, 26 Sep 2013 09:55:09 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 1961C134; Thu, 26 Sep 2013 09:54:15 +0000 (GMT) Received: from mail7.sgp.st.com (unknown [164.129.223.81]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3F6654AA3; Thu, 26 Sep 2013 09:41:28 +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 BNF32256 (AUTH lme00137); Thu, 26 Sep 2013 11:54:32 +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, kernel@stlinux.com, Maxime Coquelin Subject: [PATCH v2 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards Date: Thu, 26 Sep 2013 11:54:29 +0200 Message-Id: <1380189269-5906-1-git-send-email-maxime.coquelin@st.com> X-Mailer: git-send-email 1.7.9.5 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.128.173 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..0078a9e 100644 --- a/arch/arm/boot/dts/stih41x-b2000.dtsi +++ b/arch/arm/boot/dts/stih41x-b2000.dtsi @@ -37,5 +37,12 @@ }; }; + /* HDMI Tx I2C */ + i2c@fed41000 { + /* HDMI V1.3a supports Standard mode only */ + clock-frequency = <100000>; + + status = "okay"; + }; }; }; diff --git a/arch/arm/boot/dts/stih41x-b2020.dtsi b/arch/arm/boot/dts/stih41x-b2020.dtsi index 133e181..70ce017 100644 --- a/arch/arm/boot/dts/stih41x-b2020.dtsi +++ b/arch/arm/boot/dts/stih41x-b2020.dtsi @@ -38,5 +38,25 @@ default-state = "off"; }; }; + + i2c@fed40000 { + status = "okay"; + }; + + /* HDMI Tx I2C */ + i2c@fed41000 { + /* HDMI V1.3a supports Standard mode only */ + clock-frequency = <100000>; + + status = "okay"; + }; + + i2c@fe540000 { + status = "okay"; + }; + + i2c@fe541000 { + status = "okay"; + }; }; };