* [PATCH 07/12] [ARM][S3C6410] Add definition of keypad platform data
@ 2009-09-05 13:30 양진성
2009-09-07 0:08 ` Kyungmin Park
0 siblings, 1 reply; 3+ messages in thread
From: 양진성 @ 2009-09-05 13:30 UTC (permalink / raw)
To: linux-arm-kernel
This patch includes platform data header of keypad driver and
extern definition of function to set platform data.
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 | 14 ++++++++++++++
1 files changed, 14 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..caf2417
--- /dev/null
+++ b/arch/arm/plat-s3c/include/plat/keypad.h
@@ -0,0 +1,14 @@
+#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;
+};
+
+extern void s3c_keypad_set_platdata(struct s3c_platform_keypad *pd);
+
+#endif /* __ASM_PLAT_S3C_KEYPAD_H */
--
1.6.2.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 07/12] [ARM][S3C6410] Add definition of keypad platform data
2009-09-05 13:30 [PATCH 07/12] [ARM][S3C6410] Add definition of keypad platform data 양진성
@ 2009-09-07 0:08 ` Kyungmin Park
2009-09-07 2:00 ` Jinsung Yang
0 siblings, 1 reply; 3+ messages in thread
From: Kyungmin Park @ 2009-09-07 0:08 UTC (permalink / raw)
To: linux-arm-kernel
2009/9/5 ??? <jsgood.yang@samsung.com>:
> This patch includes platform data header of keypad driver and
> extern definition of function to set platform data.
>
> 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 | ? 14 ++++++++++++++
> ?1 files changed, 14 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..caf2417
> --- /dev/null
> +++ b/arch/arm/plat-s3c/include/plat/keypad.h
> @@ -0,0 +1,14 @@
> +#ifndef __ASM_PLAT_S3C_KEYPAD_H
> +#define __ASM_PLAT_S3C_KEYPAD_H
Also you missed the copyright here.
> +
> +struct s3c_platform_keypad {
> + ? ? ? int nr_rows;
> + ? ? ? int nr_cols;
> + ? ? ? int max_keys;
> + ? ? ? int max_masks;
> + ? ? ? int delay;
> +};
Don't you need the keymap at here?
And please consider s5pc1xx series. you already aware the s5pc1xx
series keypad.
Also add the cfg_gpio at here.
Thank you,
Kyungmin Park
> +
> +extern void s3c_keypad_set_platdata(struct s3c_platform_keypad *pd);
> +
> +#endif /* __ASM_PLAT_S3C_KEYPAD_H */
> --
> 1.6.2.5
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 07/12] [ARM][S3C6410] Add definition of keypad platform data
2009-09-07 0:08 ` Kyungmin Park
@ 2009-09-07 2:00 ` Jinsung Yang
0 siblings, 0 replies; 3+ messages in thread
From: Jinsung Yang @ 2009-09-07 2:00 UTC (permalink / raw)
To: linux-arm-kernel
> -----Original Message-----
> From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-
> kernel-bounces at lists.infradead.org] On Behalf Of Kyungmin Park
> Sent: Monday, September 07, 2009 9:08 AM
> To: ???
> Cc: linux-arm-kernel at lists.infradead.org; ???/AP???/E3/????; ben-
> linux at fluff.org
> Subject: Re: [PATCH 07/12] [ARM][S3C6410] Add definition of keypad
> platform data
>
> 2009/9/5 ??? <jsgood.yang@samsung.com>:
> > This patch includes platform data header of keypad driver and
> > extern definition of function to set platform data.
> >
> > 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 | 14 ++++++++++++++
> > 1 files changed, 14 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..caf2417
> > --- /dev/null
> > +++ b/arch/arm/plat-s3c/include/plat/keypad.h
> > @@ -0,0 +1,14 @@
> > +#ifndef __ASM_PLAT_S3C_KEYPAD_H
> > +#define __ASM_PLAT_S3C_KEYPAD_H
>
> Also you missed the copyright here.
>
> > +
> > +struct s3c_platform_keypad {
> > + int nr_rows;
> > + int nr_cols;
> > + int max_keys;
> > + int max_masks;
> > + int delay;
> > +};
>
> Don't you need the keymap at here?
> And please consider s5pc1xx series. you already aware the s5pc1xx
> series keypad.
> Also add the cfg_gpio at here.
We got some recommendations about gpio function that the cfg_gpio() calls in the driver source code is not good idea.
Harald, could you explain the details again about gpio function call?
>
> Thank you,
> Kyungmin Park
>
> > +
> > +extern void s3c_keypad_set_platdata(struct s3c_platform_keypad *pd);
> > +
> > +#endif /* __ASM_PLAT_S3C_KEYPAD_H */
> > --
> > 1.6.2.5
> >
> >
> > _______________________________________________
> > linux-arm-kernel mailing list
> > linux-arm-kernel at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> >
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-07 2:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-05 13:30 [PATCH 07/12] [ARM][S3C6410] Add definition of keypad platform data 양진성
2009-09-07 0:08 ` Kyungmin Park
2009-09-07 2:00 ` Jinsung Yang
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).