From: Rob Herring <robherring2@gmail.com>
To: Roland Stigge <stigge@antcom.de>
Cc: dmitry.torokhov@gmail.com, axel.lin@gmail.com, riyer@nvidia.com,
michael.hennerich@analog.com, grant.likely@secretlab.ca,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, kevin.wells@nxp.com,
srinivas.bakki@nxp.com, devicetree-discuss@lists.ozlabs.org,
rob.herring@calxeda.com
Subject: Re: [PATCH RESEND v3 2/2] ARM: LPC32xx: Make platform use key driver
Date: Thu, 17 May 2012 18:32:10 -0500 [thread overview]
Message-ID: <4FB58A7A.4060606@gmail.com> (raw)
In-Reply-To: <1337199955-26441-2-git-send-email-stigge@antcom.de>
On 05/16/2012 03:25 PM, Roland Stigge wrote:
> This patch connects the lpc32xx-key driver to the LPC32xx platform (via
> lpc32xx.dtsi), and more specifically to the reference board via its dts file.
> The clock.c file needs to be changed to match the automatic device name to its
> clock.
>
> Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Rob Herring <rob.herring@calxeda.com>
>
> ---
> Applies to v3.4-rc7 + LPC32xx DT patches
>
> Please pick this patch for the arm-soc subsystem.
>
> Changes since v2:
> * DT: Use "keypad,num-rows", "keypad,num-columns" and "linux,keymap" properties
>
> arch/arm/boot/dts/lpc32xx.dtsi | 2 ++
> arch/arm/boot/dts/phy3250.dts | 9 +++++++++
> arch/arm/mach-lpc32xx/clock.c | 2 +-
> 3 files changed, 12 insertions(+), 1 deletion(-)
>
> --- linux-2.6.orig/arch/arm/boot/dts/lpc32xx.dtsi
> +++ linux-2.6/arch/arm/boot/dts/lpc32xx.dtsi
> @@ -249,6 +249,8 @@
> key@40050000 {
> compatible = "nxp,lpc3220-key";
> reg = <0x40050000 0x1000>;
> + interrupts = <54 0>;
> + status = "disable";
> };
>
> };
> --- linux-2.6.orig/arch/arm/boot/dts/phy3250.dts
> +++ linux-2.6/arch/arm/boot/dts/phy3250.dts
> @@ -135,6 +135,15 @@
> tsc@40048000 {
> status = "okay";
> };
> +
> + key@40050000 {
> + status = "okay";
> + keypad,num-rows = <1>;
> + keypad,num-columns = <1>;
> + nxp,debounce-delay-ms = <3>;
> + nxp,scan-delay-ms = <34>;
> + linux,keymap = <0x00000002>;
> + };
> };
> };
>
> --- linux-2.6.orig/arch/arm/mach-lpc32xx/clock.c
> +++ linux-2.6/arch/arm/mach-lpc32xx/clock.c
> @@ -1134,7 +1134,7 @@ static struct clk_lookup lookups[] = {
> CLKDEV_INIT("31020300.i2c", NULL, &clk_i2c2),
> CLKDEV_INIT("dev:ssp0", NULL, &clk_ssp0),
> CLKDEV_INIT("dev:ssp1", NULL, &clk_ssp1),
> - CLKDEV_INIT("lpc32xx_keys.0", NULL, &clk_kscan),
> + CLKDEV_INIT("40050000.key", NULL, &clk_kscan),
> CLKDEV_INIT("20020000.flash", NULL, &clk_nand),
> CLKDEV_INIT("200a8000.flash", NULL, &clk_nand_mlc),
> CLKDEV_INIT("40048000.adc", NULL, &clk_adc),
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss
WARNING: multiple messages have this Message-ID (diff)
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH RESEND v3 2/2] ARM: LPC32xx: Make platform use key driver
Date: Thu, 17 May 2012 18:32:10 -0500 [thread overview]
Message-ID: <4FB58A7A.4060606@gmail.com> (raw)
In-Reply-To: <1337199955-26441-2-git-send-email-stigge@antcom.de>
On 05/16/2012 03:25 PM, Roland Stigge wrote:
> This patch connects the lpc32xx-key driver to the LPC32xx platform (via
> lpc32xx.dtsi), and more specifically to the reference board via its dts file.
> The clock.c file needs to be changed to match the automatic device name to its
> clock.
>
> Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Rob Herring <rob.herring@calxeda.com>
>
> ---
> Applies to v3.4-rc7 + LPC32xx DT patches
>
> Please pick this patch for the arm-soc subsystem.
>
> Changes since v2:
> * DT: Use "keypad,num-rows", "keypad,num-columns" and "linux,keymap" properties
>
> arch/arm/boot/dts/lpc32xx.dtsi | 2 ++
> arch/arm/boot/dts/phy3250.dts | 9 +++++++++
> arch/arm/mach-lpc32xx/clock.c | 2 +-
> 3 files changed, 12 insertions(+), 1 deletion(-)
>
> --- linux-2.6.orig/arch/arm/boot/dts/lpc32xx.dtsi
> +++ linux-2.6/arch/arm/boot/dts/lpc32xx.dtsi
> @@ -249,6 +249,8 @@
> key at 40050000 {
> compatible = "nxp,lpc3220-key";
> reg = <0x40050000 0x1000>;
> + interrupts = <54 0>;
> + status = "disable";
> };
>
> };
> --- linux-2.6.orig/arch/arm/boot/dts/phy3250.dts
> +++ linux-2.6/arch/arm/boot/dts/phy3250.dts
> @@ -135,6 +135,15 @@
> tsc at 40048000 {
> status = "okay";
> };
> +
> + key at 40050000 {
> + status = "okay";
> + keypad,num-rows = <1>;
> + keypad,num-columns = <1>;
> + nxp,debounce-delay-ms = <3>;
> + nxp,scan-delay-ms = <34>;
> + linux,keymap = <0x00000002>;
> + };
> };
> };
>
> --- linux-2.6.orig/arch/arm/mach-lpc32xx/clock.c
> +++ linux-2.6/arch/arm/mach-lpc32xx/clock.c
> @@ -1134,7 +1134,7 @@ static struct clk_lookup lookups[] = {
> CLKDEV_INIT("31020300.i2c", NULL, &clk_i2c2),
> CLKDEV_INIT("dev:ssp0", NULL, &clk_ssp0),
> CLKDEV_INIT("dev:ssp1", NULL, &clk_ssp1),
> - CLKDEV_INIT("lpc32xx_keys.0", NULL, &clk_kscan),
> + CLKDEV_INIT("40050000.key", NULL, &clk_kscan),
> CLKDEV_INIT("20020000.flash", NULL, &clk_nand),
> CLKDEV_INIT("200a8000.flash", NULL, &clk_nand_mlc),
> CLKDEV_INIT("40048000.adc", NULL, &clk_adc),
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss
next prev parent reply other threads:[~2012-05-18 1:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-16 20:25 [PATCH RESEND v3 1/2] input: keyboard: Add keys driver for the LPC32xx SoC Roland Stigge
2012-05-16 20:25 ` Roland Stigge
2012-05-16 20:25 ` [PATCH RESEND v3 2/2] ARM: LPC32xx: Make platform use key driver Roland Stigge
2012-05-16 20:25 ` Roland Stigge
2012-05-17 23:32 ` Rob Herring [this message]
2012-05-17 23:32 ` Rob Herring
2012-05-17 17:38 ` [PATCH RESEND v3 1/2] input: keyboard: Add keys driver for the LPC32xx SoC Dmitry Torokhov
2012-05-17 17:38 ` Dmitry Torokhov
2012-05-18 9:12 ` Roland Stigge
2012-05-18 9:12 ` Roland Stigge
2012-05-17 23:31 ` Rob Herring
2012-05-17 23:31 ` Rob Herring
-- strict thread matches above, loose matches on Subject: below --
2012-05-05 12:01 [PATCH RESEND v3 2/2] ARM: LPC32xx: Make platform use key driver Roland Stigge
2012-05-05 12:01 ` Roland Stigge
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=4FB58A7A.4060606@gmail.com \
--to=robherring2@gmail.com \
--cc=axel.lin@gmail.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=dmitry.torokhov@gmail.com \
--cc=grant.likely@secretlab.ca \
--cc=kevin.wells@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.hennerich@analog.com \
--cc=riyer@nvidia.com \
--cc=rob.herring@calxeda.com \
--cc=srinivas.bakki@nxp.com \
--cc=stigge@antcom.de \
/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.