Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp217981pxj; Fri, 28 May 2021 02:13:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwC4rVldQPw0a94emhv85o8Vp3cI7vn5FjL9/8kD0mtMEk4R3S85DQjDFec1AwiE2u4a+4N X-Received: by 2002:a05:6402:1719:: with SMTP id y25mr8874004edu.304.1622193202056; Fri, 28 May 2021 02:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622193202; cv=none; d=google.com; s=arc-20160816; b=ZrDwF1qR/8GkfVUNIPGOQj7qKROtkExjhPTYXF1aoGsZHIZ4Ynj5jewgZBn8Ae6u9V Dgh0GDeauBJwS7CMTi26wqgiBcqajo11boLqbDMfzpNymI8l1SSD4a7NbHYDDdA+b6RB uF5hltuvqAdqGlS2/UIdluN7zHGH0uSUwM1aLgoCgg26ReDd8KA0mDMOkxPTM49MY0De t1HsfMlE8Wknf8cI43apdDfVCvPeZTurzul3VksWGeq/tSGzKIrJRiwdaLJvMXhsqkiJ m6R23hFc3Vf4nwnFmU1+Szl0ohMTVGc8wNB6XOR1ThC19mQ50r6ysZQw/WdjVJwg8Heq AyUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to:dkim-signature; bh=SpSfsBsII+1PKcjb/5Zuio6S2J479RKFh2z8FdE5ebI=; b=ZIiruuEWPb+6paiAm2TNcuP9dzusHEld1MCe6vn6NCdAi7XVdJfxF04+1pIqJ9WVqK 6Q/H+iEHqQQezwaX+ZS6iuC9xxseCKxgO8RHSzPwB5it2r71/qLiyVsVRTIDQTQnX7tq iJrmeHn+LdBeU9fel8xjZNhH6EwXHND3mts+Gc/uZAQXPq3ItCBxUno6iEGdNJkgwa8u ELEXK3t7Um5lK9miZE/2thUuPgwYL5I31DOyXlPmT3QReQaSAiqxqZRGdHywljmJsWCU TXoq5FkHZ+hbUb5feBps+nb25GrcQ/5u3ZWg3eh73bTGfwDxk6RoeawBG8i2v9p35Mf/ aIwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b="Ew/PJByg"; 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 hr17si4303817ejc.232.2021.05.28.02.12.54; Fri, 28 May 2021 02:13:22 -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=fail header.i=@nbd.name header.s=20160729 header.b="Ew/PJByg"; 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 S235116AbhE1I6k (ORCPT + 99 others); Fri, 28 May 2021 04:58:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236057AbhE1I6V (ORCPT ); Fri, 28 May 2021 04:58:21 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B149C061574 for ; Fri, 28 May 2021 01:56:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:Subject:From:References:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SpSfsBsII+1PKcjb/5Zuio6S2J479RKFh2z8FdE5ebI=; b=Ew/PJBygVPiHSXendy1ZGj+/Sk XMRQpyBY3XBLrPBFP8i05QGUQ9XsDcceeaCcwDeBm2fIh3PfrPKOEaUjJ5X0Vb2XkCD2XcUwaBvzR QEoCPR6Xib9fvyK9BqM97Rg4nxhbQESc9LTl8cc1AsBwQb26ORPuHEZJ1cCsrFxdssCM=; Received: from p54ae9ff2.dip0.t-ipconnect.de ([84.174.159.242] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1lmYIJ-0003fd-5F; Fri, 28 May 2021 10:56:39 +0200 To: Shayne Chen Cc: linux-wireless , Lorenzo Bianconi , Ryder Lee , linux-mediatek References: <20210504125225.2536-1-shayne.chen@mediatek.com> From: Felix Fietkau Subject: Re: [PATCH] mt76: mt7915: add debugfs knob to read efuse value from FW Message-ID: <32908981-c864-aa13-b182-8081610baa9c@nbd.name> Date: Fri, 28 May 2021 10:56:38 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210504125225.2536-1-shayne.chen@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021-05-04 14:52, Shayne Chen wrote: > In efuse mode, mt7915 only reads efuse values from FW which driver need. > Add a debugfs knob to read addtional efuse values from a specific field, > which is useful in some cases such as checking if rf values in efuse > are properly burned. > > An example of usage: > echo 0x400 > efuse_idx > hexdump -C eeprom > > Signed-off-by: Shayne Chen I'd prefer if we read the entire efuse and put it in a "otp" debugfs file, like on older chips. - Felix