From f426744250725129e562ce5fd232828bc5dfc7f1 Mon Sep 17 00:00:00 2001 From: Umesh Vats Date: Wed, 10 Mar 2021 10:30:35 -0800 Subject: [PATCH] ARM: dts: msm: Add mbox config for BT node BT platform driver needs mbox interface with AOP for dynamic resource updates. Add mbox config to cnss device tree node. Change-Id: Ided7f8bbbd9ae6b18910cc8760dad86760742436 --- bindings/bluetooth/btpower.txt | 4 ++++ qcom/waipio.dtsi | 3 +++ 2 files changed, 7 insertions(+) diff --git a/bindings/bluetooth/btpower.txt b/bindings/bluetooth/btpower.txt index a914fe48..be14d6d2 100644 --- a/bindings/bluetooth/btpower.txt +++ b/bindings/bluetooth/btpower.txt @@ -31,6 +31,10 @@ Optional properties: in pairs (min, max), units uV. There can be optional load in curr, unit uA. Last entry specifies if the retention mode is supported for the regulator. + - mboxes: Specifies mbox channel data for AOP messaging + - qcom,vreg_ipa: Specifies Voltage regulator used for QCA6490 Internal Power + Amp config + Example: bluetooth: bt_qca6490 { compatible = "qcom,qca6390", "qcom,qca6490"; diff --git a/qcom/waipio.dtsi b/qcom/waipio.dtsi index 77f77441..73b4e7c0 100644 --- a/qcom/waipio.dtsi +++ b/qcom/waipio.dtsi @@ -2853,6 +2853,9 @@ qcom,bt-reset-gpio = <&tlmm 81 0>; /* BT_EN */ qcom,wl-reset-gpio = <&tlmm 80 0>; /* WL_EN */ qcom,bt-sw-ctrl-gpio = <&tlmm 82 0>; /* SW_CTRL */ + mboxes = <&qmp_aop 0>; + qcom,vreg_ipa="s3e"; + qcom,bt-vdd-aon-supply = <&S11B>; qcom,bt-vdd-dig-supply = <&S11B>; qcom,bt-vdd-rfa1-supply = <&S1C>;