From patchwork Fri Jan 7 20:04:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Kumar X-Patchwork-Id: 12707027 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3F0DC433FE for ; Fri, 7 Jan 2022 20:06:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233942AbiAGUGE (ORCPT ); Fri, 7 Jan 2022 15:06:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233916AbiAGUGD (ORCPT ); Fri, 7 Jan 2022 15:06:03 -0500 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 289A5C061401 for ; Fri, 7 Jan 2022 12:06:03 -0800 (PST) Received: by mail-pf1-x433.google.com with SMTP id m1so5988215pfk.8 for ; Fri, 07 Jan 2022 12:06:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9aQGqZRmHVofJdgbyQpqYP9ZVw8rgMp4fyAd54UvKjI=; b=oKB02UKX2GpWx89gjvdWfZ0z7iFyz6jXVLhUcI83TOu0Dm2uqbBoVD9trbzfsQO5bt C9hzF5hu33iB+xe3NVipbIwJ5YLYNGsbtTHg+bzfI9LOPj10iuYdglFU1gmrLqOrSqOC 6iEb4Atd6HINbMwKeExRhl9iT9grnwCGhzDBY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9aQGqZRmHVofJdgbyQpqYP9ZVw8rgMp4fyAd54UvKjI=; b=MLTYfDYI6MkZHR4iXLQ6Zav8mH4MrtCTlTUnWwSogXt5hiVwNMWWpyS/391dOaIwNv I9TjIDeoJdR+AO5YTUYxC69MyGvaAspPZVcbCcPHGbjYhL/3JqD4h5ZKD8oPGTghw782 +QkTqZIquKToif4Dd+H9BDls+TQ6y2QdoFbh7M3uuBLorUn7UQaqEDi+TSlXCMUjzjP1 OVyEzR1CNc0YS7Ob7QvatYBMEyipXJxZBivjeQuRug+zmJlU4Y6gjPXyH2yp1OU4KPM7 VWRGCXL0oyf7Rgxd7YeYXeN/Rh1jnSpPNKdMRIeRjAxRBRBLPReb5fPY6GjJkRfEqmgb Ow1Q== X-Gm-Message-State: AOAM531nxmPbZKhM+3s9HhQKYdZcoliNrLaPI/k1F/bFT3XrAqoPAelk Q8bUC54By+DgEHhf0wzilqwXpA== X-Google-Smtp-Source: ABdhPJxRLSIDf45pCKTTtVhB5TKIpwBXdiQ5iVWYe9E4TZ3n2ODOwkimZzHR1vjLIHQzP8qdcUQ82g== X-Received: by 2002:a63:f254:: with SMTP id d20mr57812751pgk.127.1641585962552; Fri, 07 Jan 2022 12:06:02 -0800 (PST) Received: from kuabhs-cdev.c.googlers.com.com (254.80.82.34.bc.googleusercontent.com. [34.82.80.254]) by smtp.gmail.com with ESMTPSA id y18sm5929492pfn.202.2022.01.07.12.06.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 12:06:02 -0800 (PST) From: Abhishek Kumar To: kvalo@codeaurora.org, dianders@chromium.org Cc: pillair@codeaurora.org, kuabhs@chromium.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Kalle Valo , Rob Herring , devicetree@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 2/2] dt: bindings: add dt entry for ath10k default BDF name Date: Fri, 7 Jan 2022 20:04:31 +0000 Message-Id: <20220107200417.2.Ia0365467994f8f9085c86b5674b57ff507c669f8@changeid> X-Mailer: git-send-email 2.34.1.575.g55b058a8bb-goog In-Reply-To: <20220107200417.1.Ie4dcc45b0bf365077303c596891d460d716bb4c5@changeid> References: <20220107200417.1.Ie4dcc45b0bf365077303c596891d460d716bb4c5@changeid> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org It is possible that BDF name with board-id+chip-id+variant combination is not found in the board-2.bin. Such cases can cause wlan probe to fail and completely break wifi. In such case there can be an optional property to define a default BDF name to search for in the board-2.bin file when none of the combinations (board-id,chip-id,variant) match. To address the above concern provide an optional proptery: qcom,ath10k-default-bdf Signed-off-by: Abhishek Kumar --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index b61c2d5a0ff7..d76d1392863d 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -63,6 +63,10 @@ Optional properties: hw versions. - qcom,ath10k-pre-calibration-data : pre calibration data as an array, the length can vary between hw versions. +- qcom,ath10k-default-bdf : default board data file name to be searched in + board-2.bin. This is searched if no BDF is found + in board-2.bin that matches, chip-id, board-id and + variant combination - -supply: handle to the regulator device tree node optional "supply-name" are "vdd-0.8-cx-mx", "vdd-1.8-xo", "vdd-1.3-rfa", "vdd-3.3-ch0",