From patchwork Mon Sep 2 12:53:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 172750 Delivered-To: patch@linaro.org Received: by 2002:ac9:5c4b:0:0:0:0:0 with SMTP id r11csp4168368ocp; Mon, 2 Sep 2019 05:54:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqycXCRrpS1RDZPaPIOrPfEvppcmeCHHWRmW4nm0AMmMMDjED1shaTPI86cz6QAHKe+l7+Hw X-Received: by 2002:a17:902:1e3:: with SMTP id b90mr30226563plb.82.1567428886561; Mon, 02 Sep 2019 05:54:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567428886; cv=none; d=google.com; s=arc-20160816; b=esQpz8XcKbULNuxueeDIs3/ITiHmMfAVXcorLAPp6hJQn2pQElgmLYeQ+VaPSduy5H tLi4l+TP91zPNvrkV3sBecnmjBe6Se7+ILrMzJBCKU/O+j4l7xsMcIGCWEVVVa+DKq9/ p6xYCEDoHYdz0lt6OiLCbyc3nhGAaof5ejyv20p0MXg9UeOYtgPrV6sWUD6+nJiqR+EP 0w0p5kFl2yAwbWHKzwAx/pp2RFHkWVtxKhjeC/1VhoB50Pz6mZ69sIsv8NFKosIHgOq1 fqeOT3/LZ6piq0fn16Sg7Xk5SkO64o2D7lW99RGM/eD25hEwMTiHdjMa5p94IIcX+f1j m8jg== 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=SB9LKpvCiNybOJbPgWe31wMsa83imZnX7hE854c2ArY=; b=tyBRRqwz4fuHgOuJF5mcZhJajh0C1aMmKeyJHOXhMmScIOKn8GVBctiFs6zDxGSZUo wQVA2K4/9A8DYHbr6GmFc0Mw51KTrMmnB5bT6xSkQ6iZKZIFAUFeb7PGMT8zJa6qndYB 6HjNehK/g7tnOn/E1QGQbpwbm+amyvjGy7OJ8vsQ8Hsay7Qm36puMpe8gYIKzRrcQ6MX 0lsnxMu/fnkloZB3MYHKpkj5YXoUvU34mywKvG3BL6x9G6lxbCc79/4ljMiSu0jkqJxs cNn9lkxRtCyT5c+rSstYwostvvuLhes+m8Qt5A0TB0CBPGlBG0JI/YQocqGdLTfwk4jL MdeA== 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 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id y3si9812256pfe.179.2019.09.02.05.54.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Sep 2019 05:54:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 64B7F8907B; Mon, 2 Sep 2019 12:54:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1AC978907B for ; Mon, 2 Sep 2019 12:54:44 +0000 (UTC) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x82CseRS021109; Mon, 2 Sep 2019 07:54:41 -0500 Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x82Csefc000693 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 2 Sep 2019 07:54:40 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 2 Sep 2019 07:54:40 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE113.ent.ti.com (10.64.6.34) 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, 2 Sep 2019 07:54:40 -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 x82CsYYK126767; Mon, 2 Sep 2019 07:54:38 -0500 From: Tomi Valkeinen To: , Laurent Pinchart Subject: [PATCH 2/7] drm/omap: tweak HDMI DDC timings Date: Mon, 2 Sep 2019 15:53:54 +0300 Message-ID: <20190902125359.18001-3-tomi.valkeinen@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190902125359.18001-1-tomi.valkeinen@ti.com> References: <20190902125359.18001-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=1567428881; bh=mYX3M9lARZ7RahIZ6yhHUt6HTWrhvGOs4KiLMgz+DEY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=PhDzanepuBPuaApuXUUyKKrUSTvXqdWhPNOkFwIG7ghF0IsKLaOS9NZs5XZKrFmi5 bdc00H1bmEf/BVOz8HwqgB2dyrkyQwo91SuHsZS4CChioYJa9pQDVRaaBEOZO+Dnp2 388WD6tsWlK4EUgMR4mcM2B6xGeOo3SKM+VGhT6E= 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 */