dts: Add WSA config params to WSA macro node

Add Bat_cfgs, Rloads, System Gains in WSA macro so these params can
be used in WSA Macro driver and WSA driver.
Add handle to WSA macro in WSA nodes to allow for access of
these params in WSA driver.

Change-Id: I6b6b6195bb7403f973063826c6ec25fb26bc5fb4
This commit is contained in:
Matthew Rice
2021-12-13 23:53:07 -08:00
parent c7c1253de6
commit eb11bb2aa1

View File

@@ -170,6 +170,9 @@
compatible = "qcom,lpass-cdc-wsa-macro";
reg = <0x6B00000 0x0>;
qcom,wsa-swr-gpios = <&wsa_swr_gpios>;
qcom,wsa-bat-cfgs= <1>, <1>;
qcom,wsa-rloads= <2>, <2>;
qcom,wsa-system-gains= <0 9>, <0 9>;
qcom,wsa-bcl-pmic-params = /bits/ 8 <0x00 0x03 0x48>;
qcom,default-clk-id = <WSA_TX_CORE_CLK>;
qcom,thermal-max-state = <11>;
@@ -203,6 +206,7 @@
reg = <0x4 0x2170220>;
qcom,spkr-sd-n-node = <&wsa_spkr_en1>;
qcom,lpass-cdc-handle = <&lpass_cdc>;
qcom,wsa-macro-handle = <&wsa_macro>;
cdc-vdd-1p8-supply = <&L15B>;
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
@@ -216,6 +220,7 @@
reg = <0x4 0x2170221>;
qcom,spkr-sd-n-node = <&wsa_spkr_en2>;
qcom,lpass-cdc-handle = <&lpass_cdc>;
qcom,wsa-macro-handle = <&wsa_macro>;
cdc-vdd-1p8-supply = <&L15B>;
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
@@ -230,6 +235,9 @@
compatible = "qcom,lpass-cdc-wsa2-macro";
reg = <0x6AA0000 0x0>;
qcom,wsa2-swr-gpios = <&wsa2_swr_gpios>;
qcom,wsa-bat-cfgs= <1>, <1>;
qcom,wsa-rloads= <2>, <2>;
qcom,wsa-system-gains= <0 9>, <0 9>;
qcom,wsa2-bcl-pmic-params = /bits/ 8 <0x00 0x03 0x48>;
qcom,default-clk-id = <WSA2_TX_CORE_CLK>;
qcom,thermal-max-state = <11>;
@@ -264,6 +272,7 @@
reg = <0x4 0x2170220>;
qcom,spkr-sd-n-node = <&wsa2_spkr_en1>;
qcom,lpass-cdc-handle = <&lpass_cdc>;
qcom,wsa-macro-handle = <&wsa2_macro>;
cdc-vdd-1p8-supply = <&L15B>;
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;
@@ -277,6 +286,7 @@
reg = <0x4 0x2170221>;
qcom,spkr-sd-n-node = <&wsa2_spkr_en2>;
qcom,lpass-cdc-handle = <&lpass_cdc>;
qcom,wsa-macro-handle = <&wsa2_macro>;
cdc-vdd-1p8-supply = <&L15B>;
qcom,cdc-vdd-1p8-voltage = <1800000 1800000>;