From: jassisinghbrar@gmail.com
To: linux-samsung-soc@vger.kernel.org
Cc: Jassi Brar <jassi.brar@samsung.com>
Subject: [PATCH 5/7] S3C AUDIO: Add header to pass platform data to device drivers.
Date: Wed, 4 Nov 2009 17:29:07 +0900 [thread overview]
Message-ID: <1257323349-18481-5-git-send-email-jassisinghbrar@gmail.com> (raw)
In-Reply-To: <1257323349-18481-4-git-send-email-jassisinghbrar@gmail.com>
From: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
---
arch/arm/plat-s3c/include/plat/audio.h | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/plat-s3c/include/plat/audio.h
diff --git a/arch/arm/plat-s3c/include/plat/audio.h b/arch/arm/plat-s3c/include/plat/audio.h
new file mode 100644
index 0000000..9b2007c
--- /dev/null
+++ b/arch/arm/plat-s3c/include/plat/audio.h
@@ -0,0 +1,20 @@
+/* arch/arm/plat-s3c/include/plat/audio.h
+ *
+ * Copyright (c) 2009 Samsung Electronics Co. Ltd
+ * Author: Jaswinder Singh <jassi.brar@samsung.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/**
+ * struct s3c_audio_pdata - common platform data for audio device drivers
+ * @pdata: Pointer to protocol(I2S, PCM or AC97) specific platform data
+ * @cfg_gpio: Callback function to setup mux'ed pins in I2S/PCM/AC97 mode
+ */
+struct s3c_audio_pdata {
+ void *pdata;
+
+ int (*cfg_gpio)(struct platform_device *);
+};
--
1.6.2.5
next prev parent reply other threads:[~2009-11-04 8:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 8:29 [PATCH 1/7] S3C AUDIO: Rename s3c24xx_pcm prefix to generic s3c_audio jassisinghbrar
2009-11-04 8:29 ` [PATCH 2/7] S3C AUDIO: Rename s3c24xx-pcm driver " jassisinghbrar
2009-11-04 8:29 ` [PATCH 3/7] S3C64XX PCM: Define PCM Controller base registers jassisinghbrar
2009-11-04 8:29 ` [PATCH 4/7] S3C64XX PCM: Added PCLK clock source for the PCM controllers jassisinghbrar
2009-11-04 8:29 ` jassisinghbrar [this message]
2009-11-04 8:29 ` [PATCH 6/7] S3C64XX PCM: Defined PCM controller platform devices jassisinghbrar
2009-11-04 8:29 ` [PATCH 7/7] S3C PCM: Added the CPU driver for PCM controllers jassisinghbrar
2009-11-04 11:06 ` [PATCH 2/7] S3C AUDIO: Rename s3c24xx-pcm driver to generic s3c_audio Mark Brown
2009-11-05 0:13 ` jassi brar
-- strict thread matches above, loose matches on Subject: below --
2009-11-05 1:35 [PATCH 5/7] S3C AUDIO: Add header to pass platform data to device drivers Jassi Brar
2009-11-06 16:52 ` Mark Brown
2009-11-07 3:31 ` jassi brar
2009-11-07 12:12 ` Mark Brown
2009-11-11 4:45 Jassi Brar
2009-11-16 10:49 ` Ben Dooks
2009-11-16 11:46 ` jassi brar
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=1257323349-18481-5-git-send-email-jassisinghbrar@gmail.com \
--to=jassisinghbrar@gmail.com \
--cc=jassi.brar@samsung.com \
--cc=linux-samsung-soc@vger.kernel.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.