From 34a15fad0cf4eda9eba3ca636696aeea41d830a7 Mon Sep 17 00:00:00 2001 From: houdz1 Date: Fri, 2 Jul 2021 20:45:40 +0800 Subject: [PATCH] arm64/dts: cypfq: remove lab and ibb supply Now, the tps65132 is not ready. So we remove them. Change-Id: If0b197f6a61fef43babe4913e964fe8662296c49 Signed-off-by: houdz1 Reviewed-on: https://gerrit.mot.com/2000973 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Yeqing Wang Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/cypfq-display.dtsi | 48 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/qcom/cypfq-display.dtsi b/qcom/cypfq-display.dtsi index ff7271b23d77..749ed523f7db 100644 --- a/qcom/cypfq-display.dtsi +++ b/qcom/cypfq-display.dtsi @@ -27,17 +27,51 @@ }; +&tlmm { + sde_avdd_avee_enable_active { + sde_avdd_avee_enable_active: sde_avdd_avee_enable_active { + mux { + pins = "gpio84", "gpio85"; + function = "gpio"; + }; + + config { + pins = "gpio84", "gpio85"; + drive-strength = <8>; + bias-pull-up; + }; + }; + }; + + sde_avdd_avee_enable_suspend { + sde_avdd_avee_enable_suspend: sde_avdd_avee_enable_suspend { + mux { + pins = "gpio84", "gpio85"; + function = "gpio"; + }; + + config { + pins = "gpio84", "gpio85"; + drive-strength = <2>; + bias-pull-down; + }; + }; + }; +}; + &sde_dsi { /delete-property/ lab-supply; /delete-property/ ibb-supply; /delete-property/ vddio-supply; /delete-property/ qcom,dsi-default-panel; - lab-supply = <&tps65132_outp>; - ibb-supply = <&tps65132_outn>; + //lab-supply = <&tps65132_outp>; + //ibb-supply = <&tps65132_outn>; vddio-supply = <&L13A>; qcom,dsi-default-panel = <&dsi_tm_ili7807s_678_fhd_video>; + + pinctrl-1 = <&sde_avdd_avee_enable_active &sde_avdd_avee_enable_suspend>; }; &soc { dsi_panel_pwr_supply_cypfq: dsi_panel_pwr_supply_cypfq{ @@ -52,7 +86,7 @@ qcom,supply-enable-load = <32000>; qcom,supply-disable-load = <80>; }; - +/* qcom,panel-supply-entry@1 { reg = <1>; qcom,supply-name = "lab"; @@ -72,7 +106,7 @@ qcom,supply-disable-load = <100>; qcom,supply-pre-off-sleep = <3>; qcom,supply-post-on-sleep = <3>; - }; + };*/ }; }; @@ -82,6 +116,9 @@ qcom,platform-te-gpio = <&tlmm 23 0>; qcom,platform-reset-gpio = <&pmr735a_gpios 2 0>; + qcom,avdd-enable-gpio = <&tlmm 84 0>; + qcom,avee-enable-gpio = <&tlmm 85 0>; + qcom,panel-supply-entries = <&dsi_panel_pwr_supply_cypfq>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; @@ -133,6 +170,9 @@ qcom,platform-te-gpio = <&tlmm 23 0>; qcom,platform-reset-gpio = <&pmr735a_gpios 2 0>; + qcom,avdd-enable-gpio = <&tlmm 84 0>; + qcom,avee-enable-gpio = <&tlmm 85 0>; + qcom,panel-supply-entries = <&dsi_panel_pwr_supply_cypfq>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs";