All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matej Kupljen <matej.kupljen@ultra.si>
To: linux-mips@linux-mips.org
Cc: Jordan Crouse <jordan.crouse@amd.com>
Subject: [PATCH] Simple patch to power off DBAU1200
Date: Wed, 30 Nov 2005 10:20:01 +0100	[thread overview]
Message-ID: <1133342401.24526.25.camel@localhost.localdomain> (raw)

[-- 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();
 

             reply	other threads:[~2005-11-30  9:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-30  9:20 Matej Kupljen [this message]
2005-12-08 19:55 ` [PATCH] Simple patch to power off DBAU1200 Sergei Shtylylov
2005-12-08 20:30   ` [PATCH] Enable DBAu1550 soft-off Sergei Shtylylov
2005-12-08 20:40     ` Sergei Shtylylov

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=1133342401.24526.25.camel@localhost.localdomain \
    --to=matej.kupljen@ultra.si \
    --cc=jordan.crouse@amd.com \
    --cc=linux-mips@linux-mips.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.