netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ath9k: of_init: add endian check
@ 2023-04-17  5:35 Álvaro Fernández Rojas
  2023-04-17  5:35 ` [PATCH v2 1/2] dt-bindings: net: wireless: ath9k: document " Álvaro Fernández Rojas
  2023-04-17  5:35 ` [PATCH v2 2/2] ath9k: of_init: add " Álvaro Fernández Rojas
  0 siblings, 2 replies; 9+ messages in thread
From: Álvaro Fernández Rojas @ 2023-04-17  5:35 UTC (permalink / raw)
  To: f.fainelli, jonas.gorski, nbd, toke, kvalo, davem, edumazet, kuba,
	pabeni, chunkeey, linux-wireless, netdev, linux-kernel
  Cc: Álvaro Fernández Rojas

Add new endian check flag to allow checking the endianness of EEPROM and swap
its values if needed.
This flag was already present on ath9k_platform_data as "endian_check".

For compatibility with current devices the AH_NO_EEP_SWAP flag will be
activated only when qca,endian-check isn't present in the device tree.
This is because some devices have the magic values swapped but not the actual
EEPROM data, so activating the flag for those devices will break them.

Álvaro Fernández Rojas (2):
  dt-bindings: net: wireless: ath9k: document endian check
  ath9k: fix calibration data endianness

 .../devicetree/bindings/net/wireless/qca,ath9k.yaml          | 5 +++++
 drivers/net/wireless/ath/ath9k/init.c                        | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-04-17 22:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-17  5:35 [PATCH v2 0/2] ath9k: of_init: add endian check Álvaro Fernández Rojas
2023-04-17  5:35 ` [PATCH v2 1/2] dt-bindings: net: wireless: ath9k: document " Álvaro Fernández Rojas
2023-04-17  7:19   ` Krzysztof Kozlowski
2023-04-17  9:38     ` Kalle Valo
2023-04-17 17:43     ` Álvaro Fernández Rojas
2023-04-17  5:35 ` [PATCH v2 2/2] ath9k: of_init: add " Álvaro Fernández Rojas
2023-04-17  9:21   ` Toke Høiland-Jørgensen
2023-04-17 17:54     ` Álvaro Fernández Rojas
2023-04-17 22:56       ` Toke Høiland-Jørgensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).