Message ID | 1338212e100717107ded55293436b51c626f1aa7.1655542439.git.sander@svanheule.net |
---|---|
State | Accepted |
Delegated to: | Sander Vanheule |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=LHQ2YquP; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=svanheule.net header.i=@svanheule.net header.a=rsa-sha256 header.s=mail1707 header.b=8oLJ9tzO; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LQ8vp2vZPz9s2R for <incoming@patchwork.ozlabs.org>; Sat, 18 Jun 2022 18:58:30 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X2eDco85joLSjCxrOBhi92e2Ks/MuyxEfZN4b2aVyrk=; b=LHQ2YquPqPNWfm jYAEdXEsNdipCpWGxPNjswG7uJxrVuRax5b7TsTDCBtYRJaWENivAE95HEGzYP40gRjGev/JsTVuj 4FEZwE4SSrvFaQpZkm6ehw6b+9HKpyRCRg6tUZxZqvpccMr7FuVaY+LkWK+LV4P3Q+1HV66PNVZQT GYGAREVO8JG4Fzi5l2Udo9qpWU+HkiPyh5XA9XENoG8M/9vhMZrZIeqHEE7HCS+NmSp1gpRBVWdx2 svJCH/isnnX/qx0BvJwqI8nBmzEUFT+kH/i5gPA0GNrDtneVkxXnai6qgsy9RULfwcvv6lmaw2BmR oxeMfPix5KBn6fPSx1yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2UFp-00AnpE-Dq; Sat, 18 Jun 2022 08:56:29 +0000 Received: from polaris.svanheule.net ([2a00:c98:2060:a004:1::200]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2UFa-00AnlU-Vs for openwrt-devel@lists.openwrt.org; Sat, 18 Jun 2022 08:56:16 +0000 Received: from terra.. (unknown [IPv6:2a02:a03f:eaf9:8401:aa9f:5d01:1b2a:e3cd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id 008FA2EAAED; Sat, 18 Jun 2022 10:56:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1655542573; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ztk/64hVy4euESesUY0JiTKSAUlnLJKXYGQQOwxI0aU=; b=8oLJ9tzOUQOZG64QWzX5Faw7RjxWB1gdV2btkyL3r8ljYxn+faUO7Gw7DbYo4RcRcELG6F 3F+FP66opVqmhZZ1baK771zWsj9mwrlCRpElKvYFCXCOBiKftBLoOZSP8I+cEhaZ9s964x X+rJCaPBStShoF8y0WJ7DrfaA9cnWuqaE7+Yeou/jwfHkkre1l82ZvU9lS5e9uT9zrkRHz JTyrM/34lrKecLLN5ubDlQ5Gvkuf5zuZYItrFFxd5UcxxVG8NsSPeS6TRgoEVJqceK8oRp imv0WlRje/KlNj3ZKbpL30HT6bI8X7XV2m1AqeD0lR+cHEMm8yNHoUhYCgzssQ== From: Sander Vanheule <sander@svanheule.net> To: openwrt-devel@lists.openwrt.org Cc: Christian Lamparter <chunkeey@gmail.com>, Sebastian Schaper <openwrt@sebastianschaper.net>, Sander Vanheule <sander@svanheule.net> Subject: [PATCH v3 2/6] ath79: D-Link DAP-2xxx (QCA955x): convert ath9k caldata to nvmem Date: Sat, 18 Jun 2022 10:55:55 +0200 Message-Id: <1338212e100717107ded55293436b51c626f1aa7.1655542439.git.sander@svanheule.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <cover.1655542439.git.sander@svanheule.net> References: <cover.1655542439.git.sander@svanheule.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220618_015615_218463_B6C883FB X-CRM114-Status: UNSURE ( 7.17 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Convert the calibration data reference for the ath9k radio to an nvmem-cell, replacing the downstream mtd-cal-data property. Cc: Sebastian Schaper <openwrt@sebastianschaper.net> Signed-off-by: Sander Vanheule <sander@svanheule.net> --- Changes in v2: - Put nvmem cell definition directly in partition node --- target/linux/at [...] Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [2a00:c98:2060:a004:1:0:0:200 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
ath79: convert QCA955x-based D-Link DAP-2xxx to nvmem
|
expand
|
diff --git a/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi b/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi index 21fde53cc867..3e254fa494ea 100644 --- a/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi +++ b/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi @@ -46,6 +46,14 @@ label = "art"; reg = <0xff0000 0x10000>; read-only; + + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + cal_ath9k: calibration@1000 { + reg = <0x1000 0x440>; + }; }; }; }; @@ -54,5 +62,6 @@ &wmac { status = "okay"; - mtd-cal-data = <&art 0x1000>; + nvmem-cells = <&cal_ath9k>; + nvmem-cell-names = "calibration"; };
Convert the calibration data reference for the ath9k radio to an nvmem-cell, replacing the downstream mtd-cal-data property. Cc: Sebastian Schaper <openwrt@sebastianschaper.net> Signed-off-by: Sander Vanheule <sander@svanheule.net> --- Changes in v2: - Put nvmem cell definition directly in partition node --- target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)