From patchwork Mon Oct 14 12:46:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime COQUELIN X-Patchwork-Id: 21001 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EC1BF20DA3 for ; Mon, 14 Oct 2013 12:48:55 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id lf12sf13984224vcb.6 for ; Mon, 14 Oct 2013 05:48:55 -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=V/LEfwXnD3IUikjq7C6nRQxWaLIztWnRbvQ3LPEOI0M=; b=fF9f6g9mpTJC9sQSJ05/YbxZx04IapR9Mc1Zb8ZYsxdpXx7rOVtjlF+vM+yW3JZn4X o9cVAixc7oiZd0r3LRbs3wlvsekN9doPS55KN6vPXH56UptPEEKHHfKj2WQgBL3jNxQd YHwqq2nw/+MBgPKnlOWOx5tZSKAGYRMzD8fm0AJuXPunWNjUaX3jx1hfxNfxLByWis0c NsM/nITnsSQyhCiMDWfQAuC6vbTGk4+5rE2sHyJ7fXpKjO+tSn3LNBBZntkdV/LZR7NB jVefRGVWfr7gwyidLJSnghmnVUij5RqTOH9v3Sh7Ph3/ZYXUrIYaBFvo/7sJVEg1Adiy JqcQ== X-Received: by 10.58.201.36 with SMTP id jx4mr2161178vec.35.1381754935381; Mon, 14 Oct 2013 05:48:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.200 with SMTP id m8ls25320qeh.1.gmail; Mon, 14 Oct 2013 05:48:55 -0700 (PDT) X-Received: by 10.221.47.193 with SMTP id ut1mr34677529vcb.8.1381754935296; Mon, 14 Oct 2013 05:48:55 -0700 (PDT) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id bz3si21048502vcb.123.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Oct 2013 05:48:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.177 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.177; Received: by mail-ve0-f177.google.com with SMTP id cz12so565752veb.8 for ; Mon, 14 Oct 2013 05:48:55 -0700 (PDT) X-Gm-Message-State: ALoCoQmMgN2QMjC04yZsI2h/3iu1V4ljEVkCVlckHWJqjipvgE84VLvox5N2QTQui57xdKeISvS4 X-Received: by 10.52.169.37 with SMTP id ab5mr135449vdc.31.1381754935187; Mon, 14 Oct 2013 05:48:55 -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 u4csp220996vcz; Mon, 14 Oct 2013 05:48:54 -0700 (PDT) X-Received: by 10.14.194.131 with SMTP id m3mr56141610een.45.1381754933601; Mon, 14 Oct 2013 05:48:53 -0700 (PDT) Received: from eu1sys200aog103.obsmtp.com (eu1sys200aog103.obsmtp.com [207.126.144.115]) by mx.google.com with SMTP id z9si52647500eeo.196.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 14 Oct 2013 05:48:53 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.115 is neither permitted nor denied by best guess record for domain of maxime.coquelin@st.com) client-ip=207.126.144.115; Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKUlvoDrvx8mC1xThPF1xJ4+asZvs9mIn+@postini.com; Mon, 14 Oct 2013 12:48:53 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 F07BABA; Mon, 14 Oct 2013 12:46:38 +0000 (GMT) Received: from mail7.sgp.st.com (unknown [164.129.223.81]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 48D265048; Mon, 14 Oct 2013 12:33:51 +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 BOS40149 (AUTH lme00137); Mon, 14 Oct 2013 14:47:01 +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 v5 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards Date: Mon, 14 Oct 2013 14:46:52 +0200 Message-Id: <1381754813-4679-5-git-send-email-maxime.coquelin@st.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1381754813-4679-1-git-send-email-maxime.coquelin@st.com> References: <1381754813-4679-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.128.177 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..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"; + }; }; };