Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp868435pxb; Sat, 21 Aug 2021 22:12:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBVhtLuHkUR4m+HbZcNYufiB4VZn3tPP1YW5pbpLepLq2sK3cKika5VjbkEf9lMHWIe8xF X-Received: by 2002:a6b:d915:: with SMTP id r21mr10239954ioc.76.1629609158129; Sat, 21 Aug 2021 22:12:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629609158; cv=none; d=google.com; s=arc-20160816; b=Bq04i+AtWfCRZTqvMZXJ9w3Gjn3O1XroCdqM9gYOzICLjz/gRh0FfkH7HbsMhC3nce BxwNrDXRDtmN920/k+GmLc91KUqqBpp1gjAJE6zw+zW2ZaGYiyxO9Y2mwZNyH0kxAiV7 5NIG8CH2KcRLKkZhE3bhasWcjrc8E7iiRVE7lxiowL+i2MubzhyH5X2Jaa2yt980/6pt uZWrjjUDUt31kS2XwaW001hll/Wm9Y/hBkmw8PBJP1SEpXMpRR/JPVYe8DZIG8VIFNnk ocwPQOIwEDpbWpNqXb/i06wDDpCznVGwoEyvq0x20SOA9qI24uXBGjijB17HJR1eTyzb 3IYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=zKVD0rIumcaUEyKT6fk1eYHnfashqgh8+7h5noVF3iU=; b=XUw4uiHfbdjpmuhkgmr3b/NOaPae0quAlEcpnP2vI9jhLylXposz5b+shnl2IKxRYU 5hzcD3yA5ZXzaaXSk1dP2K4xZ6WpzU47C8p9F1eZilHrqK+18dF4gr+hagut7oZgbULf 5+aRhsZI8h91D7utgnPJJ6iStdluzVLIeioa7XXeuWpnIlO2CU4b/EUc+RExjc6nP0U5 cjXvh5ZNgQcgN037+m6DINgNFUsYmHOFLcWMCLePFsdybcCPErnJ+Jy5yb6X2Ml41OfY cVnBOXS6kIzVLbwOtGpeMkwsz4KMyMPy2kobAcH9ieoXNTviEnUq/tb99XeHAnC3jZnp rakQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=H4VWfOXb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s19si9748448ioj.101.2021.08.21.22.12.26; Sat, 21 Aug 2021 22:12:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=H4VWfOXb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230499AbhHVFKL (ORCPT + 99 others); Sun, 22 Aug 2021 01:10:11 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:26558 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230318AbhHVFKJ (ORCPT ); Sun, 22 Aug 2021 01:10:09 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1629608969; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=zKVD0rIumcaUEyKT6fk1eYHnfashqgh8+7h5noVF3iU=; b=H4VWfOXbJ9H3cv+O01gL363RAkK3d8YZsntXKaqSCL34c95onU5eOcepj5wY/y8LMOPuz5kG Dqq6jwUblBWHLQi0kIvv8x8qVmgs6haGKTdIsF8JSpDhrvsjoMoRzqhk4X5O8OFtUwB/estC ZuwSG9F94f5x+c5V+oJ5nE5sNa8= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-west-2.postgun.com with SMTP id 6121dc072b9e91b6882a3bb0 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sun, 22 Aug 2021 05:09:27 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D3F39C43616; Sun, 22 Aug 2021 05:09:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from tykki (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0AED0C4338F; Sun, 22 Aug 2021 05:09:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 0AED0C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Kalle Valo To: Christian Lamparter Cc: linux-wireless@vger.kernel.org, devicetree@vger.kernel.org, ath9k-devel@qca.qualcomm.com, Rob Herring Subject: Re: [RFC PATCH v1 1/3] dt-bindings:net:wireless:qca,ath9k: add nvmem-cells for calibration data References: <91e68ca7f65bee7197ed5829ef91bc526df16e8a.1629508039.git.chunkeey@gmail.com> <87ilzz9wzf.fsf@tynnyri.adurom.net> Date: Sun, 22 Aug 2021 08:09:22 +0300 In-Reply-To: (Christian Lamparter's message of "Sat, 21 Aug 2021 22:02:57 +0200") Message-ID: <8735r2rrp9.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Christian Lamparter writes: > On 21/08/2021 07:40, Kalle Valo wrote: >> Christian Lamparter writes: >> >>> On most embedded ath9k devices (like range extenders, >>> routers, accesspoints, ...) the calibration data for >>> the RF/PHY is simply stored in a MTD partition named >>> "ART", "caldata"/"calibration", etc. >>> >>> Any mtd partition is automatically registered in the >>> nvmem subsystem. This makes is possible to fetch the >>> necessary calibration directly from there at the low >>> cost of adding nvmem cell information via the >>> device-tree or via similar means. >>> >>> This speeds up the driver's initialization a lot, >>> because the driver doesn't have to wait for userspace >>> to provide the data via helpers. >>> >>> Signed-off-by: Christian Lamparter >> >> The series looks good to me. But I'm curious, why you marked this as >> RFC? Is there something controversial I missed? > > yeah. Last night (it was already really late) I was tunnel-visioning > at the thought that device-tree binding update was a must there. > ... And ath9k's qca,ath9k.txt is still in that .txt and not .yaml > format. So, I'm not sure if that file has to be converted first. > (I couldn't get Rob's tools to work. And without them, I've no idea > what error messages a converted .yaml of it will pop up) > > However... since then, I had the change to re-read: > > > And found that nvmem cells and lookups can be specified in > the old platform data way as well... So that binding patch > 1/3 is optional. > > So, yeah. If nobody has an comment until next week, I'll post this > series with only patches 2/3 and 3/3. Sounds good, thanks for the background. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches