[PATCH] mt76: mt7915: add debugfs knob to read efuse value from FW
Shayne Chen
shayne.chen at mediatek.com
Fri May 28 07:20:25 PDT 2021
On Fri, 2021-05-28 at 10:56 +0200, Felix Fietkau wrote:
> 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 <shayne.chen at mediatek.com>
>
> I'd prefer if we read the entire efuse and put it in a "otp" debugfs
> file, like on older chips.
>
> - Felix
Hi Felix,
Got it. I'll send another patch, please drop this one.
Thanks,
Shayne
More information about the Linux-mediatek
mailing list