From patchwork Wed Jun 24 15:10:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 50277 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 50F87228FC for ; Wed, 24 Jun 2015 15:11:40 +0000 (UTC) Received: by lbbvz5 with SMTP id vz5sf11737999lbb.1 for ; Wed, 24 Jun 2015 08:11:39 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=pZrbzUDCHKVYCAivQAIgMMNzKIAHnGxrt3F5cHfYgM8=; b=aFV5q3rNd/MyUNLeiOHgiqc3Sky+VSfJs8W1qzVCtBtrp7H/rNFdDmuL0uzqYcshi7 zuy9v/Jd/AmSRoKPeF+zt4sci8USWGKs6Dph+x42km+CJCrxrHrfI1pUFHUwjSZQTQNM GOjxKsDR5sfq2xP+iEBibS6z+7CbSvPr7pSv9f2AkWEb2Iv0DR6eZy+29y3H+xY4WHEc /mx+TD2XHt2T3bwf2jAMf/uOrJS0P1n6w8tj6khn53RVgOcyEqorlYOkGaCcOfNhhNeQ 1Rk2116AgxxDN4tG1YuxSY8V8H5sYN0Yfdp86o4FOeRzgNXbmBxkNYFVGC3qp4Ft1H9Q 3Yow== X-Gm-Message-State: ALoCoQnc1wLn8rCl0Lk7ZGGgORCr+iO8bLmsFFGgwLqwqWUSaCVwRyWfs0mefYlWy7QximJnqn98 X-Received: by 10.112.13.200 with SMTP id j8mr36245048lbc.14.1435158699292; Wed, 24 Jun 2015 08:11:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.169 with SMTP id l9ls222217lah.52.gmail; Wed, 24 Jun 2015 08:11:39 -0700 (PDT) X-Received: by 10.112.124.71 with SMTP id mg7mr40508484lbb.38.1435158699146; Wed, 24 Jun 2015 08:11:39 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id a3si22242605laa.64.2015.06.24.08.11.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 08:11:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by lacny3 with SMTP id ny3so27934273lac.3 for ; Wed, 24 Jun 2015 08:11:38 -0700 (PDT) X-Received: by 10.112.55.207 with SMTP id u15mr40525905lbp.88.1435158698563; Wed, 24 Jun 2015 08:11:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp3856153lbb; Wed, 24 Jun 2015 08:11:37 -0700 (PDT) X-Received: by 10.68.65.7 with SMTP id t7mr81282447pbs.133.1435158696756; Wed, 24 Jun 2015 08:11:36 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ju8si40293274pbb.43.2015.06.24.08.11.35; Wed, 24 Jun 2015 08:11:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753510AbbFXPLc (ORCPT + 4 others); Wed, 24 Jun 2015 11:11:32 -0400 Received: from mail-wg0-f47.google.com ([74.125.82.47]:35638 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752927AbbFXPLa (ORCPT ); Wed, 24 Jun 2015 11:11:30 -0400 Received: by wgbhy7 with SMTP id hy7so39012504wgb.2 for ; Wed, 24 Jun 2015 08:11:28 -0700 (PDT) X-Received: by 10.180.86.234 with SMTP id s10mr5726962wiz.50.1435158688217; Wed, 24 Jun 2015 08:11:28 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id ju2sm3018019wid.12.2015.06.24.08.11.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Jun 2015 08:11:27 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, mchehab@osg.samsung.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, hugues.fruchet@st.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 01/12] ARM: DT: STi: stihxxx-b2120: Add pulse-width properties to ssc2 & ssc3 Date: Wed, 24 Jun 2015 16:10:59 +0100 Message-Id: <1435158670-7195-2-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435158670-7195-1-git-send-email-peter.griffin@linaro.org> References: <1435158670-7195-1-git-send-email-peter.griffin@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Adding these properties makes the I2C bus to the demodulators much more reliable, and we no longer suffer from I2C errors when tuning. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index c1d8590..1f27589 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -27,12 +27,18 @@ }; }; - i2c@9842000 { + ssc2: i2c@9842000 { status = "okay"; + clock-frequency = <100000>; + st,i2c-min-scl-pulse-width-us = <0>; + st,i2c-min-sda-pulse-width-us = <5>; }; - i2c@9843000 { + ssc3: i2c@9843000 { status = "okay"; + clock-frequency = <100000>; + st,i2c-min-scl-pulse-width-us = <0>; + st,i2c-min-sda-pulse-width-us = <5>; }; i2c@9844000 {