The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: Hui Wang <jason77.wang@gmail.com>,
	Zhang Jiejing <jiejing.zhang@freescale.com>,
	linux-input@vger.kernel.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Hofemeier, Ulf" <ulf.hofemeier@intel.com>
Subject: Re: eGalax touchscreen regression
Date: Tue, 23 Apr 2013 08:40:07 -0700	[thread overview]
Message-ID: <20130423154007.GB4104@core.coreip.homeip.net> (raw)
In-Reply-To: <1366708088.9823.16.camel@sauron.fi.intel.com>

Hi Artem,

On Tue, Apr 23, 2013 at 12:08:08PM +0300, Artem Bityutskiy wrote:
> Hi Dmitry,
> 
> in the below commit
> 
> commit ae495e844a77344fdaedbb2ad97d925d096e9f0d
> Author: Hui Wang <jason77.wang@gmail.com>
> Date:   Thu Oct 25 00:38:01 2012 -0700
> 
>     Input: egalax_ts - get gpio from devicetree
>     
>     The irq_to_gpio() is old, most platforms use GENERIC_GPIO framework
>     and don't support this API anymore.
>     
>     The i.MX6q sabrelite platform equips an egalax touchscreen controller,
>     and this platform already transfered to GENERIC_GPIO framework, to
>     support this driver, we use a more generic way to get gpio.
>     
>     Add a return value checking for waking up the controller in the probe
>     function, this guarantee only a workable device can pass init.
>     
>     [dmitry.torokhov@gmail.com: Make driver depend on CONFIG_OF as it is
>      now required.]
>     
>     Acked-by Zhang Jiejing <jiejing.zhang@freescale.com>
>     Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
>     Signed-off-by: Hui Wang <jason77.wang@gmail.com>
>     Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> 
> the eGalax driver now requires OF. For us this is a regression because
> we do not have OF: https://bugs.tizen.org/jira/browse/TIVI-740

I see. In this case we need to come up with a platform data to pass
wakeup gpio in case platform does not support OF. irq_to_gpio() is not
supported on many platforms, causing compilation errors.

Is the platform that you are trying to use the touchscreen upstream?

Thanks.

-- 
Dmitry

  parent reply	other threads:[~2013-04-23 15:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23  9:08 eGalax touchscreen regression Artem Bityutskiy
2013-04-23 11:09 ` [PATCH] input: egalax_ts: remove bogus OF dependency Artem Bityutskiy
2013-04-23 15:37   ` Dmitry Torokhov
2013-04-24  5:58     ` Artem Bityutskiy
2013-04-23 15:40 ` Dmitry Torokhov [this message]
2013-04-24  6:06   ` eGalax touchscreen regression Artem Bityutskiy
2013-04-24  9:03   ` Artem Bityutskiy
2013-04-26 14:59     ` Arnd Bergmann
2013-04-26 15:09       ` Artem Bityutskiy
2013-04-26 15:39         ` Dmitry Torokhov
2013-04-26 16:03           ` Artem Bityutskiy

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=20130423154007.GB4104@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=artem.bityutskiy@linux.intel.com \
    --cc=jason77.wang@gmail.com \
    --cc=jiejing.zhang@freescale.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ulf.hofemeier@intel.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