* [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2
@ 2012-08-30 5:47 Simon Horman
2012-08-30 5:47 ` [PATCH] ARM: shmobile: kzm9g: use gpio-keys instead of gpio-keys-polled Simon Horman
2012-09-05 22:44 ` [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 Olof Johansson
0 siblings, 2 replies; 7+ messages in thread
From: Simon Horman @ 2012-08-30 5:47 UTC (permalink / raw)
To: linux-arm-kernel
Hi Olof, Hi Arnd,
please consider the following enhancement to the KZM-A9-GT board by
from Morimoto-san for inclusion in 3.7.
* This pull request is based on the devel branch of
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git
which is based on v3.6-rc2.
This is to satisfy compile-time dependencies.
Please let me know if you would like this handled a different way.
* This and a previous pull request,
"Renesas ARM-based SoC: KZM-9A-GT for 3.7", both touch board-kzm9g.c
but I do not believe there is a conflict.
Please let me know if you would like this handled a different way.
----------------------------------------------------------------
The following changes since commit f24a9172233cfc205ef7a999370412ab577783b1:
gpio/mxs: adopt irq_domain support for mxs gpio driver (2012-08-23 23:49:17 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git kzm9g-gpio
for you to fetch changes up to af26b952cca1a87f31b09015fb3f7c77232036e1:
ARM: shmobile: kzm9g: use gpio-keys instead of gpio-keys-polled (2012-08-30 13:59:31 +0900)
----------------------------------------------------------------
Kuninori Morimoto (1):
ARM: shmobile: kzm9g: use gpio-keys instead of gpio-keys-polled
arch/arm/configs/kzm9g_defconfig | 2 +-
arch/arm/mach-shmobile/board-kzm9g.c | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH] ARM: shmobile: kzm9g: use gpio-keys instead of gpio-keys-polled 2012-08-30 5:47 [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 Simon Horman @ 2012-08-30 5:47 ` Simon Horman 2012-09-05 22:44 ` [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 Olof Johansson 1 sibling, 0 replies; 7+ messages in thread From: Simon Horman @ 2012-08-30 5:47 UTC (permalink / raw) To: linux-arm-kernel From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 6e20a0a429bd4dc07d6de16d9c247270e04e4aa0 (gpio: pcf857x: enable gpio_to_irq() support) supports gpio_to_irq() on pcf857x driver. Now, we can use gpio-keys driver instead of gpio-keys-polled. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au> --- arch/arm/configs/kzm9g_defconfig | 2 +- arch/arm/mach-shmobile/board-kzm9g.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/configs/kzm9g_defconfig b/arch/arm/configs/kzm9g_defconfig index 2388c86..175804e 100644 --- a/arch/arm/configs/kzm9g_defconfig +++ b/arch/arm/configs/kzm9g_defconfig @@ -22,7 +22,6 @@ CONFIG_MODULE_UNLOAD=y # CONFIG_IOSCHED_DEADLINE is not set # CONFIG_IOSCHED_CFQ is not set CONFIG_ARCH_SHMOBILE=y -CONFIG_KEYBOARD_GPIO_POLLED=y CONFIG_ARCH_SH73A0=y CONFIG_MACH_KZM9G=y CONFIG_MEMORY_START=0x41000000 @@ -70,6 +69,7 @@ CONFIG_INPUT_SPARSEKMAP=y # CONFIG_INPUT_MOUSEDEV is not set CONFIG_INPUT_EVDEV=y # CONFIG_KEYBOARD_ATKBD is not set +CONFIG_KEYBOARD_GPIO=y # CONFIG_INPUT_MOUSE is not set CONFIG_INPUT_TOUCHSCREEN=y CONFIG_TOUCHSCREEN_ST1232=y diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c index 53b7ea9..4d1348e 100644 --- a/arch/arm/mach-shmobile/board-kzm9g.c +++ b/arch/arm/mach-shmobile/board-kzm9g.c @@ -482,12 +482,10 @@ static struct gpio_keys_button gpio_buttons[] = { static struct gpio_keys_platform_data gpio_key_info = { .buttons = gpio_buttons, .nbuttons = ARRAY_SIZE(gpio_buttons), - .poll_interval = 250, /* poling at this point */ }; static struct platform_device gpio_keys_device = { - /* gpio-pcf857x.c driver doesn't support gpio_to_irq() */ - .name = "gpio-keys-polled", + .name = "gpio-keys", .dev = { .platform_data = &gpio_key_info, }, @@ -550,6 +548,7 @@ static struct platform_device fsi_ak4648_device = { /* I2C */ static struct pcf857x_platform_data pcf8575_pdata = { .gpio_base = GPIO_PCF8575_BASE, + .irq = intcs_evt2irq(0x3260), /* IRQ19 */ }; static struct i2c_board_info i2c0_devices[] = { -- 1.7.10.2.484.gcd07cc5 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 2012-08-30 5:47 [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 Simon Horman 2012-08-30 5:47 ` [PATCH] ARM: shmobile: kzm9g: use gpio-keys instead of gpio-keys-polled Simon Horman @ 2012-09-05 22:44 ` Olof Johansson 2012-09-06 5:58 ` Linus Walleij 1 sibling, 1 reply; 7+ messages in thread From: Olof Johansson @ 2012-09-05 22:44 UTC (permalink / raw) To: linux-arm-kernel On Thu, Aug 30, 2012 at 02:47:27PM +0900, Simon Horman wrote: > Hi Olof, Hi Arnd, > > please consider the following enhancement to the KZM-A9-GT board by > from Morimoto-san for inclusion in 3.7. > > * This pull request is based on the devel branch of > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git > which is based on v3.6-rc2. > > This is to satisfy compile-time dependencies. > Please let me know if you would like this handled a different way. Hi, It seems like Linus W's devel branch is not a stable one, since at least the topmost commit you pulled in from his branch is no longer available on it. This means we can't pull it in as a dependency in arm-soc without risking merge conflicts, etc. So, we can't pull in this branch with its dependency without an agreement that Linus holds a branch stable with at least the pcf857x patch on it. Linus? -Olof ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 2012-09-05 22:44 ` [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 Olof Johansson @ 2012-09-06 5:58 ` Linus Walleij 2012-09-06 6:18 ` Simon Horman 2012-09-06 7:35 ` Linus Walleij 0 siblings, 2 replies; 7+ messages in thread From: Linus Walleij @ 2012-09-06 5:58 UTC (permalink / raw) To: linux-arm-kernel On Thu, Sep 6, 2012 at 12:44 AM, Olof Johansson <olof@lixom.net> wrote: > So, we can't pull in this branch with its dependency without an agreement that > Linus holds a branch stable with at least the pcf857x patch on it. Linus? OMG! OK let's claim that it's stable now then, it's close enough to the merge window. Ironically his was caused by a Samsung commit (IIRC) which I applied to the GPIO tree but shouldn't be there (instead to be funneled through ARM SoC) so I had to take it out after a week. So maybe we're not so good off with these mixtures of "ARM SoC pulls GPIO" vs "ACK and push it all through ARM SoC" hm, maybe it's just one of those things we have to live with... Yours, Linus Walleij ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 2012-09-06 5:58 ` Linus Walleij @ 2012-09-06 6:18 ` Simon Horman 2012-09-06 7:16 ` Linus Walleij 2012-09-06 7:35 ` Linus Walleij 1 sibling, 1 reply; 7+ messages in thread From: Simon Horman @ 2012-09-06 6:18 UTC (permalink / raw) To: linux-arm-kernel On Thu, Sep 06, 2012 at 07:58:02AM +0200, Linus Walleij wrote: > On Thu, Sep 6, 2012 at 12:44 AM, Olof Johansson <olof@lixom.net> wrote: > > > So, we can't pull in this branch with its dependency without an agreement that > > Linus holds a branch stable with at least the pcf857x patch on it. Linus? > > OMG! OK let's claim that it's stable now then, it's close enough > to the merge window. > > Ironically his was caused by a Samsung commit (IIRC) which I > applied to the GPIO tree but shouldn't be there (instead to be > funneled through ARM SoC) so I had to take it out after > a week. So maybe we're not so good off with these mixtures > of "ARM SoC pulls GPIO" vs "ACK and push it all through ARM SoC" > hm, maybe it's just one of those things we have to live with... It seems to me that I should rebase the my branch and it can then go through either the ARM SoC or GPIO tree. Either is fine by me. As an aside, the patch does include a defconfig change. Olof, Should that be broken out into a separate patch? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 2012-09-06 6:18 ` Simon Horman @ 2012-09-06 7:16 ` Linus Walleij 0 siblings, 0 replies; 7+ messages in thread From: Linus Walleij @ 2012-09-06 7:16 UTC (permalink / raw) To: linux-arm-kernel On Thu, Sep 6, 2012 at 8:18 AM, Simon Horman <horms@verge.net.au> wrote: > It seems to me that I should rebase the my branch and it can > then go through either the ARM SoC or GPIO tree. Either is fine by me. Me too... > As an aside, the patch does include a defconfig change. > Olof, Should that be broken out into a separate patch? IIRC Arnd told me he actually likes when we patch defconfigs as part of other fixes so leave it in. Yours, Linus Walleij ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 2012-09-06 5:58 ` Linus Walleij 2012-09-06 6:18 ` Simon Horman @ 2012-09-06 7:35 ` Linus Walleij 1 sibling, 0 replies; 7+ messages in thread From: Linus Walleij @ 2012-09-06 7:35 UTC (permalink / raw) To: linux-arm-kernel On Thu, Sep 6, 2012 at 7:58 AM, Linus Walleij <linus.walleij@linaro.org> wrote: > On Thu, Sep 6, 2012 at 12:44 AM, Olof Johansson <olof@lixom.net> wrote: > >> So, we can't pull in this branch with its dependency without an agreement that >> Linus holds a branch stable with at least the pcf857x patch on it. Linus? > > OMG! OK let's claim that it's stable now then, it's close enough > to the merge window. Oh! And by the way, make sure you pull in the "devel" branch: git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel My "for-next" is a mixdown of fixes and devel, so the stuff that will really go into next merge window is on devel. Yours, Linus Walleij ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-09-06 7:35 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-08-30 5:47 [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 Simon Horman 2012-08-30 5:47 ` [PATCH] ARM: shmobile: kzm9g: use gpio-keys instead of gpio-keys-polled Simon Horman 2012-09-05 22:44 ` [GIT PULL] Renesas ARM-based SoC: KZM-A9-GT for 3.7 #2 Olof Johansson 2012-09-06 5:58 ` Linus Walleij 2012-09-06 6:18 ` Simon Horman 2012-09-06 7:16 ` Linus Walleij 2012-09-06 7:35 ` Linus Walleij
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).