Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Simple patch to power off DBAU1200
@ 2005-11-30  9:20 Matej Kupljen
  2005-12-08 19:55 ` Sergei Shtylylov
  0 siblings, 1 reply; 4+ messages in thread
From: Matej Kupljen @ 2005-11-30  9:20 UTC (permalink / raw)
  To: linux-mips; +Cc: Jordan Crouse

[-- Attachment #1: Type: text/plain, Size: 94 bytes --]

Hi

Please, find the attached patch which enables
powering off the DBAU1200 board.

BR,
Matej

[-- Attachment #2: linux-2.6.14-dbau1200-poweroff.patch --]
[-- Type: text/x-patch, Size: 473 bytes --]

Patch to enable powering off DBAU1200

Signed-off-by: Matej Kupljen <matej.kupljen@ultra.si>

--- a/arch/mips/au1000/common/reset.c	2005-10-24 13:36:24.000000000 +0200
+++ b/arch/mips/au1000/common/reset.c	2005-08-24 14:39:58.000000000 +0200
@@ -175,6 +175,9 @@
 #ifdef CONFIG_MIPS_MIRAGE
 	au_writel((1 << 26) | (1 << 10), GPIO2_OUTPUT);
 #endif
+#ifdef CONFIG_MIPS_DB1200
+	au_writew(au_readw(0xB980001C) | (1<<14), 0xB980001C);
+#endif
 #ifdef CONFIG_PM
 	au_sleep();
 

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

end of thread, other threads:[~2005-12-08 20:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-30  9:20 [PATCH] Simple patch to power off DBAU1200 Matej Kupljen
2005-12-08 19:55 ` Sergei Shtylylov
2005-12-08 20:30   ` [PATCH] Enable DBAu1550 soft-off Sergei Shtylylov
2005-12-08 20:40     ` Sergei Shtylylov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox