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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,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 689ECC433E0 for ; Sun, 5 Jul 2020 14:26:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4316D20723 for ; Sun, 5 Jul 2020 14:26:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726826AbgGEO06 (ORCPT ); Sun, 5 Jul 2020 10:26:58 -0400 Received: from muru.com ([72.249.23.125]:60792 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726781AbgGEO06 (ORCPT ); Sun, 5 Jul 2020 10:26:58 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id BE17E80F3; Sun, 5 Jul 2020 14:27:49 +0000 (UTC) Date: Sun, 5 Jul 2020 07:26:53 -0700 From: Tony Lindgren To: "H. Nikolaus Schaller" Cc: Tomi Valkeinen , Discussions about the Letux Kernel , kernel@pyra-handheld.com, Linux-OMAP , Laurent Pinchart , Jyri Sarha Subject: Re: OMAP5: inconsistency between target-module and dsi_of_data_omap5 Message-ID: <20200705142653.GQ37466@atomide.com> References: <49725F81-E615-4101-81B3-0850F201D9E8@goldelico.com> <5F4C23B0-A82B-4F94-BD74-D04F6D798FC0@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5F4C23B0-A82B-4F94-BD74-D04F6D798FC0@goldelico.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org * H. Nikolaus Schaller [200705 13:48]: > > This patch makes the DSI error go away and omapdrm initialized: > > > > diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi > > index e147121513e644..b9f54f62163879 100644 > > --- a/arch/arm/boot/dts/omap5.dtsi > > +++ b/arch/arm/boot/dts/omap5.dtsi > > @@ -474,7 +474,7 @@ rfbi: encoder@0 { > > }; > > }; > > > > - target-module@5000 { > > + target-module@4000 { > > compatible = "ti,sysc-omap2", "ti,sysc"; > > reg = <0x5000 0x4>, > > <0x5010 0x4>, > > @@ -490,7 +490,7 @@ SYSC_OMAP2_SOFTRESET | > > ti,syss-mask = <1>; > > #address-cells = <1>; > > #size-cells = <1>; > > - ranges = <0 0x5000 0x1000>; > > + ranges = <0 0x4000 0x1000>; > > > > dsi1: encoder@0 { > > compatible = "ti,omap5-dsi"; Oops sorry about that one. The l3 entries I've had to manually add while l4 has been generated form the hardware for most part. This one was caused by commit 5a507162f096 ("ARM: dts: Configure interconnect target module for omap5 dsi1"). > > But I still have no display: > > > > [ 17.537515] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 2 > > [ 18.558950] omapdrm omapdrm.0: [drm] Cannot find any crtc or sizes > > > > So there is more to fix. > > A little more info: > > on v5.7 I see: > > [ 13.850883] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops [omapdss]) > [ 13.885714] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops [omapdss]) > > while on v5.6: > > [ 14.997890] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dsi_vc_flush_receive_data [omapdss]) > [ 15.007726] omapdss_dss 58000000.dss: bound 58004000.encoder (ops dsi_vc_flush_receive_data [omapdss]) > [ 15.026118] omapdss_dss 58000000.dss: bound 58040000.encoder (ops dsi_vc_flush_receive_data [omapdss]) > > So the dsi1 encoder isn't properly bound. Yeah sounds like something is still wrong. Do you have loaded display-connector? That is needed starting with v5.7-rc1. Regards, Tony