From patchwork Tue Oct 8 16:42:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime COQUELIN X-Patchwork-Id: 20903 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A1B5924697 for ; Tue, 8 Oct 2013 16:44:30 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id u18sf16968959qcx.6 for ; Tue, 08 Oct 2013 09:44:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state: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=tAHQeP6lEu9UFEUbC6tfdKYFNAfFHkNVRWhxVO6BuBQ=; b=dNErOzJ4EhXpJF+Lby2hj8oB2lPbMzfCgqWx7OEStVjqMJPsd+sDwdK62Ro6zUYeSu fNJNbHcnx5dhirnbqORCrZupbLhBNnBic3+WA/6vLvEKpFmGEEBjYRO5nc8YoVgVjBc6 pTz0sD/gqs4gBNoD6EhtW/d4Fnmlw628WYoLbCS7efRkBDdE+g4SZWRQua68QHUU/4lL 4Yd+mv8qIJgk31SMhzgkg8z271IwaeyPE64p+HHanqj4NvIluOrSWEM299T40OlU0sH5 6rZ4I0i0rpHaDvxVnPjsoMkeWOWUziTceZVy+r30qWTjCshavuabOs7sKvyWKYFR4F3U 4qQA== X-Received: by 10.236.6.134 with SMTP id 6mr2376437yhn.7.1381250670497; Tue, 08 Oct 2013 09:44:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.6 with SMTP id f6ls312361qeh.3.gmail; Tue, 08 Oct 2013 09:44:30 -0700 (PDT) X-Received: by 10.52.228.137 with SMTP id si9mr1389984vdc.29.1381250670423; Tue, 08 Oct 2013 09:44:30 -0700 (PDT) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx.google.com with ESMTPS id gq10si9824691vdc.134.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 09:44:30 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.42; Received: by mail-vb0-f42.google.com with SMTP id e12so4568636vbg.29 for ; Tue, 08 Oct 2013 09:44:30 -0700 (PDT) X-Gm-Message-State: ALoCoQk+EbZUZD/t8cE53/y0rB1knmXbmEtRXEMpsxw0ure2+KWrePXbTephws/hpPM38Ga2oSgM X-Received: by 10.52.32.129 with SMTP id j1mr710393vdi.55.1381250670275; Tue, 08 Oct 2013 09:44:30 -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 u4csp219449vcz; Tue, 8 Oct 2013 09:44:29 -0700 (PDT) X-Received: by 10.15.73.130 with SMTP id h2mr2901941eey.56.1381250664102; Tue, 08 Oct 2013 09:44:24 -0700 (PDT) Received: from eu1sys200aog101.obsmtp.com (eu1sys200aog101.obsmtp.com [207.126.144.111]) by mx.google.com with SMTP id x49si28455897een.234.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 08 Oct 2013 09:44:24 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.111 is neither permitted nor denied by best guess record for domain of maxime.coquelin@st.com) client-ip=207.126.144.111; Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob101.postini.com ([207.126.147.11]) with SMTP ID DSNKUlQ2Qag170OpycNwQjSARDGTGodwTonN@postini.com; Tue, 08 Oct 2013 16:44:24 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 3D769130; Tue, 8 Oct 2013 16:42:49 +0000 (GMT) Received: from mail7.sgp.st.com (unknown [164.129.223.81]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8AEC32A92; Tue, 8 Oct 2013 16:30:00 +0000 (GMT) Received: from lmenx29l.bri.st.com (lmenx29l.bri.st.com [10.65.5.31]) by mail7.sgp.st.com (MOS 4.3.3-GA) with ESMTP id BOG28665 (AUTH lme00137); Tue, 8 Oct 2013 18:43:08 +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, Maxime Coquelin Subject: [PATCH v4 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards Date: Tue, 8 Oct 2013 18:42:56 +0200 Message-Id: <1381250576-7916-5-git-send-email-maxime.coquelin@st.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1381250576-7916-1-git-send-email-maxime.coquelin@st.com> References: <1381250576-7916-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.212.42 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. Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih41x-b2000.dtsi | 9 +++++++++ arch/arm/boot/dts/stih41x-b2020.dtsi | 22 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/stih41x-b2000.dtsi b/arch/arm/boot/dts/stih41x-b2000.dtsi index 8e694d2..333f5fc 100644 --- a/arch/arm/boot/dts/stih41x-b2000.dtsi +++ b/arch/arm/boot/dts/stih41x-b2000.dtsi @@ -37,5 +37,14 @@ }; }; + /* HDMI Tx I2C */ + i2c@fed41000 { + /* HDMI V1.3a supports Standard mode only */ + clock-frequency = <100000>; + st,i2c-min-scl-pulse-width-us = <0>; + st,i2c-min-sda-pulse-width-us = <5>; + + status = "okay"; + }; }; }; diff --git a/arch/arm/boot/dts/stih41x-b2020.dtsi b/arch/arm/boot/dts/stih41x-b2020.dtsi index 133e181..834bd87 100644 --- a/arch/arm/boot/dts/stih41x-b2020.dtsi +++ b/arch/arm/boot/dts/stih41x-b2020.dtsi @@ -38,5 +38,27 @@ default-state = "off"; }; }; + + i2c@fed40000 { + status = "okay"; + }; + + /* HDMI Tx I2C */ + i2c@fed41000 { + /* HDMI V1.3a supports Standard mode only */ + clock-frequency = <100000>; + st,i2c-min-scl-pulse-width-us = <0>; + st,i2c-min-sda-pulse-width-us = <5>; + + status = "okay"; + }; + + i2c@fe540000 { + status = "okay"; + }; + + i2c@fe541000 { + status = "okay"; + }; }; };