* [PATCH] ARM: DT: tegra: add DT entry for KBC controller
@ 2013-01-04 11:04 Laxman Dewangan
2013-01-04 11:04 ` [PATCH] ARM: tegra: config: enable KEYBOARD_TEGRA Laxman Dewangan
2013-01-04 19:54 ` [PATCH] ARM: DT: tegra: add DT entry for KBC controller Stephen Warren
0 siblings, 2 replies; 3+ messages in thread
From: Laxman Dewangan @ 2013-01-04 11:04 UTC (permalink / raw)
To: linux-arm-kernel
NVIDIA's Tegra SoCs have the matrix keyboard controller which
supports 16x8 type of matrix. The number of rows and columns
are configurable.
Add DT entry for KBC controller.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
arch/arm/boot/dts/tegra20.dtsi | 7 +++++++
arch/arm/boot/dts/tegra30.dtsi | 7 +++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi
index fe35c72..133d00d 100644
--- a/arch/arm/boot/dts/tegra20.dtsi
+++ b/arch/arm/boot/dts/tegra20.dtsi
@@ -352,6 +352,13 @@
status = "disabled";
};
+ kbc {
+ compatible = "nvidia,tegra20-kbc";
+ reg = <0x7000e200 0x100>;
+ interrupts = <0 85 0x04>;
+ status = "disabled";
+ };
+
pmc {
compatible = "nvidia,tegra20-pmc";
reg = <0x7000e400 0x400>;
diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi
index f534a50..bc9f702 100644
--- a/arch/arm/boot/dts/tegra30.dtsi
+++ b/arch/arm/boot/dts/tegra30.dtsi
@@ -368,6 +368,13 @@
status = "disabled";
};
+ kbc {
+ compatible = "nvidia,tegra30-kbc", nvidia,tegra20-kbc";
+ reg = <0x7000e200 0x100>;
+ interrupts = <0 85 0x04>;
+ status = "disabled";
+ };
+
pmc {
compatible = "nvidia,tegra20-pmc", "nvidia,tegra30-pmc";
reg = <0x7000e400 0x400>;
--
1.7.1.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: tegra: config: enable KEYBOARD_TEGRA
2013-01-04 11:04 [PATCH] ARM: DT: tegra: add DT entry for KBC controller Laxman Dewangan
@ 2013-01-04 11:04 ` Laxman Dewangan
2013-01-04 19:54 ` [PATCH] ARM: DT: tegra: add DT entry for KBC controller Stephen Warren
1 sibling, 0 replies; 3+ messages in thread
From: Laxman Dewangan @ 2013-01-04 11:04 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
arch/arm/configs/tegra_defconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index 0becd9f..c14a9fb 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -106,6 +106,7 @@ CONFIG_BRCMFMAC=m
CONFIG_RT2X00=y
CONFIG_RT2800USB=m
CONFIG_INPUT_EVDEV=y
+CONFIG_KEYBOARD_TEGRA=y
CONFIG_INPUT_MISC=y
CONFIG_INPUT_MPU3050=y
# CONFIG_LEGACY_PTYS is not set
--
1.7.1.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: DT: tegra: add DT entry for KBC controller
2013-01-04 11:04 [PATCH] ARM: DT: tegra: add DT entry for KBC controller Laxman Dewangan
2013-01-04 11:04 ` [PATCH] ARM: tegra: config: enable KEYBOARD_TEGRA Laxman Dewangan
@ 2013-01-04 19:54 ` Stephen Warren
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Warren @ 2013-01-04 19:54 UTC (permalink / raw)
To: linux-arm-kernel
On 01/04/2013 04:04 AM, Laxman Dewangan wrote:
> NVIDIA's Tegra SoCs have the matrix keyboard controller which
> supports 16x8 type of matrix. The number of rows and columns
> are configurable.
>
> Add DT entry for KBC controller.
These two look OK. Ping me once the related KBC driver changes are
checked in and I'll apply them.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-04 19:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-04 11:04 [PATCH] ARM: DT: tegra: add DT entry for KBC controller Laxman Dewangan
2013-01-04 11:04 ` [PATCH] ARM: tegra: config: enable KEYBOARD_TEGRA Laxman Dewangan
2013-01-04 19:54 ` [PATCH] ARM: DT: tegra: add DT entry for KBC controller Stephen Warren
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).