diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-06-24 14:03:53 -0700 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2014-09-11 11:12:55 -0500 |
commit | fa410c099d9688ca06a9e46df8b2edf183487935 (patch) | |
tree | 114e6b2cb7f7618041d82d1fdcab26d592ab7bf2 /arch/arm/boot/dts/qcom-msm8960-cdp.dts | |
parent | 68de308b1c02f3b11705406b07e84790eb1a37e9 (diff) | |
download | linux-fa410c099d9688ca06a9e46df8b2edf183487935.tar.bz2 |
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.dts | 15 |
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>; + }; +}; |