linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Audio codec device tree entries
@ 2007-10-23  1:59 Jon Smirl
  2007-10-23  2:57 ` David Gibson
                   ` (2 more replies)
  0 siblings, 3 replies; 42+ messages in thread
From: Jon Smirl @ 2007-10-23  1:59 UTC (permalink / raw)
  To: PowerPC dev list

Is this what the device tree entries should look like?

First example is ac97 audio:

ac97@2000 {           // PSC1
      device_type = "sound";
      compatible = "mpc5200b-psc-ac97\0mpc5200-psc-ac97";
      cell-index = <0>;
      reg = <2000 100>;
      interrupts = <2 1 0>;
      interrupt-parent = <&mpc5200_pic>;
      codec-handle = <&codec0>
};

pseudo-sound@0 { // use to trigger loading platform specific fabric driver
      device_type = "pseudo-sound"
};

codec0:codec@0 {
      device_type = "codec"
      compatible = "stac9766\0ac97"
};

Second is i2s/i2c connected:
How do I link this to the i2c bus?

i2s@2000 {           // PSC1
      device_type = "sound";
      compatible = "mpc5200b-psc-i2s\0mpc5200-psc-i2s";
      cell-index = <0>;
      reg = <2000 100>;
      interrupts = <2 1 0>;
      interrupt-parent = <&mpc5200_pic>;
      codec-handle = <&codec0>
};

i2c@3d00 {
      device_type = "i2c";
      compatible = "mpc5200b-i2c\0mpc5200-i2c\0fsl-i2c";
      cell-index = <0>;
      reg = <3d00 40>;
      interrupts = <2 f 0>;
      interrupt-parent = <&mpc5200_pic>;
      fsl5200-clocking;
};

pseudo-sound@0 { // use to trigger loading platform specific fabric driver
      device_type = "pseudo-sound"
};

codec0:codec@0 {
      device_type = "codec"
      compatible = "tas5508"
};





-- 
Jon Smirl
jonsmirl@gmail.com

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

end of thread, other threads:[~2007-10-25 16:14 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23  1:59 Audio codec device tree entries Jon Smirl
2007-10-23  2:57 ` David Gibson
2007-10-23  3:57 ` Grant Likely
2007-10-23  8:06   ` Segher Boessenkool
2007-10-23 15:27 ` Timur Tabi
2007-10-23 16:56   ` Segher Boessenkool
2007-10-23 22:29     ` Jon Smirl
2007-10-24 14:13       ` Timur Tabi
2007-10-24 15:00         ` Jon Smirl
2007-10-24 15:07           ` Timur Tabi
2007-10-24 15:28             ` Grant Likely
2007-10-24 23:52               ` David Gibson
2007-10-24 15:16           ` Grant Likely
2007-10-24 15:20             ` Grant Likely
2007-10-24 15:28               ` Jon Smirl
2007-10-24 15:43                 ` Grant Likely
2007-10-24 15:54                   ` Jon Smirl
2007-10-24 16:01                     ` Timur Tabi
2007-10-24 16:39                       ` Grant Likely
2007-10-24 16:41                         ` Timur Tabi
2007-10-24 16:47                           ` Grant Likely
2007-10-24 16:38                     ` Grant Likely
2007-10-24 16:41                       ` Timur Tabi
2007-10-24 16:52                         ` Grant Likely
2007-10-24 17:01                       ` Jon Smirl
2007-10-24 17:13                         ` Grant Likely
2007-10-24 17:13                         ` Timur Tabi
2007-10-24 19:31                           ` Jon Smirl
2007-10-24 19:41                             ` Timur Tabi
2007-10-24 19:56                               ` Jon Smirl
2007-10-25  0:04                       ` David Gibson
2007-10-25  0:17                         ` Jon Smirl
2007-10-25  0:38                           ` David Gibson
2007-10-25  3:11                             ` Jon Smirl
2007-10-25 16:14                               ` Timur Tabi
2007-10-24 23:55                     ` David Gibson
2007-10-24 15:23             ` Jon Smirl
2007-10-24 15:40               ` Timur Tabi
2007-10-24 15:54                 ` Grant Likely
2007-10-24 15:08         ` Grant Likely
2007-10-24 15:19           ` Jon Smirl
2007-10-25  0:01             ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).