From patchwork Mon Dec 10 18:31:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhagavathi Perumal S X-Patchwork-Id: 10722181 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D3101159A for ; Mon, 10 Dec 2018 18:34:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C44C62AB8E for ; Mon, 10 Dec 2018 18:34:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8E1D2AC3F; Mon, 10 Dec 2018 18:34:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 685D32AB8E for ; Mon, 10 Dec 2018 18:34:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=R9K9g0Mr+10hOahqLgvDS3PBZbrEVixjpIiv6bM6PTY=; b=bjGs38J8NdOhwBq4KpUU/xF2Um 64/yw8Qtxw77HcyKOTVJ8ktvBX6X6tof3vnANm15jemVSdE/1LjoURl9P/ADxV6SzAJKlXcSFbwh3 prbVv/ayoEPmuxRNt6TFMwDUK0YhShKtYdZhWXSPJ3qoGiy3y/tWvosw9v6aZ5jbMrskWD/vZcMWY /k38L5hnkqgxup4wd9QnefZDpiYlh0Y8cgDybh0/a8Zggv9YPaTGXnnmE4Dl4r9B5uibZrEGX7elq H2IHXlWjbMahPQMGucCSsEOOY6cUHAJQSSue7snQKKR/ednlsx2utpBJehoBLY5RC1Tl98Uxmb4Ct ymDYQ8Zw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWQNl-00084b-J4; Mon, 10 Dec 2018 18:34:17 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWQNX-0007sP-Jm for ath10k@lists.infradead.org; Mon, 10 Dec 2018 18:34:13 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3A68261344; Mon, 10 Dec 2018 18:33:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544466833; bh=ga9RyYbpcoVkNI6F/pCJo1PU2BYZuQzbYpMXaa65yyk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WRvkVHv1soND8gA6YEY4Ojm5n74hFQmgze8hPJJuNOKYO1Kd51QX5aHjWrmj+QgMb G1HqOpbgrU1Doc3gGkOCmv630+fYTFlX0YmjTFX55WIlX2rkR5K/0ufoxwC8TFf/gO 4VvFK1c6LPTzmnTjt/YU+2nRY1Y9vXRJ/n32BYfQ= Received: from localhost (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: bperumal@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C8DA561550; Mon, 10 Dec 2018 18:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544466826; bh=ga9RyYbpcoVkNI6F/pCJo1PU2BYZuQzbYpMXaa65yyk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LQHvu73UeJe8d09VHOeOzWcKiKJcBFK3Am9VXVDr2uOaXebUu0vF5PbdH7zVbNtEP GL6WfwuWS48+Au9HQ1ial8KbLiCINfXXUIe8txfPNCHnDb7zjaIDTYNxMaVryOnO9S 9pQcthAvOr6gR1oYd1UnYk/EfO5Mgzu2kMeTtqOo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C8DA561550 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=bperumal@codeaurora.org From: Bhagavathi Perumal S To: ath10k@lists.infradead.org Subject: [PATCH v3 2/3] dt-bindings: net: ath10k: add new dt entry to identify external FEM Date: Tue, 11 Dec 2018 00:01:30 +0530 Message-Id: <1544466691-11821-3-git-send-email-bperumal@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1544466691-11821-1-git-send-email-bperumal@codeaurora.org> References: <1544466691-11821-1-git-send-email-bperumal@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181210_103404_131357_EA8D9663 X-CRM114-Status: GOOD ( 10.36 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-wireless@vger.kernel.org, Bhagavathi Perumal S MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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: Bhagavathi Perumal S Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index ef60f25..71530fd 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -61,8 +61,14 @@ Optional properties: Value type: Definition: reference to the reserved-memory for the msa region used by the wifi firmware running in Q6. +- 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. @@ -77,6 +83,7 @@ pci { wifi@0,0 { reg = <0 0 0 0 0>; qcom,ath10k-calibration-data = [ 01 02 03 ... ]; + ext-fem-name = "microsemi-lx5586"; }; }; };