From patchwork Fri Aug 28 17:52:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 52800 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 4EB1F22EBF for ; Fri, 28 Aug 2015 17:53:27 +0000 (UTC) Received: by lbcue2 with SMTP id ue2sf19144625lbc.1 for ; Fri, 28 Aug 2015 10:53:26 -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=fknYrohrqLZK9iOPGd9wFVHXbRQ8JEJ+EB+M7LuDhJo=; b=il5ezmJ34ST1/GFVI0oDj+ehuzMsm3Y7UziIkFXE5+eDvz6v8jTXNQbEuIcQ/eJk/g EsFolMFfxtLJv6W6ZKHXMD3qBPwSUvYYiUJ31Uagf514ikb2D7gcw/Y+uVY+ydHjci99 H0mHOCSZDT5IKRZDyo4kiZ8jQC4g5WaNcTapIF/SvTA4xLPXpfr2WtR2h3/HXxfpdaS4 jq/UgvfGV/l3wpVHmLqxpAbRFUk4ApwVUSAGG7lqxhhc8WCsy65Al+ctrE9yEosVQrPA yaT08eZ7O3isjI2UJwO65a8jibFdu2QehtlKsh/4d4AWR/X3QBlJ5HZDC8ZX2Td7v/sb hZKA== X-Gm-Message-State: ALoCoQlGKddH5bsCkDuaAR/puo8XSxi28lVj6eJ2rePJDJaYi0ThekxQg+j0PRVwnoHZQNwTAFdN X-Received: by 10.112.90.225 with SMTP id bz1mr2975266lbb.12.1440784406215; Fri, 28 Aug 2015 10:53:26 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.219.34 with SMTP id pl2ls49082lac.5.gmail; Fri, 28 Aug 2015 10:53:26 -0700 (PDT) X-Received: by 10.112.168.7 with SMTP id zs7mr4595970lbb.26.1440784406082; Fri, 28 Aug 2015 10:53:26 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id w3si6421782law.115.2015.08.28.10.53.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Aug 2015 10:53:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbbpu9 with SMTP id pu9so34388882lbb.3 for ; Fri, 28 Aug 2015 10:53:26 -0700 (PDT) X-Received: by 10.152.36.102 with SMTP id p6mr5317446laj.19.1440784405972; Fri, 28 Aug 2015 10:53:25 -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.151.194 with SMTP id us2csp31557lbb; Fri, 28 Aug 2015 10:53:24 -0700 (PDT) X-Received: by 10.68.68.198 with SMTP id y6mr17657342pbt.30.1440784404777; Fri, 28 Aug 2015 10:53:24 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si11124415pdn.70.2015.08.28.10.53.22; Fri, 28 Aug 2015 10:53:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 S1753352AbbH1Rw6 (ORCPT + 8 others); Fri, 28 Aug 2015 13:52:58 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:35265 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753336AbbH1Rw4 (ORCPT ); Fri, 28 Aug 2015 13:52:56 -0400 Received: by wicne3 with SMTP id ne3so25544847wic.0 for ; Fri, 28 Aug 2015 10:52:55 -0700 (PDT) X-Received: by 10.180.80.138 with SMTP id r10mr5744277wix.18.1440784375358; Fri, 28 Aug 2015 10:52:55 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by smtp.gmail.com with ESMTPSA id d7sm4781243wiz.22.2015.08.28.10.52.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Aug 2015 10:52:54 -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, linux-media@vger.kernel.org, devicetree@vger.kernel.org, valentinrothberg@gmail.com, hugues.fruchet@st.com Subject: [PATCH v3 1/6] ARM: DT: STi: stihxxx-b2120: Add pulse-width properties to ssc2 & ssc3 Date: Fri, 28 Aug 2015 18:52:37 +0100 Message-Id: <1440784362-31217-2-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440784362-31217-1-git-send-email-peter.griffin@linaro.org> References: <1440784362-31217-1-git-send-email-peter.griffin@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.217.182 as permitted sender) smtp.mailfrom=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 Acked-by: Lee Jones --- 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 f589fe4..62994ae 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 {