From patchwork Thu Jul 4 15:03:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Matthias_Wei=C3=9Fer?= X-Patchwork-Id: 2823846 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 C311BBF4A1 for ; Thu, 4 Jul 2013 15:05:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B7BC2012D for ; Thu, 4 Jul 2013 15:05:50 +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 7B551200E1 for ; Thu, 4 Jul 2013 15:05:48 +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 1Uul51-0006rQ-O3; Thu, 04 Jul 2013 15:04:21 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uul4W-0002yz-Gi; Thu, 04 Jul 2013 15:03:48 +0000 Received: from mail-la0-x229.google.com ([2a00:1450:4010:c03::229]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uul4U-0002yN-Hz for linux-arm-kernel@lists.infradead.org; Thu, 04 Jul 2013 15:03:47 +0000 Received: by mail-la0-f41.google.com with SMTP id fn20so1329357lab.14 for ; Thu, 04 Jul 2013 08:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gZZ/TaMzFXhz4wdCWojfMqt+HaaXemKfVQ1pi0uDCiU=; b=r5kzcRHZxgeIeYgwOOaEx/MQuW9WStr4PwrM4nlW2WHHp6mPa0owMs4cWaTIN395aB HDW3yXVm7wErYhgHh4uwy19taUVvLu7vjzWzYkSBXsiMDYOZCEW7QZxABvmhQp24cdtm NBqPnhaRiaqYtHf/+sR5Y1skYXjCPqTRyXzEYmRm5eWc1ejQ8c+uajWTGvPk9ecTdwt4 19zYmIhkAIRR4ggDwz/H8v/8p8gVZlzs+Sv495bxplJSa/HVeUfYt0YFPbS+pOoEFtUB 50pJ1D90I0CzX3sOSHrMOp3YckuGEESu8RVCU0J/QcWiDbTlCx6OG5AwonKr6H02q62B 8bWg== MIME-Version: 1.0 X-Received: by 10.152.5.227 with SMTP id v3mr3123847lav.31.1372950201293; Thu, 04 Jul 2013 08:03:21 -0700 (PDT) Received: by 10.114.184.175 with HTTP; Thu, 4 Jul 2013 08:03:21 -0700 (PDT) Date: Thu, 4 Jul 2013 17:03:21 +0200 Message-ID: Subject: imx25: How to get frame buffer device in a system using device tree From: =?UTF-8?Q?Matthias_Wei=C3=9Fer?= To: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130704_110346_738418_8BF94546 X-CRM114-Status: GOOD ( 11.80 ) X-Spam-Score: -2.0 (--) 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=-4.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 I am currently try to get Linux running on a custom imx25 hardware using device tree. So far I am quite successfull and have the system up using current mainline kernel and a NFS root file system. Now I would like to have the framebuffer driver to get something on the LCD. My dts file looks like this: /dts-v1/; #include "imx25.dtsi" / { model = "Graf-Syteco zmx25"; compatible = "graf,imx25-zmx25", "fsl,imx25"; memory { reg = <0x80000000 0x4000000>; }; soc { aips@53f00000 { /* AIPS2 */ lcdc@53fbc000 { status = "okay"; }; }; }; }; &uart1 { status = "okay"; }; &uart2 { status = "okay"; }; &fec { phy-mode = "rmii"; status = "okay"; }; I also added the compatibility entry in the imx25.dtsi But still I didn't get /dev/fb so I think I am doing something wrong. Any hints for docs I can study on how to do the right things? Regards Matthias --- a/arch/arm/boot/dts/imx25.dtsi +++ b/arch/arm/boot/dts/imx25.dtsi @@ -378,6 +378,7 @@ }; lcdc@53fbc000 { + compatible = "fsl,imx27-fb", "fsl,imx21-fb"; reg = <0x53fbc000 0x4000>; interrupts = <39>; clocks = <&clks 103>, <&clks 66>, <&clks 49>;