All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Kevin Hilman <khilman@deeprootsystems.com>
Cc: miguel.aguilar@ridgerun.com,
	davinci-linux-open-source@linux.davincidsp.com,
	nsnehaprabha@ti.com, linux-input@vger.kernel.org,
	santiago.nunez@ridgerun.com, todd.fischer@ridgerun.com,
	clark.becker@ridgerun.com
Subject: Re: [PATCH v2 1/2] Input: Add device_enable handler to DaVinci Keyscan platform data
Date: Wed, 6 Jan 2010 00:26:38 -0800	[thread overview]
Message-ID: <20100106082638.GA2176@core.coreip.homeip.net> (raw)
In-Reply-To: <87aawsozgo.fsf@deeprootsystems.com>

On Tue, Jan 05, 2010 at 04:21:11PM -0800, Kevin Hilman wrote:
> Kevin Hilman <khilman@deeprootsystems.com> writes:
> 
> > Dmitry Torokhov <dmitry.torokhov@gmail.com> writes:
> >
> >> On Mon, Dec 07, 2009 at 04:24:59PM -0800, Kevin Hilman wrote:
> >>> <miguel.aguilar@ridgerun.com> writes:
> >>> 
> >>> > From: Miguel Aguilar <miguel.aguilar@ridgerun.com>
> >>> >
> >>> > Add a function pointer in the platform data of the DaVinci Keyscan driver
> >>> > called device_enabled, in order to perform board specific actions when
> >>> > the device is initialized, like setup the PINMUX configuration.
> >>> >
> >>> > Signed-off-by: Miguel Aguilar <miguel.aguilar@ridgerun.com>
> >>> 
> >>> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
> >>> 
> >>> Dmitry,
> >>> 
> >>> Will you be queueing this driver (and this patch) for 2.6.34?  I
> >>> thought you had accepted the original driver, but I don't see it in
> >>> the master or next branch of your input tree at:
> >>> 
> >>>   git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git
> >>
> >> The driver is there, commit bc09dcadc1a3da87d58aa70ebc8e9441205be75c on
> >> 'next' branch (I don't really use master branch).  It was committed back
> >> in October, probably that's why you don't see it?
> >>
> >> As far as the patch goes - I got an impression from email sent by
> >> Steve that there are ways to do automatic PINMUX detection and thus
> >> this patch was not needed.  Is this ture?
> >
> > The method Steve was referring to was done for MontaVista
> > internal/product kernels but was rejected for upstream (by me) because
> > of the way it was implemented (by tying mux settings to clock
> > settings.)
> >
> >> If not I am stull unsure what happens if you unload the driver. How
> >> do you restore the old configuration so that the device you took
> >> over from can start working again? Maybe pinmux should be controlled
> >> via sysfs attribute (in board code) so that user can switch on-fly
> >> between the devices?
> >
> > The way we currently handle MUXing in davinci, you don't need to do
> > anything after the driver unloads.  Any other user of these pins will
> > mux them as needed.
> >
> > If really necessary, we could do an equivalent 'device_disable' hook
> > but there would be empty as it wouldn't be needed.
> >
> > So, speaking as maintainer of the DaVinci support, I'm in favor of this
> > approach from Miguel.
> 
> Dmitry,
> 
> Unless there are further objectsions, could you please queue this
> patch for 2.6.34 with my signoff?
> 

Applied to for-linus, I do not see any reason in holding this patch
till .34. Sorry for the delay.

-- 
Dmitry

  reply	other threads:[~2010-01-06  8:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-13 19:43 [PATCH v2 1/2] Input: Add device_enable handler to DaVinci Keyscan platform data miguel.aguilar
2009-11-19  2:59 ` Dmitry Torokhov
2009-11-19 16:32   ` Miguel Aguilar
2009-11-19 16:55     ` Dmitry Torokhov
2009-11-19 17:54       ` Miguel Aguilar
2009-11-19 20:33         ` Dmitry Torokhov
2009-11-19 20:59           ` Miguel Aguilar
2009-11-19 21:33             ` Narnakaje, Snehaprabha
2009-11-24 16:49               ` Miguel Aguilar
2009-12-01 17:08               ` Steve Chen
2009-12-08  0:24 ` Kevin Hilman
2009-12-08  0:48   ` Dmitry Torokhov
2009-12-08  1:05     ` Kevin Hilman
     [not found]       ` <877hsy46o0.fsf-1D3HCaltpLuhEniVeURVKkEOCMrvLtNR@public.gmane.org>
2010-01-06  0:21         ` Kevin Hilman
2010-01-06  8:26           ` Dmitry Torokhov [this message]
2010-01-06 17:04             ` Kevin Hilman

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=20100106082638.GA2176@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=clark.becker@ridgerun.com \
    --cc=davinci-linux-open-source@linux.davincidsp.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-input@vger.kernel.org \
    --cc=miguel.aguilar@ridgerun.com \
    --cc=nsnehaprabha@ti.com \
    --cc=santiago.nunez@ridgerun.com \
    --cc=todd.fischer@ridgerun.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.