From patchwork Thu Feb 10 15:22:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Courbot X-Patchwork-Id: 546611 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1AFOMdP026543 for ; Thu, 10 Feb 2011 15:24:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754709Ab1BJPYh (ORCPT ); Thu, 10 Feb 2011 10:24:37 -0500 Received: from mail-gy0-f174.google.com ([209.85.160.174]:48036 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750917Ab1BJPYh (ORCPT ); Thu, 10 Feb 2011 10:24:37 -0500 Received: by gyb11 with SMTP id 11so626440gyb.19 for ; Thu, 10 Feb 2011 07:24:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=Zj5vo3loBSacvdwCDeTYGGCmGPi51DzWsTby4xmaNtI=; b=OoA7ZxIFEr3DGKGDhnSwe/+RgNmVLVD4dec1oqpmN0UofFz3628iNxoOHg5vCpblvr EqpT05qJ/a0YBNO05RygVoeBEOY00FC1oRzaLnFsgEk/Fg6NYEL93pIIaxvFAR51/fYP s06FsvOjMi8XA8RW2L0cSPIf9YocjU9tOa3SQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=OtKSVcFGZ5qx5U0f1mJGVwV1dh24OpEkI9p9jql6QxNrNKnhRdfIQOK5EqnTG0m9cR iVA9s7d4Q2eV5susFzuKyblf/0ihiGQTOjgyv4OtYKOofCCZQuis6GB4g80YdjUFFOhU DXIKUbVjrDs6T7e6lLxU3zbtlto0lcnrbjn8Q= Received: by 10.100.3.16 with SMTP id 16mr11237213anc.268.1297351476674; Thu, 10 Feb 2011 07:24:36 -0800 (PST) Received: from localhost.localdomain (e0109-114-22-33-156.uqwimax.jp [114.22.33.156]) by mx.google.com with ESMTPS id b11sm112941ana.38.2011.02.10.07.24.30 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Feb 2011 07:24:35 -0800 (PST) From: Alexandre Courbot To: Magnus Damm Cc: linux-sh@vger.kernel.org, Alexandre Courbot Subject: [PATCH 2/2] sh: mach-ecovec24: support for main lcd backlight Date: Fri, 11 Feb 2011 00:22:46 +0900 Message-Id: <1297351366-7374-3-git-send-email-gnurou@gmail.com> X-Mailer: git-send-email 1.7.4 In-Reply-To: <1297351366-7374-1-git-send-email-gnurou@gmail.com> References: <1297351366-7374-1-git-send-email-gnurou@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 10 Feb 2011 15:24:38 +0000 (UTC) diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 701667a..6d316f6 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -261,6 +261,11 @@ const static struct fb_videomode ecovec_dvi_modes[] = { }, }; +static struct sh_mobile_lcdc_bl_info lcdc_bl_info = { + .name = "sh_mobile_mainlcd_bl", + .gpio = GPIO_PTR1, +}; + static struct sh_mobile_lcdc_info lcdc_info = { .ch[0] = { .interface_type = RGB18, @@ -272,6 +277,7 @@ static struct sh_mobile_lcdc_info lcdc_info = { }, .board_cfg = { }, + .bl_info = &lcdc_bl_info, } };