From 07cbab8f5e756c4699625c94d8efc46585cab2e7 Mon Sep 17 00:00:00 2001 From: chailu1 Date: Sun, 26 Sep 2021 11:07:58 +0800 Subject: [PATCH] arm/dts: add sgm7220 pwr enable gpio arm/dts add sgm7220 pwr enable gpio for cpgrus-ip68 product Change-Id: I5a4b5d2642fab6a7332fe53c171e4fb4e912a4b6 Signed-off-by: chailu1 Reviewed-on: https://gerrit.mot.com/2075735 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/blair-cypfr-evt-overlay.dts | 3 +++ qcom/sgm7220.dtsi | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/qcom/blair-cypfr-evt-overlay.dts b/qcom/blair-cypfr-evt-overlay.dts index d1bb01dc69ae..6eb3a60a95e7 100644 --- a/qcom/blair-cypfr-evt-overlay.dts +++ b/qcom/blair-cypfr-evt-overlay.dts @@ -22,3 +22,6 @@ qcom,board-id = <0x4B 0xA200>; }; +&sgm7220 { + sgm7220,pwr_gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>; +}; diff --git a/qcom/sgm7220.dtsi b/qcom/sgm7220.dtsi index fdbeb7f7b059..81e90cc0c2de 100644 --- a/qcom/sgm7220.dtsi +++ b/qcom/sgm7220.dtsi @@ -13,7 +13,7 @@ &qupv3_se8_i2c { status = "okay"; - sgm7220@47 { + sgm7220: sgm7220@47 { compatible = "sgm,usb_type_c_sgm7220"; reg = <0x47>; status = "okay";