Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2497491imn; Tue, 2 Aug 2022 05:18:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vQsAWChkbFaXXjp0Vp9LGCTaZeBmhhJYDKfaVKOmOChuAfsA0Bscg+8rqMzvuId6MxL40h X-Received: by 2002:a05:6402:424a:b0:43b:e401:2ed0 with SMTP id g10-20020a056402424a00b0043be4012ed0mr20596198edb.266.1659442738925; Tue, 02 Aug 2022 05:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659442738; cv=none; d=google.com; s=arc-20160816; b=BV/lMvr6AIgbe/U1NZaL9r/xB1O2IUHXc8nacGMHQg/QWhnFEcMgIfAYGzfIPAu5ez VCDm0Sj/JHU973jwFv/pohdRdAEgeysJ6EoZr+z8/eqREzHp1Bq+5idTx8jzcejArhjY Rprg/u4X3jxH1AjxA2DhHlNetFspxrEHSdI4VR8bdzQYGQ++vRiQAdWztpFfu3uBN+bo kMjdblApgyQW1kQtyPXCjiQ7ibbcI7FmQJi5E37QGb9BdgJmCjiXhoCPFQuTVjqREe/o MeXdJLKrpgg+XDkbBvBR/AuwNCruzUdknErLhBU9/Mwy3L2Zya9mOfDIzWzCiAwnl+Dd 6RvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kHhoRx/ka0EpIFy/pWjymvtNViMFXpw0odHJay66ZOg=; b=RMH8U9VWL0A9SX24/a8rwoiiJgAWi5a36YkKCkzakUHaLc9JdJ6nO8Zt/oj7FXP53e A2Df15VvCiBdgcrhcbeJVFwMXKUKHGeeQ0cW7uRZeZ7DkxOwNUNYWAapmOOuqoerdDAK 74hyQEmz/D2itZXIcOapCG4SN32zDcv7kOcG4w4Tapk+2tOTrcgUrzOkUc8YCy3JzqVY 0h7ywKPqgW5zT1dfswwKqtjELgzGZBgs8pJ96WbPfjrphAX7mH/Vyltv+THPQePP/9i6 9qOv3DQZAOqh+ibz4fBkO4nX2IBQg6bJypIlW7730Eb4jUH+njySDOSOBF59e7eeQHQc YRJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GJ8JCx8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go42-20020a1709070daa00b00730a6a0371csi333436ejc.86.2022.08.02.05.18.34; Tue, 02 Aug 2022 05:18:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GJ8JCx8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236975AbiHBMPH (ORCPT + 99 others); Tue, 2 Aug 2022 08:15:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236976AbiHBMOj (ORCPT ); Tue, 2 Aug 2022 08:14:39 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77DAD4F6A1 for ; Tue, 2 Aug 2022 05:14:08 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id i14so6845538ejg.6 for ; Tue, 02 Aug 2022 05:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=kHhoRx/ka0EpIFy/pWjymvtNViMFXpw0odHJay66ZOg=; b=GJ8JCx8PY/wZG4ScSuHIpNRuNQ7+kailZr5JV6d8dX/R+9ZS6bnt+zOZMq8NH5s4Hf VaVooVH6fHbWCuuOnq9FkUffehnCj2j8n5Jb5CpV6IDa5AB6oQLmTgR0Vz6+bRPBDOR7 jEIKJAoS1vmyL5kd+XSdtQXaW/Fb2E1HRoLTuU77+8QOUORY4LI+9eO5lNGS+0HDtnZG RuRZq/mID4yDKGuHEx0K8tqfG2IqWaTTgg+LnD9QiSGcSB+/MlMSZ+zAD62hK0o7KoPr wZJzUGU02MlRX6pqn31w5Frew+XMoctXAd9QS5ER+55PEeWBuDOzHsP3o3R/9/yPAar7 Dn8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=kHhoRx/ka0EpIFy/pWjymvtNViMFXpw0odHJay66ZOg=; b=owk+hM5RuIaC3LeU/T8rC0JPaDIe47P+xJUCPFzDuhkRH54Qqm4oKYTkXmoHg5i/Ya HUtMgZXCCi/v7ZMJAoCB6WumUrpPgQr7IrDk7jkcxxjmlc6Agm1mG2tJPzEpt30C137V 2m6JKvHRWdJO+T0+5IcxmkE8OS04B32YR81vtsxo0HPxhWCRhah+ZkJ/IKWM45vUfU6L JuMjt9dTZEGg91bsHZxXTygb5DPbYMiEX/9jo4SXti/n7JVW7B2LI1zD7JnQXC8CGihk W45HtXtF7/tRJUa/e7hsfoez9eyryMefowpINPXNBEoBXTc3H8J9hEGl7Vk7/2t7f4vc Rylw== X-Gm-Message-State: AJIora+A+3bPmxgD4/LnlQlFsrowY9vFQ4/LYd+3n1Gwfc5khJZcZCDo LK/HhyzEpyt5pAhMCkPnSMgc2UxEMkbDdQYVy6U= X-Received: by 2002:a17:907:7241:b0:72b:347b:17a1 with SMTP id ds1-20020a170907724100b0072b347b17a1mr16607892ejc.32.1659442446751; Tue, 02 Aug 2022 05:14:06 -0700 (PDT) MIME-Version: 1.0 References: <20220801225538.qtdb5zd66g6ipewz@pengutronix.de> <20220802080820.jyf3tfpgcj3pvbtp@pengutronix.de> In-Reply-To: <20220802080820.jyf3tfpgcj3pvbtp@pengutronix.de> From: Adam Ford Date: Tue, 2 Aug 2022 07:13:55 -0500 Message-ID: Subject: Re: imx8mm lcdif->dsi->adv7535 no video, no errors To: Marco Felsch Cc: Fabio Estevam , Marek Vasut , Stefan Agner , Jernej Skrabec , Daniel Vetter , Jonas Karlman , David Airlie , dri-devel , Neil Armstrong , NXP Linux Team , Robert Foss , Linux Kernel Mailing List , Pengutronix Kernel Team , Laurent Pinchart , Andrzej Hajda , Marek Szyprowski , Shawn Guo , Sascha Hauer , arm-soc , Jagan Teki , robert.chiras@nxp.com, laurentiu.palcu@nxp.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 2, 2022 at 3:08 AM Marco Felsch wrote: > > Hi Adam, Fabio, > > On 22-08-01, Adam Ford wrote: > > On Mon, Aug 1, 2022 at 8:53 PM Fabio Estevam wrote: > > > > > > On Mon, Aug 1, 2022 at 10:39 PM Adam Ford wrote: > > > > > > > I managed to get my HDMI output working. I had the lanes set to 2 > > > > instead of 4. Once I switched to 4-lanes, the monitor came up in > > > > 1080p. I haven't yet been able to get other modes to work. > > > > > > Ok, good. On another thread, you mentioned that you were also trying > > > to get LVDS to work via SN65DSI83. > > > > > > Does LVDS work for you on this branch? > > > > I haven't tried with Marek's latest suggestion. In the other thread > > he mentioned a burst mode and setting the DSI speeds to higher > > frequencies, but the patch he had didn't look like it would apply > > cleanly, so I will need to dig into that a bit further. > > Can you provide me a link to this thread? Sure, https://www.spinics.net/lists/dri-devel/msg358301.html > > > Since my company doesn't really ship the LVDS displays with the kits, > > the HDMI is the default video, so I've been focusing on it. > > > > To answer Marco's question, I was able to revert "MLK-21958-13: > > drm/bridge: adv7511: Limit supported clocks" and still get a display > > at 1080p, but all the other resolutions I tried appear to come up > > blank. > > Cool so now you have the same state as we are. I have a couple patches applied to mine which mimic some of the stuff that NXP did. Since I have access to a programmer manual, i was able to confirm some of the 7535 specific stuff and the low-refresh rate changes in their kernel appear appropriate and I also created a second table of default settings for the 7535 and if the type is set properly, i'll use the newer table instead of the older one. If anyone wants any of these patches, I can certainly share them, but I am not certain they make any difference. There are a few other items in the programmer manual that I want to attempt to implement once I have a chance to further review the document. > > I think that the most important one is the blanking calc. Can you try to > revert "drm/bridge: adv7511: Repair bus_flags and bus_format" and check > if you can get a output still? Also something to try would be to disable > the internal timing generator by specifying > 'adi,disable-timing-generator'. Also if you have an oscilloscope for > such frequencies you can check the hdmi clk-lane. I noticed that this is > sometimes wrong. I am doing this from my home office as a side project, so I don't have a scope, but I can try to revert the other patch and try to disable the internal timing generator when I get home tonight. I'll report my findings. > > Regards, > Marco > > > I didn't try every one. With that revert, more options come > > available, but 1440x900 and 800x600 were options I tried > > unsuccessfullyl. > > > > > adam > >