From patchwork Tue Oct 1 10:39:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime COQUELIN X-Patchwork-Id: 20718 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 5270A23920 for ; Tue, 1 Oct 2013 10:40:01 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id j7sf5480715qaq.7 for ; Tue, 01 Oct 2013 03:40:01 -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=C4qgodbpx7Z5+UcndIwiMD+i6vyes3rl6HvlvO3bG8I=; b=lpTot6kRop48LG5pDG4GPvSluQwTHVit5kSAfdJVdRvLjMG+pKH6R87CzWxfISR/Jv ckKob1qyYCzzxWgZqSf7IIVBvY9Ug07h7qbLj3EuX3gH4QFTo2no91Sc8U6w9XkgFkda n7BfWW8O5SaZM30wJbAhD2TexolMIFFmehSrprTNZ0eyPtmP5YNPnoTMtUYq7zjXl+qW 8L1X+gOp5nlJUPxaHIjxFg/K5UmZMVPPlOMWFjWmg72cWEUryi9Dxs4MXZxwRtwhIY8R GSogwPE37I8rN2rXwgCTCfU5bdmj9I/FUK4/J2vdDen2mmYEIiXDOKdcxTGws2mXWv/t I03Q== X-Received: by 10.236.51.9 with SMTP id a9mr8131535yhc.41.1380624001140; Tue, 01 Oct 2013 03:40:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.104.111 with SMTP id gd15ls15728qeb.68.gmail; Tue, 01 Oct 2013 03:40:01 -0700 (PDT) X-Received: by 10.221.40.10 with SMTP id to10mr153763vcb.22.1380624001037; Tue, 01 Oct 2013 03:40:01 -0700 (PDT) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id sc5si1170030vdc.74.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Oct 2013 03:40:01 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.53 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.53; Received: by mail-vb0-f53.google.com with SMTP id i3so4584886vbh.26 for ; Tue, 01 Oct 2013 03:40:01 -0700 (PDT) X-Gm-Message-State: ALoCoQnr4/ddufXDXb4wLzZVrz8rbGsQEvvWHsp2OtvoKaOBofqjAs6xbUwe8YWRBWHmHcU4SIQz X-Received: by 10.221.44.136 with SMTP id ug8mr27143629vcb.13.1380624000920; Tue, 01 Oct 2013 03:40:00 -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 u4csp7224vcz; Tue, 1 Oct 2013 03:40:00 -0700 (PDT) X-Received: by 10.14.109.66 with SMTP id r42mr45222268eeg.43.1380623998609; Tue, 01 Oct 2013 03:39:58 -0700 (PDT) Received: from eu1sys200aog104.obsmtp.com (eu1sys200aog104.obsmtp.com [207.126.144.117]) by mx.google.com with SMTP id h5si4229953eeg.50.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 01 Oct 2013 03:39:58 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.117 is neither permitted nor denied by best guess record for domain of maxime.coquelin@st.com) client-ip=207.126.144.117; Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob104.postini.com ([207.126.147.11]) with SMTP ID DSNKUkqmWl+Udz2pR5d0vewp9xtsgxSsy7Ah@postini.com; Tue, 01 Oct 2013 10:39:58 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 7131C33F; Tue, 1 Oct 2013 10:39:00 +0000 (GMT) Received: from mail7.sgp.st.com (unknown [164.129.223.81]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2EE9B4E8D; Tue, 1 Oct 2013 10:26:14 +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 BNP59701 (AUTH lme00137); Tue, 1 Oct 2013 12:39:19 +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 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards Date: Tue, 1 Oct 2013 12:39:12 +0200 Message-Id: <1380623952-4252-5-git-send-email-maxime.coquelin@st.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380623952-4252-1-git-send-email-maxime.coquelin@st.com> References: <1380623952-4252-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.53 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 | 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..1e6aa92 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>; + i2c-min-scl-pulse-width-us = <0>; + 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..0ef0a69 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>; + i2c-min-scl-pulse-width-us = <0>; + i2c-min-sda-pulse-width-us = <5>; + + status = "okay"; + }; + + i2c@fe540000 { + status = "okay"; + }; + + i2c@fe541000 { + status = "okay"; + }; }; };