Linux I2C development
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] ptp: ocp: support the WiWi production Time Card
@ 2026-11-11  4:19 Ahmad Byagowi
  2026-11-11  4:19 ` [PATCH net-next 1/3] i2c: xiic: allow platforms to require 32-bit register accesses Ahmad Byagowi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ahmad Byagowi @ 2026-11-11  4:19 UTC (permalink / raw)
  To: netdev, vadim.fedorenko, andi.shyti; +Cc: linux-i2c

The WiWi 2163:1008 card has a Celestica-compatible register map behind
a LitePCIe bridge, but subword MMIO can cause a machine check. Teach
XIIC to use aligned word accesses on request, test both access modes,
and bind ptp_ocp only to the verified 0x800f production layout.
Other boards retain their existing access modes. WiWi devlink flash
updates are deliberately unsupported.

Patch 3 consumes the platform-data field from patch 1. Can the I2C
maintainers Ack patches 1 and 2 for the series to go through net-next?

On the hardware-tested base (4dd16e31135e), the driver bound with
64 MSI-X vectors and registered the PHC, PPS and three UARTs. The PHC
advanced 3.000429460 s over three one-second reads, within the host
monotonic brackets. SPI NOR and two at24 devices bound. The card was
UNSYNCED at probe; no PPS lock or UTC accuracy is claimed. Rebasing
onto the base below did not change the driver sources or patch IDs.
The rebased series passed x86-64 module/built-in and i386 module
object builds and four XIIC KUnit cases in x86-64 QEMU.
Full W=1 allmodconfig and allyesconfig builds encountered the same GCC
format-truncation error in lockdep_proc.c on this series and the clean
base. Neither full configuration is reported as passing.

Codex assisted with the driver changes, tests and changelogs from
the supplied board layout and crash evidence. The net-next series
does not include a firmware update or front-panel LED policy.

Ahmad Byagowi (3):
  i2c: xiic: allow platforms to require 32-bit register accesses
  i2c: xiic: add KUnit coverage for register access modes
  ptp: ocp: add WiWi Time Card production image support

 Documentation/networking/devlink/ptp_ocp.rst |  35 +++-
 MAINTAINERS                                  |   1 +
 drivers/i2c/busses/Kconfig                   |  14 ++
 drivers/i2c/busses/i2c-xiic.c                |  60 ++++--
 drivers/i2c/busses/tests/i2c_xiic_kunit.c    |  88 +++++++++
 drivers/ptp/ptp_ocp.c                        | 198 ++++++++++++++++++-
 include/linux/platform_data/i2c-xiic.h       |   3 +
 7 files changed, 374 insertions(+), 25 deletions(-)
 create mode 100644 drivers/i2c/busses/tests/i2c_xiic_kunit.c


base-commit: 97ced2c090bfc2156db31fca9f52cf253e4bc186

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

end of thread, other threads:[~2026-11-11  4:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-11  4:19 [PATCH net-next 0/3] ptp: ocp: support the WiWi production Time Card Ahmad Byagowi
2026-11-11  4:19 ` [PATCH net-next 1/3] i2c: xiic: allow platforms to require 32-bit register accesses Ahmad Byagowi
2026-11-11  4:19 ` [PATCH net-next 2/3] i2c: xiic: add KUnit coverage for register access modes Ahmad Byagowi
2026-11-11  4:19 ` [PATCH net-next 3/3] ptp: ocp: add WiWi Time Card production image support Ahmad Byagowi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox