[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201209140501.17415-1-i.mikhaylov@yadro.com>
Date: Wed, 9 Dec 2020 17:04:59 +0300
From: Ivan Mikhaylov <i.mikhaylov@...ro.com>
To: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Rob Herring <robh+dt@...nel.org>, Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>
CC: Ivan Mikhaylov <i.mikhaylov@...ro.com>, <netdev@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH 0/2] Add LED mode behavior/select properties and handle
In KSZ9131 PHY it is possible to control LEDs blink behavior via
LED mode behavior and select registers. Add DTS properties plus handles
of them inside micrel PHY driver.
I've some concerns about passing raw register values into LED mode
select and behavior. It can be passed via array like in microchip
driver(Documentation/devicetree/bindings/net/microchip,lan78xx.txt).
There is the problem in this particular driver - there is a lot of other PHYs
and led mode behavior/select states may intersect, that's the reason why
I did it this way. Is there any good ways to make it look more properly?
Ivan Mikhaylov (2):
net: phy: micrel: add LED control on KSZ9131
dt-bindings: net: phy: micrel: add LED mode behavior and select
properties
.../devicetree/bindings/net/micrel.txt | 7 ++
drivers/net/phy/micrel.c | 69 ++++++++++++++++++-
2 files changed, 75 insertions(+), 1 deletion(-)
--
2.21.1
Powered by blists - more mailing lists