Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca5b5fc5 authored by Mahesh Sharma's avatar Mahesh Sharma Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 617ff206
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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";
+4 −0
Original line number Diff line number Diff line
@@ -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>;