mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
eeprom: add support for dumping otp data separately via debugfs
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -111,6 +111,7 @@ void mt76_init_debugfs(struct mt76_dev *dev)
|
||||
return;
|
||||
|
||||
debugfs_create_blob("eeprom", S_IRUSR, dir, &dev->eeprom);
|
||||
debugfs_create_blob("otp", S_IRUSR, dir, &dev->otp);
|
||||
debugfs_create_u8("temperature", S_IRUSR, dir, &dev->cal.temp);
|
||||
|
||||
debugfs_create_u32("regidx", S_IRUSR | S_IWUSR, dir, &dev->debugfs_reg);
|
||||
|
||||
Reference in New Issue
Block a user