lkml.org 
[lkml]   [2021]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 4/8] arm64: dts: qcom: sdm660-xiaomi-lavender: Add PWRKEY and RESIN
    Date
    This enables the volume down key as well as the power button.

    Reviewed-by: Caleb Connolly <caleb@connolly.tech>
    Reviewed-by: Martin Botka <martin.botka@somainline.org>
    Reviewed-by: Konrad Dybcio <konradybcio@gmail.com>
    Signed-off-by: Dang Huynh <danct12@riseup.net>
    ---
    arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts | 10 ++++++++++
    1 file changed, 10 insertions(+)

    diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
    index a6e3062dd520..729b71407c36 100644
    --- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
    +++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
    @@ -53,6 +53,16 @@ &blsp1_uart2 {
    status = "okay";
    };

    +&pon_pwrkey {
    + status = "okay";
    +};
    +
    +&pon_resin {
    + status = "okay";
    +
    + linux,code = <KEY_VOLUMEDOWN>;
    +};
    +
    &rpm_requests {
    pm660l-regulators {
    compatible = "qcom,rpm-pm660l-regulators";
    --
    2.33.1
    \
     
     \ /
      Last update: 2021-11-11 04:18    [W:4.114 / U:0.364 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site