ARM: DT: tegra: add DT entry for KBC controller
Subsystems (3)
PATCH 1/1 ARM: DT: tegra: add DT entry for KBC controller
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 <[email protected]>
--- arch/arm/boot/dts/tegra20.dtsi | 7 +++++++ arch/arm/boot/dts/tegra30.dtsi | 7 +++++++ 2 files changed, 14 insertions(+), 0 deletions(-)
arch/arm/boot/dts/tegra20.dtsi +7 -0
@@ -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>;
arch/arm/boot/dts/tegra30.dtsi +7 -0
@@ -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>;
Signature · 1 line
1.7.1.1
PATCH 1/1 ARM: tegra: config: enable KEYBOARD_TEGRA
Signed-off-by Laxman Dewangan <[email protected]>
--- arch/arm/configs/tegra_defconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/configs/tegra_defconfig +1 -0
@@ -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
Signature · 1 line
1.7.1.1
Quoted 5 lines · Laxman Dewangan
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.