wifi: rt2800soc: allow loading from OF
authorRosen Penev <rosenp@gmail.com>
Tue, 22 Jul 2025 21:28:52 +0000 (14:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jul 2025 10:29:08 +0000 (12:29 +0200)
commit708e88b9d47522507e330698cea120e0b73b7de0
treec27c8bcd387afe97488c6554bd363a46bbce73b8
parentf1fd79a6475ff550acaa64cf06308a1f57c6ee8f
wifi: rt2800soc: allow loading from OF

Add a single binding to help the already present dts files load the
driver. More are possible but there doesn't seem to be a significant
difference between them to justify this.

Use wifi name per dtschema requirements.

Added OF dependency to SOC CONFIG as adding of_match_table without OF
being present makes no sense.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Link: https://patch.msgid.link/20250722212856.11343-4-rosenp@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ralink/rt2x00/Kconfig
drivers/net/wireless/ralink/rt2x00/rt2800soc.c