diff options
| author | Crescent Hsieh <crescentcy.hsieh@moxa.com> | 2026-08-11 14:04:58 +0800 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2026-10-15 10:41:20 +0200 |
| commit | a3ad29ec47d3bb4fb3fa20bf8fcc0a466052dd2c (patch) | |
| tree | 8010cda89ab5cfc87354ccb8f543708fd6e7ac5c /include/linux | |
| parent | 4707336330a423191fc28ead250b1963d35719c5 (diff) | |
| download | linux-a3ad29ec47d3bb4fb3fa20bf8fcc0a466052dd2c.tar.gz linux-a3ad29ec47d3bb4fb3fa20bf8fcc0a466052dd2c.zip | |
USB: serial: mxuport: add MUX50U-based device support
Add support for MUX50U-based UPort G2 devices and Platform UARTs.
Add their product IDs and list the supported products by family.
Encode the number of ports and device family in each USB device ID
entry. Use the family to select the firmware image and version
offsets, and the method used to determine whether a firmware download
is needed.
UPort G2 devices use the shared UP firmware image
(moxa-up-mux50u.fw), while Platform UARTs use the shared PF firmware
image (moxa-pf-mux50u.fw). Platform UARTs are board-level UARTs
accessed through the USB bus.
The factory firmware on MUX50U-based devices reports its version in a
different format from the runtime firmware image, so version comparison
cannot reliably determine whether a firmware download is needed. Check
the system-register remap state instead to determine whether the device
is already running the runtime firmware from SRAM.
Keep the existing per-product firmware selection and version comparison
for UPort G1 devices.
Signed-off-by: Crescent Hsieh <crescentcy.hsieh@moxa.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
