diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-09-28 14:02:36 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-11-14 11:25:58 -0600 |
commit | 6b6056961a2e2fb7a788b1d40feeb91073ad4ca1 (patch) | |
tree | 3de797cd8450bc193761b5082d6d51ac129bfe0f /arch/arm/boot/dts | |
parent | 554557542e709e190eff8a598f0cde02647d533a (diff) | |
download | linux-stable-6b6056961a2e2fb7a788b1d40feeb91073ad4ca1.tar.gz linux-stable-6b6056961a2e2fb7a788b1d40feeb91073ad4ca1.tar.bz2 linux-stable-6b6056961a2e2fb7a788b1d40feeb91073ad4ca1.zip |
ARM: dts: qcom: msm8960: introduce label for PMIC keypad
To simplify MSM8960 CDP board file, add label to PMIC keypad node.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230928110309.1212221-4-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/qcom/qcom-msm8960-cdp.dts | 20 | ||||
-rw-r--r-- | arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 2 |
2 files changed, 10 insertions, 12 deletions
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960-cdp.dts b/arch/arm/boot/dts/qcom/qcom-msm8960-cdp.dts index 6c1bc3818883..4641b4f2195d 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8960-cdp.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8960-cdp.dts @@ -88,17 +88,15 @@ }; }; -&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>; - }; +&pm8921_keypad { + 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>; }; &rpm { diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi index d13080fcbeea..a34fda93d6a4 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi @@ -283,7 +283,7 @@ pull-up; }; - keypad@148 { + pm8921_keypad: keypad@148 { compatible = "qcom,pm8921-keypad"; reg = <0x148>; interrupt-parent = <&pmicintc>; |