All of lore.kernel.org
 help / color / mirror / Atom feed
From: jsgood.yang@samsung.com
To: dmitry.torokhov@gmail.com, ben-linux@fluff.org,
	linux-input@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Cc: Jinsung Yang <jsgood.yang@samsung.com>,
	Kyeongil Kim <ki0351.kim@samsung.com>
Subject: [PATCH 2/4] [ARM][S3C] Add definition for keypad platform data
Date: Wed,  9 Sep 2009 20:11:27 +0900	[thread overview]
Message-ID: <1252494687-17829-1-git-send-email-jsgood.yang@samsung.com> (raw)

From: Jinsung Yang <jsgood.yang@samsung.com>

This patch supports platform data definition which including
platform specific keymap.

Signed-off-by: Jinsung Yang <jsgood.yang@samsung.com>
Signed-off-by: Kyeongil Kim <ki0351.kim@samsung.com>
---
 arch/arm/plat-s3c/include/plat/keypad.h |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/plat-s3c/include/plat/keypad.h

diff --git a/arch/arm/plat-s3c/include/plat/keypad.h b/arch/arm/plat-s3c/include/plat/keypad.h
new file mode 100644
index 0000000..51c7396
--- /dev/null
+++ b/arch/arm/plat-s3c/include/plat/keypad.h
@@ -0,0 +1,27 @@
+/*
+ * linux/arch/arm/plat-s3c/include/plat/keypad.h
+ *
+ * Copyright (C) 2009 Samsung Electronics
+ *
+ * Header file for keypad platform data
+ *
+ * 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.
+ */
+
+#ifndef __ASM_PLAT_S3C_KEYPAD_H
+#define __ASM_PLAT_S3C_KEYPAD_H
+
+struct s3c_platform_keypad {
+	int nr_rows;
+	int nr_cols;
+	int max_keys;
+	int max_masks;
+	int delay;
+	unsigned short *keymap;
+};
+
+extern void s3c_keypad_set_platdata(struct s3c_platform_keypad *pd);
+
+#endif /* __ASM_PLAT_S3C_KEYPAD_H */
-- 
1.6.2.5


WARNING: multiple messages have this Message-ID (diff)
From: jsgood.yang@samsung.com (jsgood.yang at samsung.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] [ARM][S3C] Add definition for keypad platform data
Date: Wed,  9 Sep 2009 20:11:27 +0900	[thread overview]
Message-ID: <1252494687-17829-1-git-send-email-jsgood.yang@samsung.com> (raw)

From: Jinsung Yang <jsgood.yang@samsung.com>

This patch supports platform data definition which including
platform specific keymap.

Signed-off-by: Jinsung Yang <jsgood.yang@samsung.com>
Signed-off-by: Kyeongil Kim <ki0351.kim@samsung.com>
---
 arch/arm/plat-s3c/include/plat/keypad.h |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/plat-s3c/include/plat/keypad.h

diff --git a/arch/arm/plat-s3c/include/plat/keypad.h b/arch/arm/plat-s3c/include/plat/keypad.h
new file mode 100644
index 0000000..51c7396
--- /dev/null
+++ b/arch/arm/plat-s3c/include/plat/keypad.h
@@ -0,0 +1,27 @@
+/*
+ * linux/arch/arm/plat-s3c/include/plat/keypad.h
+ *
+ * Copyright (C) 2009 Samsung Electronics
+ *
+ * Header file for keypad platform data
+ *
+ * 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.
+ */
+
+#ifndef __ASM_PLAT_S3C_KEYPAD_H
+#define __ASM_PLAT_S3C_KEYPAD_H
+
+struct s3c_platform_keypad {
+	int nr_rows;
+	int nr_cols;
+	int max_keys;
+	int max_masks;
+	int delay;
+	unsigned short *keymap;
+};
+
+extern void s3c_keypad_set_platdata(struct s3c_platform_keypad *pd);
+
+#endif /* __ASM_PLAT_S3C_KEYPAD_H */
-- 
1.6.2.5

             reply	other threads:[~2009-09-09 11:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09 11:11 jsgood.yang [this message]
2009-09-09 11:11 ` [PATCH 2/4] [ARM][S3C] Add definition for keypad platform data jsgood.yang at samsung.com

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=1252494687-17829-1-git-send-email-jsgood.yang@samsung.com \
    --to=jsgood.yang@samsung.com \
    --cc=ben-linux@fluff.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=ki0351.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-input@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.