[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220419102709.26432-1-josua@solid-run.com>
Date: Tue, 19 Apr 2022 13:27:06 +0300
From: Josua Mayer <josua@...id-run.com>
To: netdev@...r.kernel.org
Cc: alvaro.karsz@...id-run.com, Josua Mayer <josua@...id-run.com>
Subject: [PATCH v2 0/3] adin: add support for clock output
This patch series adds support for configuring the two clock outputs of adin
1200 and 1300 PHYs. Certain network controllers require an external reference
clock which can be provided by the PHY.
One of the replies to v1 was asking why the common clock framework isn't used.
Currently no PHY driver has implemented providing a clock to the network
controller. Instead they rely on vendor extensions to make the appropriate
configuration. For example ar8035 uses qca,clk-out-frequency - this patchset
aimed to replicate the same functionality.
Finally the 125MHz free-running clock is enabled in the device-tree for
SolidRun i.MX6 SoMs, to support revisions 1.9 and later, where the original phy
has been replaced with an adin 1300.
Changes since v1:
- renamed device-tree property and changed to enum
- added device-tree property for second clock output
- implemented all bits from the clock configuration register
Josua Mayer (3):
dt-bindings: net: adin: document phy clock output properties
net: phy: adin: add support for clock output
ARM: dts: imx6qdl-sr-som: update phy configuration for som revision
1.9
.../devicetree/bindings/net/adi,adin.yaml | 17 +++++++
arch/arm/boot/dts/imx6qdl-sr-som.dtsi | 6 +++
drivers/net/phy/adin.c | 44 +++++++++++++++++++
3 files changed, 67 insertions(+)
--
2.34.1
Powered by blists - more mailing lists