ARM: dts: msm: Add DTSI entry to handle PA conf

- Add base address of RPMH_PDC_WLAN_RF_TCSn_CMDn_DATA
register and assign reg-name in order to access them
in BT power driver.
- Assign RPMH_PDC_WLAN_RF_TCS6_CMD2_DATA
offset from base address.

Change-Id: If58904a8c93fc60bcc9589ce40004dba924d9bb7
This commit is contained in:
Mahesh Sharma 2020-07-28 13:46:29 -07:00 • committed by Gerrit - the friendly Code Review server
commit ca5b5fc53a
2 changed files with 7 additions and 1 deletions

View file

@ -21,6 +21,8 @@ Optional properties:
- qcom,bt-vdd-xtal-supply: Bluetooth VDD XTAL regulator handle
- qcom,bt-vdd-core-supply: Bluetooth VDD CORE regulator handle
- qcom,bt-vdd-asd-supply: Bluetooth VDD regulator handle for antenna switch
- reg: Memory regions defined as starting address and size
- reg-names: Names of the memory regions defined in reg entry
diversity.
- qcom,bt-chip-pwd-supply: Chip power down gpio is required when bluetooth
module and other modules like wifi co-exist in a singe chip and
@ -29,7 +31,7 @@ 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.
- qcom,tcs_offset_ipa: TCS CMD register offset for Voltage
Example:
bluetooth: bt_qca6490 {
compatible = "qcom,qca6390", "qcom,qca6490";

View file

@ -5482,8 +5482,12 @@
bluetooth: bt_qca6490 {
compatible = "qcom,qca6490";
reg = <0xb2e5510 0x690>;
reg-names = "tcs_cmd";
pinctrl-names = "default";
pinctrl-0 = <&bt_en_sleep>;
/* offset=(0xC8*6) + (0x10*2) */
qcom,tcs_offset_ipa = <0x4D0>;
qcom,bt-reset-gpio = <&tlmm 65 0>; /* BT_EN */
qcom,bt-sw-ctrl-gpio = <&tlmm 153 0>; /* SW_CTRL */
qcom,bt-vdd-aon-supply = <&S11B>;