All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: tegra: dalmore: populate key mapping
@ 2013-04-10 11:47 ` Laxman Dewangan
  0 siblings, 0 replies; 8+ messages in thread
From: Laxman Dewangan @ 2013-04-10 11:47 UTC (permalink / raw)
  To: swarren-3lzwWm7+Weoh9ZMKESR00Q
  Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Laxman Dewangan

Keys on Dalmore interfaced through Tegra KBC controller
in key matrix topology.

Add the key mapping for the keys.

Signed-off-by: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
The system is booted on Dalmore SKU1000 with the fastboot.

 arch/arm/boot/dts/tegra114-dalmore.dts |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 72c1f27..12198d1 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -823,6 +823,18 @@
 		};
 	};
 
+	kbc {
+		status = "okay";
+		nvidia,debounce-delay-ms = <640>;
+		nvidia,repeat-delay-ms = <1>;
+		nvidia,kbc-row-pins = <0 1 2>;
+		nvidia,kbc-col-pins = <11 12 13>;
+		linux,keymap = < 0x00000074	/* KEY_POWER */
+				 0x00010066	/* KEY_HOME */
+				 0x01010072	/* KEY_VOLUMEDOWN */
+				 0x02010073>;	/* KEY_VOLUMEUP */
+	};
+
 	pmc {
 		nvidia,invert-interrupt;
 	};
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 1/2] ARM: tegra: dalmore: populate key mapping
@ 2013-04-10 11:47 ` Laxman Dewangan
  0 siblings, 0 replies; 8+ messages in thread
From: Laxman Dewangan @ 2013-04-10 11:47 UTC (permalink / raw)
  To: swarren
  Cc: linux, linux-arm-kernel, linux-tegra, linux-kernel, Laxman Dewangan

Keys on Dalmore interfaced through Tegra KBC controller
in key matrix topology.

Add the key mapping for the keys.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
The system is booted on Dalmore SKU1000 with the fastboot.

 arch/arm/boot/dts/tegra114-dalmore.dts |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 72c1f27..12198d1 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -823,6 +823,18 @@
 		};
 	};
 
+	kbc {
+		status = "okay";
+		nvidia,debounce-delay-ms = <640>;
+		nvidia,repeat-delay-ms = <1>;
+		nvidia,kbc-row-pins = <0 1 2>;
+		nvidia,kbc-col-pins = <11 12 13>;
+		linux,keymap = < 0x00000074	/* KEY_POWER */
+				 0x00010066	/* KEY_HOME */
+				 0x01010072	/* KEY_VOLUMEDOWN */
+				 0x02010073>;	/* KEY_VOLUMEUP */
+	};
+
 	pmc {
 		nvidia,invert-interrupt;
 	};
-- 
1.7.1.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 1/2] ARM: tegra: dalmore: populate key mapping
@ 2013-04-10 11:47 ` Laxman Dewangan
  0 siblings, 0 replies; 8+ messages in thread
From: Laxman Dewangan @ 2013-04-10 11:47 UTC (permalink / raw)
  To: linux-arm-kernel

Keys on Dalmore interfaced through Tegra KBC controller
in key matrix topology.

Add the key mapping for the keys.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
The system is booted on Dalmore SKU1000 with the fastboot.

 arch/arm/boot/dts/tegra114-dalmore.dts |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 72c1f27..12198d1 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -823,6 +823,18 @@
 		};
 	};
 
+	kbc {
+		status = "okay";
+		nvidia,debounce-delay-ms = <640>;
+		nvidia,repeat-delay-ms = <1>;
+		nvidia,kbc-row-pins = <0 1 2>;
+		nvidia,kbc-col-pins = <11 12 13>;
+		linux,keymap = < 0x00000074	/* KEY_POWER */
+				 0x00010066	/* KEY_HOME */
+				 0x01010072	/* KEY_VOLUMEDOWN */
+				 0x02010073>;	/* KEY_VOLUMEUP */
+	};
+
 	pmc {
 		nvidia,invert-interrupt;
 	};
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] ARM: tegra: pluto: populate key mapping
  2013-04-10 11:47 ` Laxman Dewangan
  (?)
