From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BAD1BC761A6 for ; Mon, 3 Apr 2023 15:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-reply-to: Date:Subject:Cc:To:From:References:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J7EmmfPK7eTlNrDBwD64wOleKGdgnqP5p4kjqmhqYUc=; b=V+qrZ7L7TSdHze nMwymNLdijGLi3oANdnEgYmvfNO7ZQlBdFOA5VL+V8ASmunm7RdLoY/HHlA2AJjLp9+/Hw5sFz3ZV pClyiFvuGDYijwf/nXm0ODqLZ2JuoSbjga2zSPFJEGCmz93S7FthLql8tQGu7InyPSz5cNVOfmqIV fgOvGyI4ytWiV35qmcyf20pcMvCXQ3ub2N9RT07CW1ZaCQZAnyl+uVarAHRVkgZuirJw3B8uHqgjl L4rrwWaOzm8dpL+seyfRMpMbx862OOOeLYA/86OgIcvbt2qzvNvzk95e4GTS/ZJTpd7i+++7CpYhg ahbu8wcHHcZy/t6/Ms+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjMWc-00Fsg5-11; Mon, 03 Apr 2023 15:55:18 +0000 Received: from mout-p-101.mailbox.org ([80.241.56.151]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjMWX-00FscU-1v for linux-arm-kernel@lists.infradead.org; Mon, 03 Apr 2023 15:55:17 +0000 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4PqwT337Nzz9sSn; Mon, 3 Apr 2023 17:55:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oltmanns.dev; s=MBO0001; t=1680537303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fVP0qrByRoh/sDbYz3vxEjtA0pFI+Fsrhbe/3Y6bLB0=; b=bZ0L9oNzOADkEHZGmSgPP69X6mxaO0xn4fTHsMTuWEHKGFXn+Hhx9RepiPO0xwTfjSPKil LottxSqjTIv8qYS+cf+HS6w5QLIvpQPiyWBA3DCCrc2/uNni9mwzHaZJm3fb7RJmvTKu+2 BXJ9ajv2ZGjT3ble6tDiTyMWR6wePaYQiHkNNMuPBA0K5MMfdUluVnauYLsWD+HNgonxum 3YNzo+RBjUgl3CKS3ASiBDXsnCMxQHYblImZahIV5lJpgRe8BsSO4etSdiX8flSggjckuP owNNJPnhvQz5AllCKv7pDu3Nhh3aXk1hW29QAZZqDxops1hy9tLxpRR1Uscrbg== References: <20230331110245.43527-1-me@crly.cz> <20230331110245.43527-4-me@crly.cz> <87h6tya70h.fsf@oltmanns.dev> From: Frank Oltmanns To: Roman Beranek Cc: Maxime Ripard , Chen-Yu Tsai , David Airlie , Daniel Vetter , Jernej Skrabec , Samuel Holland , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] drm: sun4i: calculate proper DCLK rate for DSI Date: Mon, 03 Apr 2023 17:08:33 +0200 In-reply-to: Message-ID: <87pm8lj709.fsf@oltmanns.dev> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4PqwT337Nzz9sSn X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230403_085513_780658_ECFC3EA0 X-CRM114-Status: GOOD ( 13.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2023-04-03 at 15:52:36 +0200, "Roman Beranek" wrote: > On Sun Apr 2, 2023 at 12:49 PM CEST, Frank Oltmanns wrote: >> >> When apply this to drm-next my panel stays dark. I haven't figured out >> yet why, though. The other two patches in this series work fine, i.e. >> they have no effect as they are just a refactoring. >> >> I'm testing this on my pinephone. It's the same with the patch I >> submitted. For whatever reason, it no longer works on drm-next. > > I've reproduced the issue on my PinePhone and noticed that tcon0 had set > pll-video0-2x as its parent instead of pll-mipi. Having tried a whole > range of pll-video0 rates, I'm now convinced that DSI only works when > tcon0 has pll-mipi as its parent. > > As little a change as setting .clock in the default mode of PP's panel > to 73500 can fix it. Better yet, dropping pll-video0-2x from the set > of acceptable parents for tcon0 fixes it universally. And that's what > megi's kernel does, though the measure was introduced with a different > rationale: > For sake of completeness, the patch you referenced builds on this patch: https://github.com/megous/linux/commit/45e0aa8d9e34 Are you saying that your other boards and panels work without these patches? Best regards, Frank > > Roman _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel