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 X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA9F5C433DF for ; Fri, 24 Jul 2020 01:24:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C52BB20714 for ; Fri, 24 Jul 2020 01:24:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="c2UBXGjG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726259AbgGXBYW (ORCPT ); Thu, 23 Jul 2020 21:24:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbgGXBYV (ORCPT ); Thu, 23 Jul 2020 21:24:21 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 777D9C0619D3 for ; Thu, 23 Jul 2020 18:24:21 -0700 (PDT) Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BEFF4279; Fri, 24 Jul 2020 03:24:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1595553857; bh=/92mB/UdrhoQAGBthcAox6PzBUiTSEUE3eKH/3iQbtc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c2UBXGjG3+6JNc1XRdxR3qW6bc6cJbwpwy8WlZI43P0ogdaKGwd0Cag5i2IIYQ16I ZMdy9ogIyWNb1J4kzsU2MttbRFoKTmVlXKPe1eQnvs2rngKiTkplheAbyyH4FF60SX 1S0tWt8nNRZrspP1eolHk2Yu7cNijFBs5ssmhsSM= Date: Fri, 24 Jul 2020 04:24:11 +0300 From: Laurent Pinchart To: "H. Nikolaus Schaller" Cc: Tony Lindgren , Tomi Valkeinen , Linux-OMAP , Jyri Sarha , kernel@pyra-handheld.com, Discussions about the Letux Kernel Subject: Re: module_mipi_dsi_driver panel with omapdrm? Message-ID: <20200724012411.GJ21353@pendragon.ideasonboard.com> References: <5F4C23B0-A82B-4F94-BD74-D04F6D798FC0@goldelico.com> <20200705142653.GQ37466@atomide.com> <20200705143614.GR37466@atomide.com> <20200706143613.GS37466@atomide.com> <20200707180115.GB5849@atomide.com> <6E0A9415-9AB5-48D9-9E61-12D20655D04D@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi Nikolaus, On Thu, Jul 23, 2020 at 09:03:49AM +0200, H. Nikolaus Schaller wrote: > > Am 08.07.2020 um 09:52 schrieb H. Nikolaus Schaller : > >> Am 07.07.2020 um 21:04 schrieb H. Nikolaus Schaller : > >> > >> And what I would need to know before I start to write new code is > >> if is possible to operate a video mipi dsi panel with driver from > >> gpu/drm/panel together with omapdrm (v5.7 and later). > > > > I did a quick test on a 5.7.6 kernel with the sysc fixes as > > suggested by Tony. > > > > Then I overwrote the compatible entry of our display to be > > orisetech,otm8009a and configured to build the otm8009a panel driver. > > > > The panel driver is loaded, but not probed (no call to otm8009a_probe). > > It is shown in /sys/bus/mipi-dsi/drivers (and lsmod) but not /sys/bus/mipi-dsi/devices. > > > > So what should I try next? > > Any suggestions if and how it is possible to use a gpu/drm/panel MIPI DSI > video mode panel with omapdrm (on OMAP5)? For the DSI panel to probe, the display driver needs to register a DSI host with mipi_dsi_host_register(). omapdrm doesn't do so yet, we need to integrate Sebastian's "[PATCHv2 00/56] drm/omap: Convert DSI code to use drm_mipi_dsi and drm_panel" series first. I'll try to review it in the near future. > The problem is that our old omapdrm/display driver is broken since v5.7 and > an experimental gpu/drm/panel driver does not probe. And I assume that > omapdrm/display will disappear completely soon. Not before Sebastian's series gets integrated. -- Regards, Laurent Pinchart