| .. SPDX-License-Identifier: GPL-2.0 |
| |
| ======================= |
| zl3073x devlink support |
| ======================= |
| |
| This document describes the devlink features implemented by the ``zl3073x`` |
| device driver. |
| |
| Parameters |
| ========== |
| |
| .. list-table:: Generic parameters implemented |
| :widths: 5 5 90 |
| |
| * - Name |
| - Mode |
| - Notes |
| * - ``clock_id`` |
| - driverinit |
| - Set the clock ID that is used by the driver for registering DPLL devices |
| and pins. |
| |
| Info versions |
| ============= |
| |
| The ``zl3073x`` driver reports the following versions |
| |
| .. list-table:: devlink info versions implemented |
| :widths: 5 5 5 90 |
| |
| * - Name |
| - Type |
| - Example |
| - Description |
| * - ``asic.id`` |
| - fixed |
| - 1E94 |
| - Chip identification number |
| * - ``asic.rev`` |
| - fixed |
| - 300 |
| - Chip revision number |
| * - ``fw`` |
| - running |
| - 7006 |
| - Firmware version number |
| * - ``custom_cfg`` |
| - running |
| - 1.3.0.1 |
| - Device configuration version customized by OEM |
| |
| Flash Update |
| ============ |
| |
| The ``zl3073x`` driver implements support for flash update using the |
| ``devlink-flash`` interface. It supports updating the device flash using a |
| combined flash image ("bundle") that contains multiple components (firmware |
| parts and configurations). |
| |
| During the flash procedure, the standard firmware interface is not available, |
| so the driver unregisters all DPLLs and associated pins, and re-registers them |
| once the flash procedure is complete. |
| |
| The driver does not support any overwrite mask flags. |