Skip to content

Commit d407b77

Browse files
committed
Merge: zl3073x: backport flashing feature to RHEL 10.2
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/1449 JIRA: https://issues.redhat.com/browse/RHEL-115367 Tested: Locally on GNR-D platform Commits: ``` 259ede9 ("dpll: zl3073x: Add functions to access hardware registers") 3639bd0 ("dpll: zl3073x: Add low-level flash functions") ca01740 ("dpll: zl3073x: Add firmware loading functionality") ebb1031 ("dpll: zl3073x: Refactor DPLL initialization") a1e891f ("dpll: zl3073x: Implement devlink flash callback") ``` Signed-off-by: Ivan Vecera <ivecera@redhat.com> Approved-by: Michal Schmidt <mschmidt@redhat.com> Approved-by: Petr Oros <poros@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Scott Weaver <scweaver@redhat.com>
2 parents c56dbf0 + 12b0591 commit d407b77

File tree

11 files changed

+1696
-91
lines changed

11 files changed

+1696
-91
lines changed

Documentation/networking/devlink/zl3073x.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,17 @@ The ``zl3073x`` driver reports the following versions
4949
- running
5050
- 1.3.0.1
5151
- Device configuration version customized by OEM
52+
53+
Flash Update
54+
============
55+
56+
The ``zl3073x`` driver implements support for flash update using the
57+
``devlink-flash`` interface. It supports updating the device flash using a
58+
combined flash image ("bundle") that contains multiple components (firmware
59+
parts and configurations).
60+
61+
During the flash procedure, the standard firmware interface is not available,
62+
so the driver unregisters all DPLLs and associated pins, and re-registers them
63+
once the flash procedure is complete.
64+
65+
The driver does not support any overwrite mask flags.

drivers/dpll/zl3073x/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
obj-$(CONFIG_ZL3073X) += zl3073x.o
4-
zl3073x-objs := core.o devlink.o dpll.o prop.o
4+
zl3073x-objs := core.o devlink.o dpll.o flash.o fw.o prop.o
55

66
obj-$(CONFIG_ZL3073X_I2C) += zl3073x_i2c.o
77
zl3073x_i2c-objs := i2c.o

0 commit comments

Comments
 (0)