Skip to contentSkip to conversation

6410 issues with samsung-ap-2.6

DISCUSSION David F. Carlson 5 participants 5 messages Aug 24, 2009 – Aug 27, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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.

Quoted 23 lines · David F. Carlson

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

#2 lore raw
In reply to David F. Carlson

Hi David,

Quoted 2 lines · David F. Carlson

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.

Quoted 2 lines

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,

Signature · 4 lines
- Harald Welte <[email protected]>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)
#3 lore raw
In reply to David F. Carlson
Quoted 5 lines · On Mon, 24 Aug 2009 17:49:30 -0400 (EDT) "David F. Carlson"…

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.
#4 lore raw

Hi

Quoted 6 lines · Marc Zyngier
Quoted 3 lines · On Mon, 24 Aug 2009 17:49:30 -0400 (EDT) "David F. Carlson"…

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

Quoted 7 lines
Quoted 2 lines

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