linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* 6410 issues with samsung-ap-2.6
@ 2009-08-24 21:49 David F. Carlson
  2009-08-25 16:35 ` Mikhail Lodygin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: David F. Carlson @ 2009-08-24 21:49 UTC (permalink / raw)
  To: linux-arm-kernel


List-ies,

I am (trying) to use the recently released git kki_ap/samsung-ap-2.6 which is supposedly a decent 6410 tree.

I am having trouble with the the input gpio_keys code that does a "gpio_to_irq()" to get the gpio to irq mapping.

This call always fails for the 6410 (ENXIO).  I see no code for the 6410 to get a irq.

Is there a better tree to integrate my 6410-based device with?  (I am having other "issues" with this git tree and the samsung folks are not helpful...)

Thanks in advance,

David F. Carlson    Chronolytics, Inc.  Rochester, NY
mailto:dave at chronolytics.com            http://www.chronolytics.com

"The faster I go, the behinder I get." --Lewis Carroll

^ permalink raw reply	[flat|nested] 5+ messages in thread

* 6410 issues with samsung-ap-2.6
  2009-08-24 21:49 6410 issues with samsung-ap-2.6 David F. Carlson
@ 2009-08-25 16:35 ` Mikhail Lodygin
  2009-08-27 10:32 ` Harald Welte
  2009-08-27 18:46 ` Marc Zyngier
  2 siblings, 0 replies; 5+ messages in thread
From: Mikhail Lodygin @ 2009-08-25 16:35 UTC (permalink / raw)
  To: linux-arm-kernel

Have you tried mainstream kernel? Samsung's kernel is for reference
purposes only I believe.
I hanvn't use keys functionality but gpio and interrupt works well in
mainstream.
Mikhail.
David F. Carlson wrote:
> List-ies,
>
> I am (trying) to use the recently released git kki_ap/samsung-ap-2.6 which is supposedly a decent 6410 tree.
>
> I am having trouble with the the input gpio_keys code that does a "gpio_to_irq()" to get the gpio to irq mapping.
>
> This call always fails for the 6410 (ENXIO).  I see no code for the 6410 to get a irq.
>
> Is there a better tree to integrate my 6410-based device with?  (I am having other "issues" with this git tree and the samsung folks are not helpful...)
>
> Thanks in advance,
>
> David F. Carlson    Chronolytics, Inc.  Rochester, NY
> mailto:dave at chronolytics.com            http://www.chronolytics.com
>
> "The faster I go, the behinder I get." --Lewis Carroll
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
>   

^ permalink raw reply	[flat|nested] 5+ messages in thread

* 6410 issues with samsung-ap-2.6
  2009-08-24 21:49 6410 issues with samsung-ap-2.6 David F. Carlson
  2009-08-25 16:35 ` Mikhail Lodygin
@ 2009-08-27 10:32 ` Harald Welte
  2009-08-27 18:46 ` Marc Zyngier
  2 siblings, 0 replies; 5+ messages in thread
From: Harald Welte @ 2009-08-27 10:32 UTC (permalink / raw)
  To: linux-arm-kernel

Hi David,

On Mon, Aug 24, 2009 at 05:49:30PM -0400, David F. Carlson wrote:
 
> I am (trying) to use the recently released git kki_ap/samsung-ap-2.6 which is
> supposedly a decent 6410 tree.

This tree was indeed their current development tree for a lot of code, not sure
if it was supposed to be used particularly for the 6410.

> Is there a better tree to integrate my 6410-based device with?  (I am having
> other "issues" with this git tree and the samsung folks are not helpful...)

Samsung is working right now to align their development better with mainline.

Historically, they basically did Linux ports on requests of big customers, and
every customer had a different selection of base kernel revision + specific
soc, so you end up with many different trees and parallel development.

I am right now with them in Korea, helping to define a strategy to change this,
and I'll also help [on a high level, not expecting to write much code] with the
actual implementation of it.

You will soon see a 2.6.31-rc7 based kernel in their public repo, which is
following mainline more closely.  Initially, the tree will only contain work
on the 5pc110, but the old code from the 6410, 6440 and s5pc110 will be merged
into this tree over the weeks and months to come.  After that is done, you will
see feature-by-feature patches being submitted for the official mainline kernel,
starting with 6410 and moving on to later SoC's.

Of course this is a larger project and it will not happen overnight.  But I am
confident that the goal here is to do "the right thing".  There will not be any
official announcement, as I think the facts should speak for themselves while
that change actually materializes here on this list.

Meanwhile, I think mainline is not a too bad choice for the 6410, as you can 
see Ben Dooks working regularly on it.  If you need particular drivers/features
from the samsung tree, it would obviosuly be possible to contribute to getting
that feature faster into mainline :)

Regards,
-- 
- Harald Welte <laforge@gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* 6410 issues with samsung-ap-2.6
  2009-08-24 21:49 6410 issues with samsung-ap-2.6 David F. Carlson
  2009-08-25 16:35 ` Mikhail Lodygin
  2009-08-27 10:32 ` Harald Welte
@ 2009-08-27 18:46 ` Marc Zyngier
  2009-08-27 23:54   ` Kyungmin Park
  2 siblings, 1 reply; 5+ messages in thread
From: Marc Zyngier @ 2009-08-27 18:46 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, 24 Aug 2009 17:49:30 -0400 (EDT)
"David F. Carlson" <dave@chronolytics.com> wrote:

> I am having trouble with the the input gpio_keys code that does a
> "gpio_to_irq()" to get the gpio to irq mapping.
> 
> This call always fails for the 6410 (ENXIO).  I see no code for the
> 6410 to get a irq.

Just checked in mainline, and there is support there for gpio_to_irq(),
at least for gpio bank N. It shouldn't be too hard to add support for
the two remaining banks.

	M.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* 6410 issues with samsung-ap-2.6
  2009-08-27 18:46 ` Marc Zyngier
@ 2009-08-27 23:54   ` Kyungmin Park
  0 siblings, 0 replies; 5+ messages in thread
From: Kyungmin Park @ 2009-08-27 23:54 UTC (permalink / raw)
  To: linux-arm-kernel

Hi

On Fri, Aug 28, 2009 at 3:46 AM, Marc Zyngier<maz@misterjones.org> wrote:
> On Mon, 24 Aug 2009 17:49:30 -0400 (EDT)
> "David F. Carlson" <dave@chronolytics.com> wrote:
>
>> I am having trouble with the the input gpio_keys code that does a
>> "gpio_to_irq()" to get the gpio to irq mapping.
>>
>> This call always fails for the 6410 (ENXIO). ?I see no code for the
>> 6410 to get a irq.
>
> Just checked in mainline, and there is support there for gpio_to_irq(),
> at least for gpio bank N. It shouldn't be too hard to add support for
> the two remaining banks.
>

Right, it's not hard to add. It will be supported.
Internally it's tested and works well.

Thank you,
Kyungmin Park

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-27 23:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-24 21:49 6410 issues with samsung-ap-2.6 David F. Carlson
2009-08-25 16:35 ` Mikhail Lodygin
2009-08-27 10:32 ` Harald Welte
2009-08-27 18:46 ` Marc Zyngier
2009-08-27 23:54   ` Kyungmin Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).