@ 2013-04-10 11:47     ` Laxman Dewangan
  -1 siblings, 0 replies; 8+ messages in thread
From: Laxman Dewangan @ 2013-04-10 11:47 UTC (permalink / raw)
  To: swarren-3lzwWm7+Weoh9ZMKESR00Q
  Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Laxman Dewangan

Keys on Pluto interfaced through Tegra KBC controller
in key matrix topology.

Add the key mapping for the keys

Signed-off-by: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
The system is booted on Pluto with the fastboot.

 arch/arm/boot/dts/tegra114-pluto.dts |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra114-pluto.dts b/arch/arm/boot/dts/tegra114-pluto.dts
index 6bbc8ef..290c9ce 100644
--- a/arch/arm/boot/dts/tegra114-pluto.dts
+++ b/arch/arm/boot/dts/tegra114-pluto.dts
@@ -14,6 +14,23 @@
 		status = "okay";
 	};
 
+	kbc {
+		status = "okay";
+		nvidia,debounce-delay-ms = <640>;
+		nvidia,repeat-delay-ms = <1>;
+		nvidia,kbc-row-pins = <0 1 2>;
+		nvidia,kbc-col-pins = <11 12 13>;
+		linux,keymap = < 0x00000074	/* KEY_POWER */
+				 0x00010073	/* KEY_VOLUMEUP */
+				 0x00020072	/* KEY_VOLUMEDOWN */
+				 0x010000D9	/* KEY_SEARCH */
+				 0x010100D4	/* KEY_CAMERA */
+				 0x010200D2	/* KEY_CAMERA_FOCUS */
+				 0x02000066	/* KEY_HOME */
+				 0x0201009E	/* KEY_BACK */
+				 0x0202008B>;	/* KEY_MENU */
+	};
+
 	pmc {
 		nvidia,invert-interrupt;
 	};
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] ARM: tegra: pluto: populate key mapping
@ 2013-04-10 11:47     ` Laxman Dewangan
  0 siblings, 0 replies; 8+ messages in thread
From: Laxman Dewangan @ 2013-04-10 11:47 UTC (permalink / raw)
  To: swarren
  Cc: linux, linux-arm-kernel, linux-tegra, linux-kernel, Laxman Dewangan

Keys on Pluto interfaced through Tegra KBC controller
in key matrix topology.

Add the key mapping for the keys

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
The system is booted on Pluto with the fastboot.

 arch/arm/boot/dts/tegra114-pluto.dts |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra114-pluto.dts b/arch/arm/boot/dts/tegra114-pluto.dts
index 6bbc8ef..290c9ce 100644
--- a/arch/arm/boot/dts/tegra114-pluto.dts
+++ b/arch/arm/boot/dts/tegra114-pluto.dts
@@ -14,6 +14,23 @@
 		status = "okay";
 	};
 
+	kbc {
+		status = "okay";
+		nvidia,debounce-delay-ms = <640>;
+		nvidia,repeat-delay-ms = <1>;
+		nvidia,kbc-row-pins = <0 1 2>;
+		nvidia,kbc-col-pins = <11 12 13>;
+		linux,keymap = < 0x00000074	/* KEY_POWER */
+				 0x00010073	/* KEY_VOLUMEUP */
+				 0x00020072	/* KEY_VOLUMEDOWN */
+				 0x010000D9	/* KEY_SEARCH */
+				 0x010100D4	/* KEY_CAMERA */
+				 0x010200D2	/* KEY_CAMERA_FOCUS */
+				 0x02000066	/* KEY_HOME */
+				 0x0201009E	/* KEY_BACK */
+				 0x0202008B>;	/* KEY_MENU */
+	};
+
 	pmc {
 		nvidia,invert-interrupt;
 	};
