summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/qcom-msm8960-cdp.dts
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2014-06-25 01:03:53 +0400
committerKumar Gala <galak@codeaurora.org>2014-09-11 20:12:55 +0400
commitfa410c099d9688ca06a9e46df8b2edf183487935 (patch)
tree114e6b2cb7f7618041d82d1fdcab26d592ab7bf2 /arch/arm/boot/dts/qcom-msm8960-cdp.dts
parent68de308b1c02f3b11705406b07e84790eb1a37e9 (diff)
downloadlinux-fa410c099d9688ca06a9e46df8b2edf183487935.tar.xz
ARM: dts: msm: Add 8921 PMIC to ssbi bus
Add the PMIC and the sub-devices that are currently supported in the kernel to the DT. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-msm8960-cdp.dts')
-rw-r--r--arch/arm/boot/dts/qcom-msm8960-cdp.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8960-cdp.dts b/arch/arm/boot/dts/qcom-msm8960-cdp.dts
index 8f75cc4c8340..8b10812c0cda 100644
--- a/arch/arm/boot/dts/qcom-msm8960-cdp.dts
+++ b/arch/arm/boot/dts/qcom-msm8960-cdp.dts
@@ -1,3 +1,5 @@
+#include <dt-bindings/input/input.h>
+
#include "qcom-msm8960.dtsi"
/ {
@@ -14,3 +16,16 @@
};
};
};
+
+&pmicintc {
+ keypad@148 {
+ linux,keymap = <
+ MATRIX_KEY(0, 0, KEY_VOLUMEUP)
+ MATRIX_KEY(0, 1, KEY_VOLUMEDOWN)
+ MATRIX_KEY(0, 2, KEY_CAMERA_FOCUS)
+ MATRIX_KEY(0, 3, KEY_CAMERA)
+ >;
+ keypad,num-rows = <1>;
+ keypad,num-columns = <5>;
+ };
+};