From patchwork Mon Sep 30 10:38:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 174734 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp6943126ill; Mon, 30 Sep 2019 03:39:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxk3Pbg8jDhjzkUU2xYIoQiwhT6SCFjegJySpRsLXmk2yiH3DcUWRLExVL59H+n0q0smj8u X-Received: by 2002:a17:902:6507:: with SMTP id b7mr19385984plk.37.1569839951485; Mon, 30 Sep 2019 03:39:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569839951; cv=none; d=google.com; s=arc-20160816; b=AoAfWStAAs8MbZ2KT3KEy9aN1PDtav7xnMQf8HVaBHdwkekwySrha2quJ7XIYgmrCA iBNTtodAaztG4hgQ5/9vunHfWmaoMeasWhyV6CpQ5W+vleXCNQVUPP+eLcXtSJgS5gW0 1Qq1N4UqJHHH50+oIyYW5dYraKTWjrbWNULNcwFxXHdhW/hBeP8i8L29zgcXoz2CIV5o JHHbb+loijIudy2nHc5bxSszxgmIJnX1C7vSQySppuilC4PFO561YgLwQPKfqy+2wAWm mbhw0V27ak8ISdaxEC3CiIi/zfnbJcwykprG1uRkDcQFiyVscVZ/u6GmtAjFs/6kenVR kfHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=NVpJuyFYto+olf8p7++MnW1eE3ynuyKROHzQXMyQVQU=; b=jR7MdqoKGbgIboptb9abSwBLHiIh5yLlCFcTqD4dkC9T8Ig+qLvTLRjfxdchdbN0gE RFzgr8aWmkpDy/e17piFoEF/+46eUUGAbij0NGP0mgYSq9fVmBiDlcKzJEipphIAF7J9 OVD3ug3bO73q2l1kxx4+aEHpJpvQuT3NpfdKY/0nSoWWwt9NQAqCoV3OJ6EELuANuikr cP/iE6uFpDGgNmIus7A9cyQc4URPqvvujNd39E5fFwRlEdgQfgY09S2RmYjBMSChWodA ZcXArFpm7EWYKewXkgbCERH2t5wlQ5wsEXo3xijmkXPj8lEikryKQy+g9mVEs4zI008M i1Pg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id j17si13993337pgj.15.2019.09.30.03.39.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Sep 2019 03:39:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 725776E25B; Mon, 30 Sep 2019 10:39:03 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by gabe.freedesktop.org (Postfix) with ESMTPS id BFAF26E24B for ; Mon, 30 Sep 2019 10:38:56 +0000 (UTC) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8UAcrem100908; Mon, 30 Sep 2019 05:38:53 -0500 Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8UAcrM8082922 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 30 Sep 2019 05:38:53 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 30 Sep 2019 05:38:53 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Mon, 30 Sep 2019 05:38:53 -0500 Received: from deskari.lan (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8UAck1x011864; Mon, 30 Sep 2019 05:38:51 -0500 From: Tomi Valkeinen To: , Laurent Pinchart Subject: [PATCHv2 3/7] drm/omap: tweak HDMI DDC timings Date: Mon, 30 Sep 2019 13:38:36 +0300 Message-ID: <20190930103840.18970-4-tomi.valkeinen@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190930103840.18970-1-tomi.valkeinen@ti.com> References: <20190930103840.18970-1-tomi.valkeinen@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569839933; bh=v4br9vLAElQIju3/I5Jyc3MIFXLM6Om8whf0tMowHd4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=i3oOJIzKeM4Qvme0uSGimehcY0q21VorPH0fnFUsEWppu+93OVRwlVic3tExqqNIE zLVX0SDiiPrSZTakHjYcLJLbRKrn3/siG7NItBJv4Rf4abry45B6vsqZBfSHHijoSv yG8KXGhKMfS1VljiLR6oPzxjR9kR37yG/OBLdFQg= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alejandro Hernandez , Tomi Valkeinen , Jyri Sarha Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Alejandro Hernandez A "HDMI I2C Master Error" is sometimes reported with the current DDC SCL timings. The current settings for a 10us SCL period (100 KHz) causes the error with some displays. This patch increases the SCL signal period from 10us to 10.2us, with the new settings the error is not observed Signed-off-by: Alejandro Hernandez Signed-off-by: Tomi Valkeinen Acked-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/dss/hdmi5_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c b/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c index 7400fb99d453..4c588ec7634a 100644 --- a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c +++ b/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c @@ -39,8 +39,8 @@ static void hdmi_core_ddc_init(struct hdmi_core_data *core) { void __iomem *base = core->base; const unsigned long long iclk = 266000000; /* DSS L3 ICLK */ - const unsigned int ss_scl_high = 4600; /* ns */ - const unsigned int ss_scl_low = 5400; /* ns */ + const unsigned int ss_scl_high = 4700; /* ns */ + const unsigned int ss_scl_low = 5500; /* ns */ const unsigned int fs_scl_high = 600; /* ns */ const unsigned int fs_scl_low = 1300; /* ns */ const unsigned int sda_hold = 1000; /* ns */