From fa75c5c485e375674112c4e10dcbc27c126a4f87 Mon Sep 17 00:00:00 2001 From: Shyam Kumar Thella Date: Wed, 4 Mar 2020 15:28:15 +0530 Subject: [PATCH] ARM: dts: msm: Add pinctrl for PM8350C GPIO 9 on Lahaina platforms Output of PWM channel 4 is used for external backlight control of display panel. Add pinctrl configuration for PM8350C GPIO 9 such that it is capable of outputting PWM 4's output. This pinctrl configuration is used by display driver for external backlight control. Change-Id: Ie9e1a1bf02d8caecde61861dc4528fa0f414a995 --- qcom/lahaina-pmic-overlay.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/qcom/lahaina-pmic-overlay.dtsi b/qcom/lahaina-pmic-overlay.dtsi index a09b2efc..6b899440 100644 --- a/qcom/lahaina-pmic-overlay.dtsi +++ b/qcom/lahaina-pmic-overlay.dtsi @@ -38,6 +38,20 @@ }; }; +&pm8350c_gpios { + lcd_backlight_ctrl { + lcd_backlight_ctrl_default: lcd_backlight_ctrl_default { + pins = "gpio9"; + function = "func1"; + input-disable; + output-enable; + bias-disable; + power-source = <1>; /* 1.8V */ + qcom,drive-strength = <2>; + }; + }; +}; + &qupv3_se13_i2c { #address-cells = <1>; #size-cells = <0>;