mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Artem Shimko <a.shimko.dev@gmail.com>
Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net,
	edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	maxime.chevallier@bootlin.com, pavel@ucw.cz,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-leds@vger.kernel.org, netdev@vger.kernel.org,
	andrew+netdev@lunn.ch
Subject: Re: [PATCH net-next v8 2/3] dt-bindings: net: dptel,dap8211r: add LED nodes
Date: Thu, 3 Dec 2026 00:44:59 +0100	[thread overview]
Message-ID: <6bead654-3177-4326-909b-c7b52fa4a4ee@lunn.ch> (raw)
In-Reply-To: <20261202144329.3167956-3-a.shimko.dev@gmail.com>

On Wed, Dec 02, 2026 at 05:43:25PM +0300, Artem Shimko wrote:
> Document the optional "leds" node supported by the DAP8211R PHY.
> 
> The PHY exposes three configurable LED outputs, each of which can be
> assigned a color, a function and a default trigger.

It this needed?

>    - $ref: ethernet-phy.yaml#

contains:

  leds:
    type: object

    properties:
      '#address-cells':
        const: 1

      '#size-cells':
        const: 0

    patternProperties:
      '^led@[a-f0-9]+$':
        $ref: /schemas/leds/common.yaml#

        properties:
          reg:
            maxItems: 1
            description:
              This defines the LED index in the PHY or the MAC. It's really
              driver dependent and required for ports that define multiple
              LED for the same port.

        required:
          - reg

        unevaluatedProperties: false

    additionalProperties: false

It seems like you are just duplicating this.

   Andrew

  reply	other threads:[~2026-12-02 23:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 14:43 [PATCH net-next v8 0/3] net: phy: dap8211r: add LED control support Artem Shimko
2026-12-02 14:43 ` [PATCH net-next v8 1/3] net: phy: dap8211r: fix kernel-doc comments for extended register helpers Artem Shimko
2026-12-02 14:43 ` [PATCH net-next v8 2/3] dt-bindings: net: dptel,dap8211r: add LED nodes Artem Shimko
2026-12-02 23:44   ` Andrew Lunn [this message]
2026-12-03  7:30     ` Artem Shimko
2026-12-02 14:43 ` [PATCH net-next v8 3/3] net: phy: dap8211r: add PHY LED control support Artem Shimko

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=6bead654-3177-4326-909b-c7b52fa4a4ee@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=a.shimko.dev@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=hkallweit1@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=maxime.chevallier@bootlin.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=pavel@ucw.cz \
    --cc=robh@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

all inboxes | Powered by JetHome®