devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
To: Andrew Lunn <andrew@lunn.ch>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
	Rob Herring <robh+dt@kernel.org>,
	Rasmus Villemoes <linux@rasmusvillemoes.dk>
Subject: [PATCH 0/2] net: phy: dp83867: add DT bindings and support for active low LEDs
Date: Thu,  3 Nov 2022 15:31:16 +0100	[thread overview]
Message-ID: <20221103143118.2199316-1-linux@rasmusvillemoes.dk> (raw)

We have a board with link/activity LEDs driven by the LED_0 and LED_2
pins of the dp83867, but they are currently reversed. Add DT bindings
to allow specifying they are active low, and hook up driver support.

Rasmus Villemoes (2):
  dt-bindings: dp83867: define ti,ledX-active-low properties
  net: phy: dp83867: implement support for ti,ledX-active-low bindings

 .../devicetree/bindings/net/ti,dp83867.yaml   | 15 +++++++++
 drivers/net/phy/dp83867.c                     | 32 +++++++++++++++++++
 2 files changed, 47 insertions(+)

-- 
2.37.2


             reply	other threads:[~2022-11-03 14:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-03 14:31 Rasmus Villemoes [this message]
2022-11-03 14:31 ` [PATCH 1/2] dt-bindings: dp83867: define ti,ledX-active-low properties Rasmus Villemoes
2022-11-03 22:17   ` Andrew Lunn
2022-11-04  7:17     ` Rasmus Villemoes
2022-11-04  8:11       ` [PATCH 1/2] dt-bindings: dp83867: define ti, ledX-active-low properties Alexander Stein
2022-11-04 13:21       ` [PATCH 1/2] dt-bindings: dp83867: define ti,ledX-active-low properties Andrew Lunn
2022-11-03 14:31 ` [PATCH 2/2] net: phy: dp83867: implement support for ti,ledX-active-low bindings Rasmus Villemoes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221103143118.2199316-1-linux@rasmusvillemoes.dk \
    --to=linux@rasmusvillemoes.dk \
    --cc=andrew@lunn.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=hkallweit1@gmail.com \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).