From: "Remy Bohmer" <l.pinguin@gmail.com>
To: andrew@sanpeople.com
Cc: linux-arm-kernel@lists.arm.linux.org.uk, linux-kernel@vger.kernel.org
Subject: [PATCH]: Make LEDS work on evaluation board AT91SAM9261-EK
Date: Tue, 8 May 2007 11:19:16 +0200 [thread overview]
Message-ID: <3efb10970705080219j21f8d5f2n26250548bcdebf30@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 331 bytes --]
Hello Andrew,
Attached you can find a patch needed to make the LEDS for 'CPU-Idle'
and 'Timer' work on the AT91SAM9261-EK board. The kernel configuration
options are already there, but the implementation is not available.
This patch fixes this.
Can you please apply this patch to the kernel mainline?
Kind Regards,
Remy Bohmer
[-- Attachment #2: leds.diff --]
[-- Type: text/x-patch, Size: 1099 bytes --]
diff -ruN linux-2.6.21.orig/arch/arm/mach-at91/board-sam9261ek.c linux-2.6.21/arch/arm/mach-at91/board-sam9261ek.c
--- linux-2.6.21.orig/arch/arm/mach-at91/board-sam9261ek.c 2007-05-04 15:51:34.000000000 +0200
+++ linux-2.6.21/arch/arm/mach-at91/board-sam9261ek.c 2007-05-07 16:45:04.000000000 +0200
@@ -59,6 +59,9 @@
/* Initialize processor: 18.432 MHz crystal */
at91sam9261_initialize(18432000);
+ /* Setup the LEDs */
+ at91_init_leds(AT91_PIN_PA13, AT91_PIN_PA14);
+
/* Setup the serial ports and console */
at91_init_serial(&ek_uart_config);
}
diff -ruN linux-2.6.21.orig/arch/arm/mach-at91/Makefile linux-2.6.21/arch/arm/mach-at91/Makefile
--- linux-2.6.21.orig/arch/arm/mach-at91/Makefile 2007-05-04 15:51:34.000000000 +0200
+++ linux-2.6.21/arch/arm/mach-at91/Makefile 2007-05-07 17:34:21.000000000 +0200
@@ -38,6 +39,7 @@
# LEDs support
led-$(CONFIG_ARCH_AT91RM9200DK) += leds.o
led-$(CONFIG_MACH_AT91RM9200EK) += leds.o
+led-$(CONFIG_MACH_AT91SAM9261EK)+= leds.o
led-$(CONFIG_MACH_CSB337) += leds.o
led-$(CONFIG_MACH_CSB637) += leds.o
led-$(CONFIG_MACH_KB9200) += leds.o
reply other threads:[~2007-05-08 9:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3efb10970705080219j21f8d5f2n26250548bcdebf30@mail.gmail.com \
--to=l.pinguin@gmail.com \
--cc=andrew@sanpeople.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@bohmer.net \
/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
Powered by JetHome