Skip to content

Commit

Permalink
dts: ad936x: Enable TX LO power-down managed mode
Browse files Browse the repository at this point in the history
The TX Quadrature Calibration may fail in case the TX LO is in power-down
mode. Set adi,tx-lo-powerdown-managed-enable to automatically power-up
the TX LO during this calibration. Once finished the previous
mode is restored.

Signed-off-by: Michael Hennerich <[email protected]>
  • Loading branch information
mhennerich authored and commodo committed Jul 16, 2018
1 parent be4d17e commit 1dab1c1
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/adi-fmcomms2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A, TX2A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/adi-fmcomms4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/adi-fmcomms5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A, TX2A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down Expand Up @@ -306,6 +307,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A, TX2A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/zynq-adrv9361-z7035.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A, TX2A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/zynq-adrv9364-z7020.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A, TX2A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/zynq-e310.dts
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A, TX2A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/zynq-pluto-sdr.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@

//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/xilinx/adi-fmcomms2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A, TX2A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/xilinx/adi-fmcomms4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/xilinx/adi-fmcomms5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A, TX2A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down Expand Up @@ -306,6 +307,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A, TX2A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
1 change: 1 addition & 0 deletions arch/microblaze/boot/dts/adi-fmcomms2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A, TX2A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down
1 change: 1 addition & 0 deletions arch/microblaze/boot/dts/adi-fmcomms4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
adi,tx-rf-port-input-select = <0>; /* TX1A */
//adi,update-tx-gain-in-alert-enable;
adi,tx-attenuation-mdB = <10000>;
adi,tx-lo-powerdown-managed-enable;

adi,rf-rx-bandwidth-hz = <18000000>;
adi,rf-tx-bandwidth-hz = <18000000>;
Expand Down

0 comments on commit 1dab1c1

Please sign in to comment.