Message ID | 20211120214227.779742-5-danct12@riseup.net (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | Improve support for Xiaomi Redmi Note 7 | expand |
On 20/11/2021 21:42, Dang Huynh wrote: > This enables the volume down key as well as the power button. > > Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> > 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 eccbeecef192..9a6684922804 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 > Reviewed-by: Caleb Connolly <caleb@connolly.tech> -- Kind Regards, Caleb
diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts index eccbeecef192..9a6684922804 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";