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

Commit f3f58799 authored by Bhagavathi Perumal S's avatar Bhagavathi Perumal S Committed by Kalle Valo
Browse files

dt-bindings: net: ath10k: add new dt entry to identify external FEM



This adds new dt entry ext-fem-name, it is used by ath10k driver
to select correct timing parameters and configure it in target wifi hardware.
The Front End Module(FEM) normally includes tx power amplifier(PA) and
rx low noise amplifier(LNA). The default timing parameters like tx end to
PA off timing values were fine tuned for internal FEM used in reference
design. And these timing values can not be same if ODM modifies hardware
design with different external FEM. This DT entry helps to choose correct
timing values in driver if different external FEM hardware used.

Signed-off-by: default avatarBhagavathi Perumal S <bperumal@codeaurora.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent e5404969
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -75,8 +75,14 @@ Optional properties:
	Usage: optional
	Value type: <prop-encoded-array>
	Definition: A list of phandle and IOMMU specifier pairs.
- ext-fem-name:
	Usage: Optional
	Value type: string
	Definition: Name of external front end module used. Some valid FEM names
		    for example: "microsemi-lx5586", "sky85703-11"
		    and "sky85803" etc.

Example (to supply the calibration data alone):
Example (to supply PCI based wifi block details):

In this example, the node is defined as child node of the PCI controller.

@@ -91,6 +97,7 @@ pci {
		wifi@0,0 {
			reg = <0 0 0 0 0>;
			qcom,ath10k-calibration-data = [ 01 02 03 ... ];
			ext-fem-name = "microsemi-lx5586";
		};
	};
};