Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1174809pxb; Thu, 16 Sep 2021 01:09:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyf9zStsfbjKx+D4BOR10Ico7uNoxyxkGp21qaCj5qbDFT9IO/wVWTbAxCgyZ0anUJhZYP X-Received: by 2002:a92:90c:: with SMTP id y12mr3044713ilg.276.1631779757884; Thu, 16 Sep 2021 01:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631779757; cv=none; d=google.com; s=arc-20160816; b=DD2LLI5RsddUwRl++nUbTteKk+w4CtLywj91Ji9ZN4TYbngyNxFJ74KwokkBwWoYvw 2qcxphZcPKf2Jg8nV4YLjDjEhQwjDTTPGaMNAwnN01RztNlbuU6w+4E1jrHksXrxvemd Pqp9k0WevBWlP3WUnevAy2GRR3i52fRIeGVGcxYhe3860pGEjgJwNax2oVIWhMs4xhFN Ttry3SjeB0WHIQ0H759BjPHTb8wRRONf44egZXD+jqPy9o13FkyWSx6byrZsEblBUJs2 pqNGiGwkuvkuT95Q6zJAqP+e3WkRZAMIKDD6ygejfQntgp/owalERxpaRmoRZtbthqEU XIbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dmarc-filter:sender:dkim-signature; bh=HRzoTpPUOnnoCsB1dg6GBTv/n4PKCWlA8GJJVJjG+3A=; b=aXTKvC3RKYxWDuvZzc+yv902ysF3zUW8CpV7RaUlx+2XYw/SBz3Sfjgzq6mlg7MtpK HKDbL/+TSuI44q8cMaIIrr/PWITMqjl4HuMVd/+0tK0yrH2Xf2oX2Yj5grrwP33ZfJ5a yQRmmTEbWp/a+Li/L854zMHnMGvJgZzWo/SzJ1o49j9+1CldMJwzqSFoTLjFFD6u3ypO tpo2ZIiqAxIQMWSGLqS3r84wt4ON6kT8pShYlSuqZshwl5CwjesstIdA7iQdHTxi/U0I NjqZw7yZ6RxYX7p6A1EAGSdAObMiqGFVfujysEUd7mqvc2BRZEMS0Jg2RCbqeQSO0nlh jK/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=t1Sjk7jh; 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 o6si2517846jat.103.2021.09.16.01.09.06; Thu, 16 Sep 2021 01:09:17 -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=t1Sjk7jh; 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 S234878AbhIPIKC (ORCPT + 79 others); Thu, 16 Sep 2021 04:10:02 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:28836 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229908AbhIPIKB (ORCPT ); Thu, 16 Sep 2021 04:10:01 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1631779721; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=HRzoTpPUOnnoCsB1dg6GBTv/n4PKCWlA8GJJVJjG+3A=; b=t1Sjk7jh7e52JCvQGKfhkxKXuxls+vQWBTgecFkQFryrmKM9PWPhBnHkmyiX2QMoH21C9uw+ sPRaM5uh3Eh/BcFlcwbfiAOaSOwLiLA0bsBmap9LwJdckIrVbyWi6NRUm0KGDduh/8HAEtQw kw0pdvvXtxbJ2HcD/zik/y+431U= 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-n04.prod.us-east-1.postgun.com with SMTP id 6142fb6eec62f57c9ae8c0c4 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 16 Sep 2021 08:08:14 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 00CDBC4360C; Thu, 16 Sep 2021 08:08:13 +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=-1.0 required=2.0 tests=ALL_TRUSTED,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from tykki.adurom.net (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 7A7F4C4338F; Thu, 16 Sep 2021 08:08:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 7A7F4C4338F 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 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v1 1/2] ath9k: fetch calibration data via nvmem subsystem From: Kalle Valo In-Reply-To: References: To: Christian Lamparter Cc: linux-wireless@vger.kernel.org, ath9k-devel@qca.qualcomm.com User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-Id: <20210916080814.00CDBC4360C@smtp.codeaurora.org> Date: Thu, 16 Sep 2021 08:08:14 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Christian Lamparter wrote: > On most embedded ath9k devices (like range extenders, > routers, accesspoints, ...) the calibration data is > stored in a MTD partitions named "ART", or "caldata"/ > "calibration". > > Since commit 4b361cfa8624 ("mtd: core: add OTP nvmem provider support"): > All MTD partitions are all automatically available through > the nvmem subsystem. > > This feature - together with an nvmem cell definition either > in the platform data or via device-tree allows drivers to get > the data necessary for initializing the WIFI, without having > to wait around for the filesystem and userspace to do > the extractions. > > Signed-off-by: Christian Lamparter > Signed-off-by: Kalle Valo 2 patches applied to ath-next branch of ath.git, thanks. eb3a97a69be8 ath9k: fetch calibration data via nvmem subsystem ef7bc2a76342 ath9k: owl-loader: fetch pci init values through nvmem -- https://patchwork.kernel.org/project/linux-wireless/patch/f9b732b50a3453fadf3923cc75d365bae3505fe7.1630157099.git.chunkeey@gmail.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches