From: Fil Dunsky via B4 Relay <devnull+filipp.dunsky.gmail.com@kernel.org>
To: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Andrew Lunn <andrew+netdev@lunn.ch>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH net-next 0/3] Add Cortina Systems CS7542 MDIO controller support
Date: Mon, 23 Nov 2026 21:41:41 +0300 [thread overview]
Message-ID: <20261123-b4-cs7542-mdio-v1-0-626d0a0e3b4d@gmail.com> (raw)
Add an independent Clause 22 MDIO driver for the CS7542 controller used by
Securifi Almond+. The series is based on Linux v7.4-rc4 and has no platform
or ARCH_CORTINA_ACCESS dependency. It is intended for net-next.
Enable manual operation while retaining the prescaler initialized by
firmware and all unrelated configuration bits. The factory bootloader and
vendor driver set the prescaler to 0x20 on this board; the source clock and
exact divisor formula are not documented by the material available here.
Accordingly, this version does not advertise programmable clock-frequency
or preamble suppression. It does not claim Clause 45 support.
Poll short transfers with bounded microsecond waits. A timed-out transfer
remains pending until completion; a later operation cannot replace its
address and consume a stale completion. Device-managed bus allocation and
registration handle probe cleanup and removal.
Validation:
- Full independent ARM vmlinux and modules builds, driver both =y and =m,
COMPILE_TEST=n, without the platform series.
- Binding schema/example and strict source checkpatch pass.
- Actual read/write/wait functions: 5125 address, data, timeout and recovery
cases with mocked MMIO under UBSAN.
- Linux 7.4-rc4 booted in RAM on Almond+. Read PHY ID 004d:d036, performed
an unchanged-value advertisement write/readback and preserved CFG=00200001.
- A RAM-only test slowed the prescaler to induce a real -ETIMEDOUT, restored
the original setting and verified both PHY ID registers again. All hardware
checks passed and the board returned to installed OpenWrt 6.18.64.
No kernel image was installed by these tests. The hardware-test helper and
board integration are not part of the series.
---
Fil Dunsky (3):
dt-bindings: net: Add Cortina CS7542 MDIO controller
net: mdio: Add Cortina CS7542 bus controller
MAINTAINERS: Add Cortina CS7542 MDIO controller entry
.../bindings/net/cortina,cs7542-mdio.yaml | 48 ++++++++
MAINTAINERS | 7 ++
drivers/net/mdio/Kconfig | 13 ++
drivers/net/mdio/Makefile | 1 +
drivers/net/mdio/mdio-cs75xx.c | 136 +++++++++++++++++++++
5 files changed, 205 insertions(+)
---
base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
change-id: 20261123-b4-cs7542-mdio-ec44e757e824
Best regards,
--
Fil Dunsky <filipp.dunsky@gmail.com>
next reply other threads:[~2026-11-23 18:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 18:41 Fil Dunsky via B4 Relay [this message]
2026-11-23 18:41 ` [PATCH net-next 1/3] dt-bindings: net: Add Cortina CS7542 MDIO controller Fil Dunsky via B4 Relay
2026-11-23 18:41 ` [PATCH net-next 2/3] net: mdio: Add Cortina CS7542 bus controller Fil Dunsky via B4 Relay
2026-11-23 19:40 ` Andrew Lunn
2026-11-23 20:41 ` Fil Dunsky
2026-11-23 18:41 ` [PATCH net-next 3/3] MAINTAINERS: Add Cortina CS7542 MDIO controller entry Fil Dunsky via B4 Relay
2026-11-23 19:41 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123-b4-cs7542-mdio-v1-0-626d0a0e3b4d@gmail.com \
--to=devnull+filipp.dunsky.gmail.com@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@kernel.org \
--cc=filipp.dunsky@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®