Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5682790rdb; Sun, 17 Sep 2023 07:41:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhpxvq50vdAzbK7e4gD2PAetZdwGLw8M9hNKyjONLLEERknL8odKgtCk2rE3SovEhlp+XG X-Received: by 2002:a17:902:e845:b0:1b6:bced:1dc2 with SMTP id t5-20020a170902e84500b001b6bced1dc2mr6806827plg.0.1694961680027; Sun, 17 Sep 2023 07:41:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694961680; cv=none; d=google.com; s=arc-20160816; b=UJWQgXNoHHoxGPih/sAe5mIvNaw+0th2DUK1N/DaAb38q91CCbWGLmilKiH5q+HqvQ gLRgBNFJQX8HyfqU28Kqbfz5OJPQSBUqveDddkX1k5Zm0nCCU3u4373qOhg3kOZBIWnS pPGMv6RIjOJW+I3nWaFoM3yFMP1euW8/1T+FfQ/izr3NawyvaO/EuXfp8E9JZyfhUwLg aXg6x6y4kt6T+cZwuYF+Fm2kVe2/Thnv3m/cQ3CznZfS1jviT0VQKrVxIZxj3IjT+9rb a5rj0BgWGNbAF4eBoRMkaVuIldPHKvtsgVmdxTjBCRo3FeABJKbhBfGRkTkcICdFQLnX PThQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=/zyepie8/Cl2SfECRfa72bKjoNa8mmDFtsgLt89H/aY=; fh=i//UuGvb0ehbTbT+H5FD45KLTF7g/zUfFjdsDJKQBEM=; b=PwF/F/49QGehg17VcZg1X5/5TjEMptJisfm1RyAF9fFvv5BacEgceA1bZYhnlYNPBv nbZxtAvoLxfFtXwtxlyErHXCaQTCpDEgKKo7dqMuHb1aCILiOpM4AzxRUSnDt3d/ZN5U D3Dzo9Dpb8C7b5WIpOySWDUEtQUh5UShndTiGV3JpCx5SgAv7Oi4Ygab7Kt43d6uNOdO vqGPoai3p5jW+/glCBmwPzn6W4dcqo6stQjzmts79+7rN3TH0qG9vUZl6DDzLfA/cdp/ EmevvE45hd9SMlIyvwJSBBIQvj7J5M4qC3PniQYbjPWqhKVNA4x0ej3SXLJEw+m+VYkd aNTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id q13-20020a17090311cd00b001bdd58f685fsi6848609plh.85.2023.09.17.07.41.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 07:41:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0056E80330EE; Sun, 17 Sep 2023 07:41:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235933AbjIQOfA (ORCPT + 99 others); Sun, 17 Sep 2023 10:35:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236022AbjIQOey (ORCPT ); Sun, 17 Sep 2023 10:34:54 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a02:c205:3004:2154::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BB4E127; Sun, 17 Sep 2023 07:34:48 -0700 (PDT) Received: from [185.224.57.162] (helo=akair) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qhsr9-003tmW-OQ; Sun, 17 Sep 2023 16:34:39 +0200 Date: Sun, 17 Sep 2023 16:34:35 +0200 From: Andreas Kemnade To: Tomi Valkeinen Cc: Tony Lindgren , airlied@gmail.com, daniel@ffwll.ch, u.kleine-koenig@pengutronix.de, arnd@arndb.de, laurent.pinchart@ideasonboard.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Sebastian Reichel Subject: Re: [RFC PATCH] drm: omapdrm: dsi: add refsel also for omap4 Message-ID: <20230917163435.6bc68110@akair> In-Reply-To: <9efde4d8-385d-54da-fb0d-55625d3c4571@ideasonboard.com> References: <20230913065911.1551166-1-andreas@kemnade.info> <48972ab0-e4ed-11b2-31fb-ad93695a4db1@ideasonboard.com> <20230913124828.GL5285@atomide.com> <9efde4d8-385d-54da-fb0d-55625d3c4571@ideasonboard.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sun, 17 Sep 2023 07:41:10 -0700 (PDT) Am Wed, 13 Sep 2023 15:58:11 +0300 schrieb Tomi Valkeinen : > On 13/09/2023 15:48, Tony Lindgren wrote: > > * Tomi Valkeinen [230913 12:11]: > >> I'm somewhat sure that the upstream driver used to work on omap4 > >> sdp, which has two DSI panels. But I can't even remember what > >> omap4 version it had. > > > > I think those were both dsi command mode panels though, not video > > mode? > > Yes, true. If the PLL is totally wrong due to refsel, I'm sure a > command mode panel would also fail. But it's true that video mode > panels are more sensitive to the clock rate. > hmm, still analyzing: What works: OMAP5 + Pyra (Videomode display requiring some init commands) some command mode stuff with OMAP4 (droid4) What does not work: OMAP4 with some dsi videomode to something else (LVDS/DPI) converter if init commands are sent through dsi, then these commands fail with bta sync problems. So sending init commands to video mode displays seems not to be a principal problem. But looking deeper at the drivers, there seem to be commands sent to the converters to configure lanes on that side, e.g. tc358762_write(ctx, DSI_LANEENABLE, LANEENABLE_L0EN | LANEENABLE_CLEN); There might be trouble if these are not sent in low power mode. So probably the next analyzing step would be to check if things are really sent in low power mode. Regards, Andreas