From: Tony Lindgren <tony@atomide.com>
To: linux-omap@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 4/5] ARM: dts: Add twl keypad map for LDP
Date: Wed, 5 Nov 2014 10:44:03 -0800 [thread overview]
Message-ID: <20141105184403.GW31454@atomide.com> (raw)
In-Reply-To: <1415212550-24692-5-git-send-email-tony@atomide.com>
* Tony Lindgren <tony@atomide.com> [141105 10:39]:
> Looks like we're still missing the keypad map for LDP.
> Let's add it since we have the binding now available
> for the twl4030_keypad as otherwise we get the following
> errors during the boot:
>
> twl4030_keypad keypad.31: OF: linux,keymap property not defined
> in /ocp/i2c@48070000/twl@48/keypad
> twl4030_keypad keypad.31: Failed to build keymap
> twl4030_keypad: probe of keypad.31 failed with error -2
Uhh, this should say EVM instead of LDP.. Copy paste description
from the LDP patch.
Regards,
Tony
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
> arch/arm/boot/dts/omap3-evm-common.dtsi | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/arch/arm/boot/dts/omap3-evm-common.dtsi b/arch/arm/boot/dts/omap3-evm-common.dtsi
> index c8747c7..127f3e7 100644
> --- a/arch/arm/boot/dts/omap3-evm-common.dtsi
> +++ b/arch/arm/boot/dts/omap3-evm-common.dtsi
> @@ -2,6 +2,7 @@
> * Common support for omap3 EVM boards
> */
>
> +#include <dt-bindings/input/input.h>
> #include "omap-gpmc-smsc911x.dtsi"
>
> / {
> @@ -111,6 +112,26 @@
> ti,use-leds;
> };
>
> +&twl_keypad {
> + linux,keymap = <
> + MATRIX_KEY(2, 2, KEY_1)
> + MATRIX_KEY(1, 1, KEY_2)
> + MATRIX_KEY(0, 0, KEY_3)
> + MATRIX_KEY(3, 2, KEY_4)
> + MATRIX_KEY(2, 1, KEY_5)
> + MATRIX_KEY(1, 0, KEY_6)
> + MATRIX_KEY(1, 3, KEY_7)
> + MATRIX_KEY(3, 1, KEY_8)
> + MATRIX_KEY(2, 0, KEY_9)
> + MATRIX_KEY(2, 3, KEY_KPASTERISK)
> + MATRIX_KEY(0, 2, KEY_0)
> + MATRIX_KEY(3, 0, KEY_KPDOT)
> + /* s4 not wired */
> + MATRIX_KEY(1, 2, KEY_BACKSPACE)
> + MATRIX_KEY(0, 1, KEY_ENTER)
> + >;
> +};
> +
> &usb_otg_hs {
> interface-type = <0>;
> usb-phy = <&usb2_phy>;
> --
> 2.1.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/5] ARM: dts: Add twl keypad map for LDP
Date: Wed, 5 Nov 2014 10:44:03 -0800 [thread overview]
Message-ID: <20141105184403.GW31454@atomide.com> (raw)
In-Reply-To: <1415212550-24692-5-git-send-email-tony@atomide.com>
* Tony Lindgren <tony@atomide.com> [141105 10:39]:
> Looks like we're still missing the keypad map for LDP.
> Let's add it since we have the binding now available
> for the twl4030_keypad as otherwise we get the following
> errors during the boot:
>
> twl4030_keypad keypad.31: OF: linux,keymap property not defined
> in /ocp/i2c at 48070000/twl at 48/keypad
> twl4030_keypad keypad.31: Failed to build keymap
> twl4030_keypad: probe of keypad.31 failed with error -2
Uhh, this should say EVM instead of LDP.. Copy paste description
from the LDP patch.
Regards,
Tony
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
> arch/arm/boot/dts/omap3-evm-common.dtsi | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/arch/arm/boot/dts/omap3-evm-common.dtsi b/arch/arm/boot/dts/omap3-evm-common.dtsi
> index c8747c7..127f3e7 100644
> --- a/arch/arm/boot/dts/omap3-evm-common.dtsi
> +++ b/arch/arm/boot/dts/omap3-evm-common.dtsi
> @@ -2,6 +2,7 @@
> * Common support for omap3 EVM boards
> */
>
> +#include <dt-bindings/input/input.h>
> #include "omap-gpmc-smsc911x.dtsi"
>
> / {
> @@ -111,6 +112,26 @@
> ti,use-leds;
> };
>
> +&twl_keypad {
> + linux,keymap = <
> + MATRIX_KEY(2, 2, KEY_1)
> + MATRIX_KEY(1, 1, KEY_2)
> + MATRIX_KEY(0, 0, KEY_3)
> + MATRIX_KEY(3, 2, KEY_4)
> + MATRIX_KEY(2, 1, KEY_5)
> + MATRIX_KEY(1, 0, KEY_6)
> + MATRIX_KEY(1, 3, KEY_7)
> + MATRIX_KEY(3, 1, KEY_8)
> + MATRIX_KEY(2, 0, KEY_9)
> + MATRIX_KEY(2, 3, KEY_KPASTERISK)
> + MATRIX_KEY(0, 2, KEY_0)
> + MATRIX_KEY(3, 0, KEY_KPDOT)
> + /* s4 not wired */
> + MATRIX_KEY(1, 2, KEY_BACKSPACE)
> + MATRIX_KEY(0, 1, KEY_ENTER)
> + >;
> +};
> +
> &usb_otg_hs {
> interface-type = <0>;
> usb-phy = <&usb2_phy>;
> --
> 2.1.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-11-05 18:45 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-05 18:35 [PATCH 0/5] Few fixes for omaps to reduce bootup noise Tony Lindgren
2014-11-05 18:35 ` Tony Lindgren
2014-11-05 18:35 ` [PATCH 1/5] ARM: OMAP3: Fix errors for omap_l3_smx when booted with device tree Tony Lindgren
2014-11-05 18:35 ` Tony Lindgren
2014-11-05 20:16 ` santosh.shilimkar@oralce.com
2014-11-05 20:16 ` santosh.shilimkar@oralce.com
2014-11-05 20:16 ` santosh.shilimkar@oralce.com
2014-11-05 20:16 ` santosh.shilimkar@oralce.com
2014-11-05 18:35 ` [PATCH 2/5] ARM: dts: Fix NAND last partition size on LDP Tony Lindgren
2014-11-05 18:35 ` Tony Lindgren
2014-11-05 18:35 ` [PATCH 3/5] ARM: dts: Add twl keypad map for LDP Tony Lindgren
2014-11-05 18:35 ` Tony Lindgren
2014-11-05 18:35 ` [PATCH 4/5] " Tony Lindgren
2014-11-05 18:35 ` Tony Lindgren
2014-11-05 18:44 ` Tony Lindgren [this message]
2014-11-05 18:44 ` Tony Lindgren
2014-11-05 18:35 ` [PATCH 5/5] ARM: OMAP4+: Remove unused omap_l3_noc platform init Tony Lindgren
2014-11-05 18:35 ` Tony Lindgren
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=20141105184403.GW31454@atomide.com \
--to=tony@atomide.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@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.