From patchwork Mon Dec 23 05:48:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 182370 Delivered-To: patch@linaro.org Received: by 2002:a92:a146:0:0:0:0:0 with SMTP id v67csp21825ili; Sun, 22 Dec 2019 21:49:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxqFsmchQmgYZk2o5nZB4tDXa4Hlh+jPI4FJxlTwEr7AFHmEhldlelGrmhogkPUuX7yXvzl X-Received: by 2002:a9d:518b:: with SMTP id y11mr29329565otg.349.1577080172204; Sun, 22 Dec 2019 21:49:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577080172; cv=none; d=google.com; s=arc-20160816; b=otwKvgw3ah1c5Dfz/OsNZutaEhEcmkBVdV3+9m8QiEQv6/WVmqRxyhvdCCXE4mmvBI EdXTKzJ1/a7rbd2RCFFpk6ImPOh9L44RceTL5XlZIsRM8C30qjzins9u/O6vfEBp/A9l TZ14hJA1DZQCY6jgkpBnzUB9ctsLeCTds9HLrDmCF+/m0a7SgXxq1m+BmrpXPxduVcpR 62/KRGtpF4RHSG3C07oRUNgXWB0PwzTunnQRWBzrlTtvk5xRJyEZ/LnnP/p5231cX4h5 ODQ6zIhI8LQrsMSNTJw648sWx9zm6czkUnqDgs4lvGVIFTr3WGSnoiahzqDOTueA1Qqs FBkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iumy1PBiJpZgzq+fMy5WNqZile1hZxg6rvR6lEmVeXg=; b=TQfUd814TKwx0pNfuJxn3bb2solpSagitlbf3GEupg+1PhyJkUBM1vgDvFhpJcvA+g 6ahQ7Tj5umuVbXV0gArUL+iECGyIeIxRfpMO0iAddhjPosTjYyZcW8lCgTAzNyx0iPsq Oz4HZKPRBMOK62Z7Rj/QzWtwffTzbSgoQEEcrXfPgkDPcIyexD0cTWlAhAL5ZF9ntI3b +FkA95UWge9/s+wF6Mv4qaUX9sgdQxBKrTjaNUxWA49Su5oz39ZObdMqtrcAlkeRVERI fnv3vDAKIaf2TmG8sM1NM95ZTd90aNxXpGFf26dcYMjkk1rKoHQHbRvZ4EfB+v1eqyEc LsdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bdRC6gCo; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j16si9779500otp.316.2019.12.22.21.49.32; Sun, 22 Dec 2019 21:49:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bdRC6gCo; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726623AbfLWFta (ORCPT + 2 others); Mon, 23 Dec 2019 00:49:30 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:42933 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726209AbfLWFta (ORCPT ); Mon, 23 Dec 2019 00:49:30 -0500 Received: by mail-pf1-f194.google.com with SMTP id 4so8624230pfz.9 for ; Sun, 22 Dec 2019 21:49:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iumy1PBiJpZgzq+fMy5WNqZile1hZxg6rvR6lEmVeXg=; b=bdRC6gCocAk80rA1xbTl2p/ncFNdXB1ojFpp0JkL3K/81G3P//yEdsNnpzsTtfZsPf 3YyU0Nsh/r9PJjv/AzfM7A3D+yYzf5u0BxlxQ8gLYhOzCR+5VkfCh4dpELTXWloWB/RZ xEw0nYFKEpzJ74Bqfh6KuIgaKyMMaJYH0WK27MRXLAYw4BAb1VbRbLchJ7aPwqqONQ/U 4HpP293tKl5NmXsZtEcnpb1w7oE44FZg/+73qGoUtANehnUuY+ZPs641yIhmRZ9Mp8Pe sVNmmOF0zrhyeQms2fuNTit47iQhqaP6Ss5h4Frxw+5ND9NlufPH9VSoFHeBSr2i2miZ HtWg== 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:mime-version:content-transfer-encoding; bh=iumy1PBiJpZgzq+fMy5WNqZile1hZxg6rvR6lEmVeXg=; b=NVGnNMeu6qG8v3I20Vh41kVny3ENyou9AuUANAmA6Wf976TtDyYk9GiX6Wi37zHYTf A+YvHVdMwsL3ItMmZZmjiWFIpPoeG/HvaV7Ypcf1eGTvKScoJsdJjHmY2RQ8s949lkmm nI9Fk/DkDe5sYJevM7pHCgXNLker9SAcLOtXF5fqW6j8jN4OqOdGXcs5DoT3bQFnsh41 hy9ACXd7I7VnxvkM8TYeXPUmSY4kj8gRkoLlxYbcVmnkyQuPQ10j6ReXqLvL/GecM03T uMGBAr0+p7Esrlmgo9KsKrms2ZK9TzJZ+bAMZ5EXfAEiOepbRqK3CRsgY2nRIkQzq5GH VIsw== X-Gm-Message-State: APjAAAUKMcLCsIJRRf9MeVlzpngn1MA1QXGIc5qVO4t/C8c2Ku9xY//y /JDipEyZnLtDKBsggnHse9yK+Q== X-Received: by 2002:a63:d94b:: with SMTP id e11mr29475446pgj.79.1577080169416; Sun, 22 Dec 2019 21:49:29 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id l14sm19731779pgt.42.2019.12.22.21.49.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2019 21:49:28 -0800 (PST) From: Bjorn Andersson To: Kalle Valo , "David S. Miller" , Rob Herring , Mark Rutland Cc: Andy Gross , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ath10k@lists.infradead.org Subject: [PATCH 1/2] ath10k: Add optional qdss clk Date: Sun, 22 Dec 2019 21:48:54 -0800 Message-Id: <20191223054855.3020665-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191223054855.3020665-1-bjorn.andersson@linaro.org> References: <20191223054855.3020665-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org The WiFi firmware found on sm8150 requires that the QDSS clock is ticking in order to operate, so add an optional clock to the binding to allow this to be specified in the sm8150 dts and add the clock to the list of clocks in the driver. Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 2 +- drivers/net/wireless/ath/ath10k/snoc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.24.0 diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index 017128394a3e..3fc2cce4626b 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -50,7 +50,7 @@ Optional properties: entry in clock-names. - clock-names: Should contain the clock names "wifi_wcss_cmd", "wifi_wcss_ref", "wifi_wcss_rtc" for "qcom,ipq4019-wifi" compatible target and - "cxo_ref_clk_pin" for "qcom,wcn3990-wifi" + "cxo_ref_clk_pin" and optionally "qdss" for "qcom,wcn3990-wifi" compatible target. - qcom,msi_addr: MSI interrupt address. - qcom,msi_base: Base value to add before writing MSI data into diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c index 7e85c4916e7f..aeb4cca92c35 100644 --- a/drivers/net/wireless/ath/ath10k/snoc.c +++ b/drivers/net/wireless/ath/ath10k/snoc.c @@ -46,7 +46,7 @@ static const char * const ath10k_regulators[] = { }; static const char * const ath10k_clocks[] = { - "cxo_ref_clk_pin", + "cxo_ref_clk_pin", "qdss", }; static void ath10k_snoc_htc_tx_cb(struct ath10k_ce_pipe *ce_state);