[PATCH v2] linux-omap-psp: Fix the user button GPIO to the correct value for a BeagleBoard-xM

93 views
Skip to first unread message

Joel A Fernandes

unread,
Jul 5, 2011, 9:48:56 PM7/5/11
to openembed...@lists.openembedded.org, Joel A Fernandes, j...@ti.com, k-k...@ti.com, chase....@ti.com, joel...@ti.com, bea...@list.ti.com, beagl...@googlegroups.com
Signed-off-by: Joel A Fernandes <agnel...@gmail.com>
---
...agle-cleaned-up-board-revision-conditions.patch | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
index 513a101..fb91cb6 100644
--- a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
+++ b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
@@ -143,8 +143,8 @@ index 4bde54b..664a9c6 100644
omap3_beagle_i2c_init();

- if (cpu_is_omap3630()) {
-+ if ((omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMAB) &&
-+ (omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMC)) {
++ if ((omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMAB) ||
++ (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMC)) {
gpio_buttons[0].gpio = 4;
}

--
1.7.0.4

Kooi, Koen

unread,
Jul 6, 2011, 4:39:53 AM7/6/11
to Joel A Fernandes, openembed...@lists.openembedded.org, Kridner, Jason, Maupin, Chase, Fernandes, Joel A, beagle@list.ti.com - Ultra-low cost OMAP3 board (May contain non-TIers), beagl...@googlegroups.com
Missing a PR bump

>
Texas Instruments Limited, 800 Pavilion Drive, Northampton, NN4 7YL. Registered in England & Wales under company number 00574102

-----Original Message-----

Joel A Fernandes

unread,
Jul 6, 2011, 12:02:46 PM7/6/11
to openembed...@lists.openembedded.org, Joel A Fernandes, j...@ti.com, k-k...@ti.com, chase....@ti.com, joel...@ti.com, bea...@list.ti.com, beagl...@googlegroups.com
The user-button wasn't working for me with the the linux-omap-psp-2.6.32 kernel, this change fixes it. I noticed the correct value in the linux-omap-2.6.39 sources

Signed-off-by: Joel A Fernandes <agnel...@gmail.com>
---

Changes since v2:
* Bumped PR
* Made the commit summary more descriptive, removed full stop

conf/machine/include/omap3.inc | 2 +-
...agle-cleaned-up-board-revision-conditions.patch | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc
index c762d41..f806a32 100644
--- a/conf/machine/include/omap3.inc
+++ b/conf/machine/include/omap3.inc
@@ -4,7 +4,7 @@ TARGET_ARCH = "arm"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r102"
+MACHINE_KERNEL_PR = "r103"

KERNEL_IMAGETYPE = "uImage"



diff --git a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
index 513a101..fb91cb6 100644
--- a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
+++ b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch

Jason Kridner

unread,
Jul 10, 2011, 8:16:57 PM7/10/11
to openembed...@lists.openembedded.org, joel...@ti.com, beagl...@googlegroups.com, k-k...@ti.com, Joel A Fernandes, j...@ti.com, bea...@list.ti.com
On Wed, Jul 6, 2011 at 12:02 PM, Joel A Fernandes <agnel...@gmail.com> wrote:
> The user-button wasn't working for me with the the linux-omap-psp-2.6.32 kernel, this change fixes it. I noticed the correct value in the linux-omap-2.6.39 sources
>
> Signed-off-by: Joel A Fernandes <agnel...@gmail.com>
> ---
> Changes since v2:
> * Bumped PR
> * Made the commit summary more descriptive, removed full stop

Acked-by: Jason Kridner <jkri...@beagleboard.org>

I confirmed by looking at the schematics that this is the correct
logic. GPIO4 for BeagleBoard-xM and GPIO7 for BeagleBoard.

> _______________________________________________
> Openembedded-devel mailing list
> Openembed...@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Koen Kooi

unread,
Jul 11, 2011, 3:35:32 AM7/11/11
to beagl...@googlegroups.com, openembed...@lists.openembedded.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 06-07-11 18:02, Joel A Fernandes schreef:


> The user-button wasn't working for me with the the
> linux-omap-psp-2.6.32 kernel, this change fixes it. I noticed the
> correct value in the linux-omap-2.6.39 sources
>
> Signed-off-by: Joel A Fernandes
> <agnel...@gmail.com> --- Changes
> since v2: * Bumped PR

I merged a slightly different version, so this only needs a local PR
bump, not a global one (external modules don't need rebuilding).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOGqfEMkyGM64RGpERAsBPAJ9FAeW+GQdeJsZGXyHTlzGW58s+4wCghWlo
C99ircZWcyUHM8rtia6xgLE=
=NVG2
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages