From patchwork Wed Nov 6 08:25:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime COQUELIN X-Patchwork-Id: 21347 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 81C1A25E16 for ; Wed, 6 Nov 2013 08:27:26 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id tp5sf29148081ieb.5 for ; Wed, 06 Nov 2013 00:27:26 -0800 (PST) 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=V/LEfwXnD3IUikjq7C6nRQxWaLIztWnRbvQ3LPEOI0M=; b=JnayeAeR+yqmDSvCkQcVxO/cKhMMAWRBJc/t8ghMaXV6UEQsf+RY0CzZmCHN/IK75R ZXCgzXcz3uiq8Ws6ln+bgyNccABRYicOzBe9MGPT4ybn794YTi9fwtJzdTDvpnbVXA/W cvI3hBTcLBG2q3UB7e26CZ0XZovL7fgB8piPGbYtwoj9Ldbd+Fi5yOnaQUGUzICXS2eE jZpSFj/w+R/+xIQB+Xo49Y2wSfmakxkm53dukhw0rdaigQB2ea2KJUDEmyPMb2uHYiCI fkP/P/YIm9kSoekQGoTr4aINhAW60Ky9+t5D4k9MiYoy/sxJUlhuU+kpbO4RsrEH8rlv TR0A== X-Gm-Message-State: ALoCoQmnZEC2u4gjZJbUellwMBSrdsrcXsm8G/YN080e+zGf3jxv16rTSlVxnyxEbwU77sSeiz9U X-Received: by 10.182.111.134 with SMTP id ii6mr678241obb.38.1383726446140; Wed, 06 Nov 2013 00:27:26 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.229 with SMTP id n5ls529549qeh.73.gmail; Wed, 06 Nov 2013 00:27:26 -0800 (PST) X-Received: by 10.52.163.65 with SMTP id yg1mr14302vdb.58.1383726446006; Wed, 06 Nov 2013 00:27:26 -0800 (PST) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id k10si8032793vca.49.2013.11.06.00.27.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Nov 2013 00:27:25 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.172 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.172; Received: by mail-ve0-f172.google.com with SMTP id cz12so3378916veb.3 for ; Wed, 06 Nov 2013 00:27:25 -0800 (PST) X-Received: by 10.221.64.17 with SMTP id xg17mr1384406vcb.5.1383726445866; Wed, 06 Nov 2013 00:27:25 -0800 (PST) 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 u4csp267375vcz; Wed, 6 Nov 2013 00:27:25 -0800 (PST) X-Received: by 10.14.87.3 with SMTP id x3mr1876527eee.76.1383726444638; Wed, 06 Nov 2013 00:27:24 -0800 (PST) Received: from eu1sys200aog103.obsmtp.com (eu1sys200aog103.obsmtp.com [207.126.144.115]) by mx.google.com with SMTP id m44si17362429eey.154.2013.11.06.00.26.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Nov 2013 00:27:24 -0800 (PST) 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 DSNKUnn9SDG1nKIfv6ZEqLCf5XYpo5Q+ylic@postini.com; Wed, 06 Nov 2013 08:27: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 9F28B120; Wed, 6 Nov 2013 08:25:15 +0000 (GMT) Received: from mail7.sgp.st.com (unknown [164.129.223.81]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2065C4C95; Wed, 6 Nov 2013 08:12:23 +0000 (GMT) Received: from lmenx29l.lme.st.com ([10.201.19.60]) by mail7.sgp.st.com (MOS 4.3.3-GA) with ESMTP id BQV08838 (AUTH lme00137); Wed, 6 Nov 2013 09:25:42 +0100 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 Subject: [PATCH v6 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards Date: Wed, 6 Nov 2013 09:25:15 +0100 Message-Id: <1383726315-27534-5-git-send-email-maxime.coquelin@st.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1383726315-27534-1-git-send-email-maxime.coquelin@st.com> References: <1383726315-27534-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.172 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"; + }; }; };