[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240227093945.21525-1-bastien.curutchet@bootlin.com>
Date: Tue, 27 Feb 2024 10:39:39 +0100
From: Bastien Curutchet <bastien.curutchet@...tlin.com>
To: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Pavel Machek <pavel@....cz>,
Lee Jones <lee@...nel.org>,
Richard Cochran <richardcochran@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
Bastien Curutchet <bastien.curutchet@...tlin.com>
Cc: linux-kernel@...r.kernel.org,
netdev@...r.kernel.org,
devicetree@...r.kernel.org,
linux-leds@...r.kernel.org,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
herve.codina@...tlin.com,
maxime.chevallier@...tlin.com,
christophercordahi@...ometrics.ca
Subject: [PATCH v2 0/6] net: phy: Add TI's DP83640 device tree binding
Hi everyone,
This patch series adds small features to the TI PHY DP83640 :
- Add LED handling through /sys/class/leds to use the three
configuration modes offered by PHY.
- Add Energy Detect Mode handling through ethtool's
{get/set}_phy_tunable()
- Add a device tree attribute to be able to override the hardware
strap configuration if needed. This attribute allows to
enable/disable fiber mode.
Change log v1 -> v2 :
- LED Configuration is now done through /sys/class/leds insted of DT
- Energy Detect Mode is done from {set/get}_phy_tunable() instead of DT
- The DT property to enable/disable PHY control frames is dropped,
the feature is disabled directly in driver as it is not handled
anyway.
- The CLK_OUT pin handling has been dropped.
Bastien Curutchet (6):
dt-bindings: net: Add bindings for PHY DP83640
leds: trigger: Create a new LED netdev trigger for collision
net: phy: DP83640: Add LED handling
net: phy: DP83640: Add EDPD management
net: phy: DP83640: Explicitly disabling PHY Control Frames
net: phy: DP83640: Add fiber mode enabling/disabling from device tree
.../testing/sysfs-class-led-trigger-netdev | 11 +
.../devicetree/bindings/net/ti,dp83640.yaml | 77 +++++
drivers/leds/trigger/ledtrig-netdev.c | 4 +
drivers/net/phy/dp83640.c | 299 ++++++++++++++++++
drivers/net/phy/dp83640_reg.h | 24 ++
include/linux/leds.h | 1 +
6 files changed, 416 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/ti,dp83640.yaml
--
2.43.0
Powered by blists - more mailing lists