From patchwork Thu Sep 3 17:59:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 53038 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id 0B7EA22E3F for ; Thu, 3 Sep 2015 18:10:41 +0000 (UTC) Received: by wicgc1 with SMTP id gc1sf20803670wic.3 for ; Thu, 03 Sep 2015 11:10:40 -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=A/EDrWDHZmwktkdb+mh0wka8HdX3srqd7Bm+pAQNRRg=; b=liH4J8RKHRuTBEVcMUHuvW/Ew+GFIxHZjrHg90aUKxcjDj+bxuv3TolazlWnCZgK2Q LYriFmvM6QSYh+qekoXELemH9XGiQvtqITKxF0qaoKVeTZEa3APG7ZZcs+GR+h+AezDk b91VnkpwIIBvEtRftzQ3xcIoYNxQH6v1Ar8zuJb5IcHs7GuHOR9iVH/isBTEB3SG+qws oFtwlNQ+XPWC6L6UOT6wDg94rttDNv3FcZJWo4Dtb+aa+4ZjuS32vGce/ttVDAVzbzk1 v5lxiOBsseEcQtTMMJ9ESkYkUrCYFbKMZWJW6Rm1ybITFj+Lz1oMu8X6w2+TZ39vT5Ru QZ0g== X-Gm-Message-State: ALoCoQkmmhY+m5ZMsgHtWWzowXVpvN0r6lAZdMvyia3awF610a+TmbhZg5oby2tzMSxq4RXWyvzV X-Received: by 10.112.202.165 with SMTP id kj5mr1257899lbc.5.1441303840333; Thu, 03 Sep 2015 11:10:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.135 with SMTP id ky7ls257725lac.20.gmail; Thu, 03 Sep 2015 11:10:40 -0700 (PDT) X-Received: by 10.152.29.131 with SMTP id k3mr486141lah.85.1441303840147; Thu, 03 Sep 2015 11:10:40 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id xg3si23805239lac.41.2015.09.03.11.10.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Sep 2015 11:10:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbcao8 with SMTP id ao8so29113551lbc.3 for ; Thu, 03 Sep 2015 11:10:40 -0700 (PDT) X-Received: by 10.112.198.202 with SMTP id je10mr10939945lbc.86.1441303840012; Thu, 03 Sep 2015 11:10:40 -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.164.42 with SMTP id yn10csp1439227lbb; Thu, 3 Sep 2015 11:10:37 -0700 (PDT) X-Received: by 10.66.243.225 with SMTP id xb1mr70785563pac.78.1441303837292; Thu, 03 Sep 2015 11:10:37 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yt4si42710132pab.103.2015.09.03.11.10.36; Thu, 03 Sep 2015 11:10:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S1758110AbbICSKd (ORCPT + 28 others); Thu, 3 Sep 2015 14:10:33 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:36531 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758068AbbICSK3 (ORCPT ); Thu, 3 Sep 2015 14:10:29 -0400 Received: by wibz8 with SMTP id z8so107630444wib.1 for ; Thu, 03 Sep 2015 11:10:28 -0700 (PDT) X-Received: by 10.194.192.166 with SMTP id hh6mr51465569wjc.127.1441303828586; Thu, 03 Sep 2015 11:10:28 -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 lk16sm301526wic.6.2015.09.03.11.10.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Sep 2015 11:10: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, linux-media@vger.kernel.org, devicetree@vger.kernel.org, hugues.fruchet@st.com Subject: [PATCH v5 1/6] ARM: DT: STi: stihxxx-b2120: Add pulse-width properties to ssc2 & ssc3 Date: Thu, 3 Sep 2015 18:59:49 +0100 Message-Id: <1441303194-28211-2-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441303194-28211-1-git-send-email-peter.griffin@linaro.org> References: <1441303194-28211-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.179 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 {