-- 
1.7.1.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] ARM: tegra: pluto: populate key mapping
@ 2013-04-10 11:47     ` Laxman Dewangan
  0 siblings, 0 replies; 8+ messages in thread
From: Laxman Dewangan @ 2013-04-10 11:47 UTC (permalink / raw)
  To: linux-arm-kernel

Keys on Pluto interfaced through Tegra KBC controller
in key matrix topology.

Add the key mapping for the keys

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
The system is booted on Pluto with the fastboot.

 arch/arm/boot/dts/tegra114-pluto.dts |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra114-pluto.dts b/arch/arm/boot/dts/tegra114-pluto.dts
index 6bbc8ef..290c9ce 100644
--- a/arch/arm/boot/dts/tegra114-pluto.dts
+++ b/arch/arm/boot/dts/tegra114-pluto.dts
@@ -14,6 +14,23 @@
 		status = "okay";
 	};
 
+	kbc {
+		status = "okay";
+		nvidia,debounce-delay-ms = <640>;
+		nvidia,repeat-delay-ms = <1>;
+		nvidia,kbc-row-pins = <0 1 2>;
+		nvidia,kbc-col-pins = <11 12 13>;
+		linux,keymap = < 0x00000074	/* KEY_POWER */
+				 0x00010073	/* KEY_VOLUMEUP */
+				 0x00020072	/* KEY_VOLUMEDOWN */
+				 0x010000D9	/* KEY_SEARCH */
+				 0x010100D4	/* KEY_CAMERA */
+				 0x010200D2	/* KEY_CAMERA_FOCUS */
+				 0x02000066	/* KEY_HOME */
+				 0x0201009E	/* KEY_BACK */
+				 0x0202008B>;	/* KEY_MENU */
+	};
+
 	pmc {
 		nvidia,invert-interrupt;
 	};
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] ARM: tegra: dalmore: populate key mapping
  2013-04-10 11:47 ` Laxman Dewangan
@ 2013-05-13 19:29   ` Stephen Warren
  -1 siblings, 0 replies; 8+ messages in thread
From: Stephen Warren @ 2013-05-13 19:29 UTC (permalink / raw)
  To: Laxman Dewangan; +Cc: linux, linux-arm-kernel, linux-tegra, linux-kernel

On 04/10/2013 05:47 AM, Laxman Dewangan wrote:
> Keys on Dalmore interfaced through Tegra KBC controller
> in key matrix topology.
> 
> Add the key mapping for the keys.
> 
> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
> ---
> The system is booted on Dalmore SKU1000 with the fastboot.

I don't intend applying these two patches.

For Dalmore, there are two SKUs, one using KBC and one using GPIOs for
the buttons/keys. The SKU that uses GPIOs is far more common, so we've
decided to support that one upstream.

We aren't actively pursuing Pluto support upstream; it's likely that
I'll send a patch to remove tegra114-pluto.dts in the near future.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] ARM: tegra: dalmore: populate key mapping
@ 2013-05-13 19:29   ` Stephen Warren
  0 siblings, 0 replies; 8+ messages in thread
From: Stephen Warren @ 2013-05-13 19:29 UTC (permalink / raw)
  To: linux-arm-kernel

On 04/10/2013 05:47 AM, Laxman Dewangan wrote:
> Keys on Dalmore interfaced through Tegra KBC controller
> in key matrix topology.
> 
> Add the key mapping for the keys.
> 
> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
> ---
> The system is booted on Dalmore SKU1000 with the fastboot.

I don't intend applying these two patches.

For Dalmore, there are two SKUs, one using KBC and one using GPIOs for
the buttons/keys. The SKU that uses GPIOs is far more common, so we've
decided to support that one upstream.

We aren't actively pursuing Pluto support upstream; it's likely that
I'll send a patch to remove tegra114-pluto.dts in the near future.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-05-13 19:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-10 11:47 [PATCH 1/2] ARM: tegra: dalmore: populate key mapping Laxman Dewangan
2013-04-10 11:47 ` Laxman Dewangan
2013-04-10 11:47 ` Laxman Dewangan
     [not found] ` <1365594454-20614-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-04-10 11:47   ` [PATCH 2/2] ARM: tegra: pluto: " Laxman Dewangan
2013-04-10 11:47     ` Laxman Dewangan
2013-04-10 11:47     ` Laxman Dewangan
2013-05-13 19:29 ` [PATCH 1/2] ARM: tegra: dalmore: " Stephen Warren
2013-05-13 19:29   ` Stephen Warren

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.