All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@engr.sgi.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ppc32: Support for new Apple laptop models
Date: Tue, 22 Jun 2004 17:45:31 -0400	[thread overview]
Message-ID: <200406221745.31553.jbarnes@engr.sgi.com> (raw)
In-Reply-To: <1087934829.1832.3.camel@gaston>

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

On Tuesday, June 22, 2004 4:07 pm, Benjamin Herrenschmidt wrote:
> This patch adds support for newer Apple laptop models. It adds the basic
> identification for the new motherboards and the cpufreq support for models
> using the new 7447A CPU from Motorola.

And here's a patch to add sound support for some of the newer PowerBooks.  It 
appears that this chip supports the AWACS sample rates, but has a 
snapper-style mixer.  Tested and works on my PowerBook5,4.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>

Jesse

[-- Attachment #2: pmac-sound-aoakeylargo.patch --]
[-- Type: text/x-diff, Size: 663 bytes --]

===== sound/ppc/pmac.c 1.23 vs edited =====
--- 1.23/sound/ppc/pmac.c	2004-05-13 07:38:56 -04:00
+++ edited/sound/ppc/pmac.c	2004-06-22 17:40:39 -04:00
@@ -931,6 +931,13 @@
 		chip->freq_table = tumbler_freqs;
 		chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
 	}
+	if (device_is_compatible(sound, "AOAKeylargo")) {
+		/* Seems to support the stock AWACS frequencies, but has
+		   a snapper mixer */
+		chip->model = PMAC_SNAPPER;
+		// chip->can_byte_swap = 0; /* FIXME: check this */
+		chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
+	}
 	prop = (unsigned int *)get_property(sound, "device-id", 0);
 	if (prop)
 		chip->device_id = *prop;

  reply	other threads:[~2004-06-22 21:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-22 20:07 [PATCH] ppc32: Support for new Apple laptop models Benjamin Herrenschmidt
2004-06-22 21:45 ` Jesse Barnes [this message]
2004-06-22 21:48   ` Benjamin Herrenschmidt
2004-06-23 11:10     ` Jesse Barnes
2004-06-23 13:37       ` Benjamin Herrenschmidt

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=200406221745.31553.jbarnes@engr.sgi.com \
    --to=jbarnes@engr.sgi.com \
    --cc=akpm@osdl.org \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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.