From patchwork Fri Dec 8 10:37:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 10102253 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7F12A60360 for ; Fri, 8 Dec 2017 10:38:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C32128A9B for ; Fri, 8 Dec 2017 10:38:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9106828A9E; Fri, 8 Dec 2017 10:38:29 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 15B3F28A9B for ; Fri, 8 Dec 2017 10:38:29 +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=AyRGt8c6modnSi9suIQsYgvvescNhYzN48XaBVFYE4o=; b=nSSpwyRUrvH5EB155/Fm480rsb yIa5C7Vv2/L5bkzb7zI2ERbpyKaIz1/Dvdvq2sF/5SAHWn+BttJej3rDVXQ0Dy0+f4PzvhqnPh7AC QjQhVkwDk3EZH9uAZuasbcDylryqCnZt/MO9np1OEiGpb9DseI8S2/B613+Hax0Oe1mCFqpG2S+kS mrXeNr+Q3UU+JP5JtYjKdWKlNT3bXVMQAAWdxnRPfJQ64bgk+nTMsIfxThnZmal+yFlvlmUqsOxHz fu5Njo90QiKunqdDuU2US7pLJXo0iwSVzYKjvpSSMBafh4Oo38qFfFaFVeHZOnyyuh4ms37ZaGByz QfazDVFg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eNG2y-0002dt-LQ; Fri, 08 Dec 2017 10:38:24 +0000 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eNG2v-0002a0-R8 for ath10k@lists.infradead.org; Fri, 08 Dec 2017 10:38:23 +0000 Received: by mail-qt0-x241.google.com with SMTP id g10so24819382qtj.12 for ; Fri, 08 Dec 2017 02:38:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openmesh-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eUlkxLMFyhygyNlQQI/xku03o7KGk7cTTkVrDEK9Cqo=; b=JQC7RcOQFKdDj1cBw+oT5B8ryPpDufxhK9H94Sq0QfF0Wgqeprmfux/H9bq+OknFCE KvqBDWElAN9vuASRkHenF1gOei7kcJ5dO9AqF5mc7rpfowGs9OuLXqG35up1OlTWKsCb g8/+0vUiAcEpIRibojy3FuXgRQQC2Xl/E6XQhA0JjXgymWowgzv5m5FGbeDrlD+CkbAX S8T27WmKopR8beejh0y8mUj6hEWw7rYTj2dyBM8JX2YGOs9fxKY1D2Cw7OqStTLSbQ06 NNEuaaWIwfgSmHREPTHRJBmnos2WS6djgHzNYTc1mV30ocqlcsHg/G6YRVGSHPt5zQWu 5PAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eUlkxLMFyhygyNlQQI/xku03o7KGk7cTTkVrDEK9Cqo=; b=mMn4Yn8Q7E20546eELEOSV+IjLVNnU621NL5TXBTp4+heJ0LuPFHmTlMDYQJtcyQqv oEEs+sarq+cAekQp9FuSzqxud2tZo+cJUKMiFUfF0nj8KodO9kBAfpQ4oikH8/Ar+6fW oDJEkhDJRWDOEmC+LSsIrC3ZtqY6PUez6m9OBZyUHEYGhnsqOuZNiPnqq1JZXEoq3Yp2 vU35QLBX51RPFKaB1cq6CS59waXDvurRzdffe8ImhakuFqDMTXQawIKPdGdGSAJZ5V0v bu4vLyF90M1V24Y0VUhd7Q3+GDoH6oxKMSx5HCMBMJUjk6J54LeG3L8nMtCg5CmyffMO HeVA== X-Gm-Message-State: AKGB3mKKXbfYwAGHgW8qs4P3rBezYaL9PdIDU05nWbZ/9yMDab7NkTYK FIZkJFOhkUa2qjOIJSm4sgdPa7jD X-Google-Smtp-Source: AGs4zMYEVS4yOMc41S2tW6CrLUxhR7PQZuGYLPE51kMo9ZzmZllArMUVhw6YKKiANiNXaZWAfVdhrw== X-Received: by 10.55.78.136 with SMTP id c130mr35639626qkb.156.1512729480461; Fri, 08 Dec 2017 02:38:00 -0800 (PST) Received: from sven-desktop.home.narfation.org (p2003007C6F5155EE36632B7A6E5F73C2.dip0.t-ipconnect.de. [2003:7c:6f51:55ee:3663:2b7a:6e5f:73c2]) by smtp.gmail.com with ESMTPSA id l9sm5926264qkh.2.2017.12.08.02.37.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Dec 2017 02:37:59 -0800 (PST) From: Sven Eckelmann To: ath10k@lists.infradead.org Subject: [PATCH v2 1/2] dt: bindings: add new dt entry for ath10k calibration variant Date: Fri, 8 Dec 2017 11:37:41 +0100 Message-Id: <20171208103742.3181-2-sven.eckelmann@openmesh.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171208103742.3181-1-sven.eckelmann@openmesh.com> References: <20171208103742.3181-1-sven.eckelmann@openmesh.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171208_023821_992354_71A5DC45 X-CRM114-Status: UNSURE ( 7.46 ) X-CRM114-Notice: Please train this message. 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: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-wireless@vger.kernel.org, robh+dt@kernel.org, Sven Eckelmann , ext.waldemar.rymarkiewicz@tieto.com, kvalo@codeaurora.org MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The bus + bmi-chip-id + bmi-board-id is not enough to identify the correct board data file on QCA4019 based devices. Multiple different boards share the same values. Only the original reference designs can currently be identified and loaded from the board-2.bin. But these will not result in the correct calibration data when combined with the pre-calibration data from the device. An additional "variant" information has to be provided (via SMBIOS or DT) to select the correct board data for a design which was modified by an ODM. Signed-off-by: Sven Eckelmann Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index 74d7f0af209c..3d2a031217da 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -41,6 +41,9 @@ Optional properties: - qcom,msi_addr: MSI interrupt address. - qcom,msi_base: Base value to add before writing MSI data into MSI address register. +- qcom,ath10k-calibration-variant: string to search for in the board-2.bin + variant list with the same bus and device + specific ids - qcom,ath10k-calibration-data : calibration data + board specific data as an array, the length can vary between hw versions.