Skip to contentSkip to conversation

S3C64XX PCM: Defined PCM controller platform devices

PATCH In review Jassi Brar 3 participants 5 messages Nov 5, 2009 – Nov 8, 2009

Subsystems (3)
lore
Share & tools
lore

Jassi Brar

author
#0 lore raw

PATCH 6/7 S3C64XX PCM: Defined PCM controller platform devices

---
 arch/arm/plat-s3c/include/plat/devs.h |    3 +
 arch/arm/plat-s3c64xx/dev-audio.c     |  101 ++++++++++++++++++++++++++++++++-
 2 files changed, 103 insertions(+), 1 deletions(-)
arch/arm/plat-s3c/include/plat/devs.h +3 -0
index 0f540ea..932cbbb 100644
@@ -28,6 +28,9 @@ extern struct platform_device s3c64xx_device_iis0;
 extern struct platform_device s3c64xx_device_iis1;
 extern struct platform_device s3c64xx_device_iisv4;
 
+extern struct platform_device s3c64xx_device_pcm0;
+extern struct platform_device s3c64xx_device_pcm1;
+
 extern struct platform_device s3c_device_fb;
 extern struct platform_device s3c_device_usb;
 extern struct platform_device s3c_device_lcd;
arch/arm/plat-s3c64xx/dev-audio.c +100 -1

112 lines not on this page · raw message

Signature · 1 line
1.6.2.5
#1 lore raw
Quoted 5 lines · Jassi Brar
---
 arch/arm/plat-s3c/include/plat/devs.h |    3 +
 arch/arm/plat-s3c64xx/dev-audio.c     |  101 ++++++++++++++++++++++++++++++++-
 2 files changed, 103 insertions(+), 1 deletions(-)

Might be good to call the devices "samsung-pcm" rather than "s3c-pcm" or whatever the decision is on a common prefix to cope with the s5p CPUs.

#2 lore raw
Quoted 9 lines · Mark Brown
Quoted 5 lines · Jassi Brar

---
 arch/arm/plat-s3c/include/plat/devs.h |    3 + arch/arm/plat-s3c64xx/dev-audio.c     |  101 ++++++++++++++++++++++++++++++++-

 2 files changed, 103 insertions(+), 1 deletions(-)

Might be good to call the devices "samsung-pcm" rather than "s3c-pcm" or whatever the decision is on a common prefix to cope with the s5p CPUs.

Well, pcm_<version> wud be even better.
with 'samsung-pcm' we run out of a good option if the newer SoCs come with different version of the PCM Controller.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw
Quoted 8 lines · jassi brar

On Sat, Nov 7, 2009 at 1:54 AM, Mark Brown

Quoted 2 lines

Might be good to call the devices "samsung-pcm" rather than "s3c-pcm" or whatever the decision is on a common prefix to cope with the s5p CPUs.

Well, pcm_<version> wud be even better.
with 'samsung-pcm' we run out of a good option if the newer SoCs come with different version of the PCM Controller.

That'd be fine as well, though I don't see a problem with omitting the version just now and then adding a second file with a version appended if a second version does crop up.

#4 lore raw
Quoted 6 lines · Mark Brown
Quoted 4 lines · jassi brar

On Sat, Nov 7, 2009 at 1:54 AM, Mark Brown

Quoted 2 lines

Might be good to call the devices "samsung-pcm" rather than "s3c-pcm" or whatever the decision is on a common prefix to cope with the s5p CPUs.

Quoted 7 lines
Quoted 3 lines

Well, pcm_<version> wud be even better.
with 'samsung-pcm' we run out of a good option if the newer SoCs come with different version of the PCM Controller.

That'd be fine as well, though I don't see a problem with omitting the version just now and then adding a second file with a version appended if a second version does crop up.

Thanks for the feedback. I will wait for Ben's review of the patches before making
final changes and re-submitting.