Shayne ChenandFelix Fietkau a515727e84 mt76: mt7915: add support for flash mode
Add support for getting rf values from flash.
This is used for some test purposes and products.
If the mtd partition is configured in dts, driver will read from flash
to init eeprom command; if not, still init it with efuse's values.

An example:
&slot0 {
	mt7915@0,0 {
		reg = <0x0000 0 0 0 0>;
		device_type = "pci";
		mediatek,mtd-eeprom = <&factory 0x0000>;
	};
};

Acked-by: Ryder Lee <[email protected]>
Signed-off-by: Shayne Chen <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
2021-01-04 18:30:33 +01:00
2020-11-13 11:19:13 +01:00
2020-11-13 11:19:13 +01:00
2020-11-13 11:19:13 +01:00
2020-10-23 11:38:05 +02:00
2020-11-13 11:19:13 +01:00
2020-11-13 11:19:13 +01:00
2020-07-15 16:05:18 +02:00
2020-08-24 20:59:30 +02:00
2020-06-16 22:05:14 +02:00
2020-11-13 11:19:13 +01:00
2019-08-22 09:26:30 +02:00
S
Description
mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
BSD-3-Clause
105 MiB
Languages
C 99.7%
Perl 0.2%
Makefile 0.1%