From 3a270434636f32bdb9e869fc64ad4e7aa3853099 Mon Sep 17 00:00:00 2001 From: Jishnu Prakash Date: Tue, 19 Jul 2022 11:34:45 +0530 Subject: [PATCH] ARM: dts: msm: Update PMIC support for anorak ATP Add vol+ and other PMIC device configurations for anorak ATP. Change-Id: I69ccded2c1ca63fbf5d3f57e2d0e1d157289ebc6 --- qcom/anorak-atp.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/qcom/anorak-atp.dtsi b/qcom/anorak-atp.dtsi index 17f1e228..79e665a6 100644 --- a/qcom/anorak-atp.dtsi +++ b/qcom/anorak-atp.dtsi @@ -1,2 +1,28 @@ +#include +#include + +#include "anorak-pmic-overlay.dtsi" + &soc { + gpio_keys { + compatible = "gpio-keys"; + label = "gpio-keys"; + + pinctrl-names = "default"; + pinctrl-0 = <&key_vol_up_default>; + + vol_up { + label = "volume_up"; + gpios = <&pm8550b_gpios 10 GPIO_ACTIVE_LOW>; + linux,input-type = <1>; + linux,code = ; + gpio-key,wakeup; + debounce-interval = <15>; + linux,can-disable; + }; + }; +}; + +&battery_charger { + qcom,wireless-fw-name = "idt9418.bin"; };