[PATCH net-next v2 0/2] net: phy: adin: add support for setting led-, link-status-pin polarity

From: Josua Mayer
Date: Sat Apr 20 2024 - 07:23:23 EST


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@xxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxx

---
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@xxxxxxxxxxxxx>