From 6484fd222e118da8ede30984a07b1bfbd3a98ab6 Mon Sep 17 00:00:00 2001 From: Yiwen Liu Date: Fri, 29 May 2020 11:44:55 +0800 Subject: [PATCH] arm/dt: borneo: add tps61280 support 6115/borneo: - Remove NFC node(Borneo doesn't support NFC) - Add tps61280 node for HPUE boost feature. Change-Id: Idf20e2c7a8e3c864d32dd515bbc3b671b4388d05 Reviewed-on: https://gerrit.mot.com/1586727 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/bengal-borneo-common-overlay.dtsi | 37 +++++++++++++++----------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/qcom/bengal-borneo-common-overlay.dtsi b/qcom/bengal-borneo-common-overlay.dtsi index f366a16ff3df..835e6a9ab475 100644 --- a/qcom/bengal-borneo-common-overlay.dtsi +++ b/qcom/bengal-borneo-common-overlay.dtsi @@ -51,6 +51,18 @@ input-enable; }; }; + + tps61280_en_default: tps61280_en_default { + mux { + pins = "gpio47"; + function = "gpio"; + }; + config { + pins = "gpio47"; + drive-strength = <8>; + output-high; + }; + }; }; &soc { @@ -187,21 +199,16 @@ status = "ok"; #address-cells = <1>; #size-cells = <0>; - nq@28 { - compatible = "qcom,nq-nci"; - reg = <0x28>; - qcom,nq-irq = <&tlmm 70 0x00>; - qcom,nq-ven = <&tlmm 69 0x00>; - qcom,nq-firm = <&tlmm 31 0x00>; - qcom,nq-clkreq = <&tlmm 86 0x00>; - interrupt-parent = <&tlmm>; - interrupts = <70 0>; - interrupt-names = "nfc_irq"; - pinctrl-names = "nfc_active", "nfc_suspend"; - pinctrl-0 = <&nfc_int_active &nfc_enable_active - &nfc_clk_req_active>; - pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend - &nfc_clk_req_suspend>; + + tps61280@75 { + compatible = "ti,tps61280"; + reg = <0x75>; + ti,config = <0x0D>; + ti,vout-floor = <0x0D>; + ti,vout-roof = <0x1F>;/*0x1F*/ + ti,ilim = <0x0F>; + pinctrl-names = "default"; + pinctrl-0 = <&tps61280_en_default>; }; };