[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240420-adin-pin-polarity-v2-0-bf9714da7648@solid-run.com>
Date: Sat, 20 Apr 2024 13:22:59 +0200
From: Josua Mayer <josua@...id-run.com>
To: Michael Hennerich <michael.hennerich@...log.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Alexandru Tachici <alexandru.tachici@...log.com>,
Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>
Cc: Jon Nettleton <jon@...id-run.com>,
Yazan Shhady <yazan.shhady@...id-run.com>, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Josua Mayer <josua@...id-run.com>
Subject: [PATCH net-next v2 0/2] net: phy: adin: add support for setting
led-, link-status-pin polarity
ADIN1300/1200 support software control over pin polarity for both LED_0
and LINK_ST pins.
LED_0 polarity can be supported in led framework with led_polarity_set
callback in a future patch-set.
LINK_ST is a fixed-function output not suitable for led framework.
Add bindings for specifying the polarity of LINK_ST pin in device-tree,
and implement in adin phy driver.
Signed-off-by: Josua Mayer <josua@...id-run.com>
---
Changes in v2:
- removed led0 configuration since it can be supported through led
framework
- Link to v1: https://lore.kernel.org/r/20240419-adin-pin-polarity-v1-0-eaae8708db8d@solid-run.com
---
Josua Mayer (2):
dt-bindings: net: adin: add property for link-status pin polarity
net: phy: adin: add support for setting link-status-pin polarity
.../devicetree/bindings/net/adi,adin.yaml | 9 +++++++
drivers/net/phy/adin.c | 29 ++++++++++++++++++++++
2 files changed, 38 insertions(+)
---
base-commit: 4cece764965020c22cff7665b18a012006359095
change-id: 20240419-adin-pin-polarity-30f7f85f6756
Sincerely,
--
Josua Mayer <josua@...id-run.com>
Powered by blists - more mailing lists