From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 03/15] ARM: dts: qcom: msm8660-surf: use keypad label directly
Date: Tue, 27 Jun 2023 13:05:08 +0200 [thread overview]
Message-ID: <edc6cc90-63d6-644a-7913-7141c2ec88eb@linaro.org> (raw)
In-Reply-To: <20230627012422.206077-4-dmitry.baryshkov@linaro.org>
On 27.06.2023 03:24, Dmitry Baryshkov wrote:
> Directly use pm8058_keypad to declare keypad properties instead of
> referencing pm8058 top-level node.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
was this board some sort of a laptop?
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
> arch/arm/boot/dts/qcom/qcom-msm8660-surf.dts | 50 ++++++++++----------
> 1 file changed, 24 insertions(+), 26 deletions(-)
>
> diff --git a/arch/arm/boot/dts/qcom/qcom-msm8660-surf.dts b/arch/arm/boot/dts/qcom/qcom-msm8660-surf.dts
> index be18f1be29a1..86fbb6dfdc2a 100644
> --- a/arch/arm/boot/dts/qcom/qcom-msm8660-surf.dts
> +++ b/arch/arm/boot/dts/qcom/qcom-msm8660-surf.dts
> @@ -34,32 +34,30 @@ &gsbi12_serial {
> status = "okay";
> };
>
> -&pm8058 {
> - keypad@148 {
> - linux,keymap = <
> - MATRIX_KEY(0, 0, KEY_FN_F1)
> - MATRIX_KEY(0, 1, KEY_UP)
> - MATRIX_KEY(0, 2, KEY_LEFT)
> - MATRIX_KEY(0, 3, KEY_VOLUMEUP)
> - MATRIX_KEY(1, 0, KEY_FN_F2)
> - MATRIX_KEY(1, 1, KEY_RIGHT)
> - MATRIX_KEY(1, 2, KEY_DOWN)
> - MATRIX_KEY(1, 3, KEY_VOLUMEDOWN)
> - MATRIX_KEY(2, 3, KEY_ENTER)
> - MATRIX_KEY(4, 0, KEY_CAMERA_FOCUS)
> - MATRIX_KEY(4, 1, KEY_UP)
> - MATRIX_KEY(4, 2, KEY_LEFT)
> - MATRIX_KEY(4, 3, KEY_HOME)
> - MATRIX_KEY(4, 4, KEY_FN_F3)
> - MATRIX_KEY(5, 0, KEY_CAMERA)
> - MATRIX_KEY(5, 1, KEY_RIGHT)
> - MATRIX_KEY(5, 2, KEY_DOWN)
> - MATRIX_KEY(5, 3, KEY_BACK)
> - MATRIX_KEY(5, 4, KEY_MENU)
> - >;
> - keypad,num-rows = <6>;
> - keypad,num-columns = <5>;
> - };
> +&pm8058_keypad {
> + linux,keymap = <
> + MATRIX_KEY(0, 0, KEY_FN_F1)
> + MATRIX_KEY(0, 1, KEY_UP)
> + MATRIX_KEY(0, 2, KEY_LEFT)
> + MATRIX_KEY(0, 3, KEY_VOLUMEUP)
> + MATRIX_KEY(1, 0, KEY_FN_F2)
> + MATRIX_KEY(1, 1, KEY_RIGHT)
> + MATRIX_KEY(1, 2, KEY_DOWN)
> + MATRIX_KEY(1, 3, KEY_VOLUMEDOWN)
> + MATRIX_KEY(2, 3, KEY_ENTER)
> + MATRIX_KEY(4, 0, KEY_CAMERA_FOCUS)
> + MATRIX_KEY(4, 1, KEY_UP)
> + MATRIX_KEY(4, 2, KEY_LEFT)
> + MATRIX_KEY(4, 3, KEY_HOME)
> + MATRIX_KEY(4, 4, KEY_FN_F3)
> + MATRIX_KEY(5, 0, KEY_CAMERA)
> + MATRIX_KEY(5, 1, KEY_RIGHT)
> + MATRIX_KEY(5, 2, KEY_DOWN)
> + MATRIX_KEY(5, 3, KEY_BACK)
> + MATRIX_KEY(5, 4, KEY_MENU)
> + >;
> + keypad,num-rows = <6>;
> + keypad,num-columns = <5>;
> };
>
> /* eMMC */
next prev parent reply other threads:[~2023-06-27 11:05 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-27 1:24 [PATCH 00/15] ARM: dts: qcom: cleanup PMIC usage Dmitry Baryshkov
2023-06-27 1:24 ` [PATCH 01/15] ARM: dts: qcom: apq8064: correct XOADC register address Dmitry Baryshkov
2023-06-27 11:03 ` Konrad Dybcio
2023-06-27 1:24 ` [PATCH 02/15] ARM: dts: qcom: msm8960: introduce label for PMIC keypad Dmitry Baryshkov
2023-06-27 11:04 ` Konrad Dybcio
2023-06-27 1:24 ` [PATCH 03/15] ARM: dts: qcom: msm8660-surf: use keypad label directly Dmitry Baryshkov
2023-06-27 11:05 ` Konrad Dybcio [this message]
2023-06-27 1:24 ` [PATCH 04/15] ARM: dts: qcom: apq8064-nexus7: move sdcc1 node to proper place Dmitry Baryshkov
2023-06-27 11:06 ` Konrad Dybcio
2023-06-27 1:24 ` [PATCH 05/15] ARM: dts: qcom: mdm9615-wp8548-mangoh-green: group include clauses Dmitry Baryshkov
2023-06-27 11:06 ` Konrad Dybcio
2023-06-27 1:24 ` [PATCH 06/15] ARM: dts: qcom: strip prefix from PMIC files Dmitry Baryshkov
2023-06-27 11:07 ` Konrad Dybcio
2023-06-27 1:24 ` [PATCH 07/15] ARM: dts: qcom: apq8064: split PMICs to separate dtsi files Dmitry Baryshkov
2023-06-27 11:12 ` Konrad Dybcio
2023-06-27 1:24 ` [PATCH 08/15] ARM: dts: qcom: mdm9615: split PMIC " Dmitry Baryshkov
2023-06-27 14:08 ` Neil Armstrong
2023-06-27 1:24 ` [PATCH 09/15] ARM: dts: qcom: msm8660: " Dmitry Baryshkov
2023-06-27 1:24 ` [PATCH 10/15] ARM: dts: qcom: msm8960: " Dmitry Baryshkov
2023-06-27 1:24 ` [PATCH 11/15] ARM: dts: qcom: msm8974: move vreg-boost GPIO to board files Dmitry Baryshkov
2023-06-27 11:15 ` Konrad Dybcio
2023-06-27 1:24 ` [PATCH 12/15] ARM: dts: qcom: apq8064: move RPM regulators " Dmitry Baryshkov
2023-06-27 11:19 ` Konrad Dybcio
2023-06-27 1:24 ` [PATCH 13/15] ARM: dts: qcom: mdm9615: " Dmitry Baryshkov
2023-06-27 11:20 ` Konrad Dybcio
2023-06-27 1:24 ` [PATCH 14/15] ARM: dts: qcom: msm8660: " Dmitry Baryshkov
2023-06-27 11:21 ` Konrad Dybcio
2023-06-27 1:24 ` [PATCH 15/15] ARM: dts: qcom: msm8960: drop useless rpm regulators node Dmitry Baryshkov
2023-06-27 11:22 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=edc6cc90-63d6-644a-7913-7141c2ec88eb@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox