public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "Hiremath, Vaibhav" <hvaibhav@ti.com>
Cc: Gregoire Gentil <gregoire@gentil.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	Tim Yamin <plasmaroo@gmail.com>
Subject: Re: [PATCH 2/8] Board file of Always Innovating OMAP3-based Touch Book
Date: Mon, 7 Dec 2009 13:49:07 -0800	[thread overview]
Message-ID: <20091207214907.GK24013@atomide.com> (raw)
In-Reply-To: <19F8576C6E063C45BE387C64729E739404370D6FAB@dbde02.ent.ti.com>

Hi,

* Hiremath, Vaibhav <hvaibhav@ti.com> [091119 20:19]:
> 
> > -----Original Message-----
> > From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> > owner@vger.kernel.org] On Behalf Of Gregoire Gentil
> > Sent: Thursday, November 19, 2009 10:48 PM
> > To: linux-omap@vger.kernel.org
> > Cc: Gregoire Gentil; Tony Lindgren; Tim Yamin
> > Subject: [PATCH 2/8] Board file of Always Innovating OMAP3-based
> > Touch Book
> >
> >
> > Signed-off-by: Gregoire Gentil <gregoire@gentil.com>
> > ---
> >  arch/arm/mach-omap2/board-omap3touchbook.c |  683
> > ++++++++++++++++++++++++++++
> >  1 files changed, 683 insertions(+), 0 deletions(-)
> >  create mode 100644 arch/arm/mach-omap2/board-omap3touchbook.c
> >
> > diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c
> > b/arch/arm/mach-omap2/board-omap3touchbook.c
> > new file mode 100644
> > index 0000000..ad3ef6e
> > --- /dev/null
> > +++ b/arch/arm/mach-omap2/board-omap3touchbook.c

<snip>

> > +static int touchbook_backlight_brightness = 50;
> > +static struct omap_dm_timer *touchbook_backlight_pwm;
> > +
> > +static int touchbook_backlight_read(struct backlight_device *bd)
> > +{
> > +     return touchbook_backlight_brightness;
> > +}
> > +
> > +static int touchbook_backlight_update(struct backlight_device *bd)
> > +{
> > +     int value = bd->props.brightness;
> > +     touchbook_backlight_brightness = value;
> > +
> [Hiremath, Vaibhav] I think we can get rid of variable "value" here. You can directly initialize it to "touchbook_backlight_brightness".
> 
> One more thing just came in my mind, have you thought of using standard backlight class driver???

I'll add this without the backlight code so we get the basic
support into mainline while using the backlight class driver
issue is being discussed.

Tony

  reply	other threads:[~2009-12-07 21:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 17:18 [PATCH 0/8] AI TB: Always Innovating OMAP3-based Touch Book Gregoire Gentil
2009-11-19 17:18 ` [PATCH 1/8] defconfig file of " Gregoire Gentil
2009-11-19 17:18   ` [PATCH 2/8] Board " Gregoire Gentil
2009-11-19 17:18     ` [PATCH 3/8] Freescale MMA7455 accelerometer driver Gregoire Gentil
2009-11-19 17:18       ` [PATCH 4/8] Driver for Always Innovating OMAP3-based Touch Book keyboard Gregoire Gentil
2009-11-19 17:18         ` [PATCH 5/8] HID file " Gregoire Gentil
2009-11-19 17:18           ` [PATCH 6/8] Audio driver of Always Innovating OMAP3-based Touch Book Gregoire Gentil
2009-11-19 17:18             ` [PATCH 7/8] Video " Gregoire Gentil
2009-11-19 17:18               ` [PATCH 8/8] Additional file for " Gregoire Gentil
2009-11-20  4:07               ` [PATCH 7/8] Video driver of " Hiremath, Vaibhav
2009-11-23 15:35             ` [alsa-devel] [PATCH 6/8] Audio " Mark Brown
2009-11-19 17:37           ` [PATCH 5/8] HID file for Always Innovating OMAP3-based Touch Book keyboard Koen Kooi
2009-11-19 19:24       ` [PATCH 3/8] Freescale MMA7455 accelerometer driver Jonathan Cameron
2009-11-20  4:20     ` [PATCH 2/8] Board file of Always Innovating OMAP3-based Touch Book Hiremath, Vaibhav
2009-12-07 21:49       ` Tony Lindgren [this message]
2009-12-07 22:11         ` Tim Yamin
2009-12-07 23:19           ` Tony Lindgren
2009-12-08 16:19             ` Hiremath, Vaibhav

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091207214907.GK24013@atomide.com \
    --to=tony@atomide.com \
    --cc=gregoire@gentil.com \
    --cc=hvaibhav@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=plasmaroo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox