[DONOTAPPLY RFC PATCH v2 0/4] WiFi support for samsung,coreprimevelte
Karel Balej
balejk at matfyz.cz
Sun Oct 26 11:20:37 PDT 2025
Hello,
this series adds support for WiFi to the samsung,coreprimevelte
smartphone (and can be straightforwardly reused for the other known
Marvell PXA1908-based smartphones).
The series is currently not intended for application as indicated in the
subject prefix as the firmware necessary for the operation of the chip is not
available in linux-firmware.
Instead, my intentions are to publish the recent developments regarding
the chip support (see the third patch of the series) and offer them for
others to use and if possible get some feedback on them and also
hopefully to spark some conversation with NXP regarding getting the FW
into linux-firmware which would allow this series to be mainlined.
Regarding the firmware I have been in contact with Jeff Chen of NXP some
time ago who promised to ask about it internally – I am thus now gently
reminding Jeff of the matter. I will also appreciate input from anyone
else who may help with upstreaming whichever version of the firmware.
The trouble of upstreaming the FW is mostly a legal one (although an up
to date version of it would also be very welcome) as it is available as
part of the stock Android of the devices with this chip and can thus be
used on individual basis, it cannot however be submitted to
linux-firmware by myself for instance as the license is not known
(although probably is the same as for the other blobs in the mrvl
directory) and as the submission would require a sign-off from someone
involved with NXP.
The third patch in this series fixes a serious issue with the WiFi
observed on the phone (see the relevant commit message). The form is
however not directly usptreamable and it is not clear to me how to best
make it be since it involves changing a data type which probably cannot
be easily be special-cased for the new chip and would likely break the
other chips the mwifiex driver supports if applied as is. I will thus
welcome suggestions on this, although I'm also hopeful that a possible
reasonably up to date FW would not require this workaround at all.
The series is based on the pxa1908-dt-for-6.19 tag of Duje's tree [1] as
it contains the necessary SDIO description in the phone's device tree.
I have not applied the trailers sent in response to v1 as it has been
some time and as this is not expected to be applied anyway.
[1] https://gitlab.com/pxa1908-mainline/linux/-/commits/pxa1908-dt-for-6.19
Cc: Jeff Chen <jeff.chen_1 at nxp.com>
Cc: Peng Fan <peng.fan at nxp.com>
v2:
- Rebase to Duje's tag.
- Add a new patch fixing observed firmware crashes.
- Link to v1: https://lore.kernel.org/r/20231029111807.19261-1-balejk@matfyz.cz/
Karel Balej (4):
dt-bindings: mwifiex: document use with the SD8777 chipset
net: mwifiex: add support for the SD8777 chipset
DONOTMERGE: net: mwifiex: fix timeouts with the SD8777 chip
arm64: dts: samsung,coreprimevelte: add wifi node
.../bindings/net/wireless/marvell,sd8787.yaml | 1 +
.../mmp/pxa1908-samsung-coreprimevelte.dts | 15 +++++++++++++
drivers/net/wireless/marvell/mwifiex/fw.h | 4 +---
drivers/net/wireless/marvell/mwifiex/sdio.c | 21 +++++++++++++++++++
drivers/net/wireless/marvell/mwifiex/sdio.h | 1 +
drivers/net/wireless/marvell/mwifiex/sta_tx.c | 10 ++-------
include/linux/mmc/sdio_ids.h | 1 +
7 files changed, 42 insertions(+), 11 deletions(-)
--
2.51.1
More information about the linux-arm-kernel
mailing list