From patchwork Thu Sep 26 00:23:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Machek X-Patchwork-Id: 2946161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EB14DBFF05 for ; Thu, 26 Sep 2013 00:24:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 176B320328 for ; Thu, 26 Sep 2013 00:24:37 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F0CB12031C for ; Thu, 26 Sep 2013 00:24:35 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VOzNQ-0008Hz-TD; Thu, 26 Sep 2013 00:24:17 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VOzNO-0004vV-Cv; Thu, 26 Sep 2013 00:24:14 +0000 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VOzNL-0004uZ-4N for linux-arm-kernel@lists.infradead.org; Thu, 26 Sep 2013 00:24:11 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 588538172D; Thu, 26 Sep 2013 02:23:50 +0200 (CEST) Date: Thu, 26 Sep 2013 02:23:49 +0200 From: Pavel Machek To: Aaro Koskinen Subject: Re: 3.12-rc1: no longer compiles for Nokia n900 (omap based), display no longer works Message-ID: <20130926002349.GA26599@amd.pavel.ucw.cz> References: <20130919093002.GA23806@amd.pavel.ucw.cz> <20130919094402.GA27253@amd.pavel.ucw.cz> <20130919184703.GE30568@blackmetal.musicnaut.iki.fi> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130919184703.GE30568@blackmetal.musicnaut.iki.fi> User-Agent: Mutt/1.5.20 (2009-06-14) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130925_202411_295531_16F9E5D3 X-CRM114-Status: GOOD ( 16.23 ) X-Spam-Score: -1.9 (-) Cc: catalin.marinas@arm.com, linux-omap@vger.kernel.org, will.deacon@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi! > On Thu, Sep 19, 2013 at 11:44:02AM +0200, Pavel Machek wrote: > > something in 3.12-rc1 broke display :-(. (dmesg diff attached at the > > end, maybe someone knows...) > > 3.12-rc1 for N900 compiles and works (also display) here with binutils > 2.23.2. I updated to eldk-5.4, and now it compiles, but still no display on > > + omapfb omapfb: no displays > > [...] > > > - acx565akm spi1.2: omapfb: acx565akm rev 12 LCD detected > > I think this is because the panel driver has changed, and the old one > was deleted. You need to change your kernel configuration with something > like below: > > -CONFIG_PANEL_ACX565AKM=y > +CONFIG_DISPLAY_PANEL_SONY_ACX565AKM=y Thanks for the hint.. but apparently it was not enough. Still no display on qemu :-(. Anyway, "make oldconfig" is expected to produce working kernel, which is clearly not case here. Perhaps this should be added to fix that? [Who can take the patch?] Pavel PS: whoever named directory in kernel sources "displays-new" should... think again. Signed-off-by: Pavel Machek index 6c90885..d3eabd2 100644 --- a/drivers/video/omap2/displays-new/Kconfig +++ b/drivers/video/omap2/displays-new/Kconfig @@ -40,6 +40,7 @@ config DISPLAY_PANEL_DSI_CM config DISPLAY_PANEL_SONY_ACX565AKM tristate "ACX565AKM Panel" + default PANEL_ACX565AKM depends on SPI && BACKLIGHT_CLASS_DEVICE help This is the LCD panel used on Nokia N900