Netdev List
 help / color / mirror / Atom feed
From: Chukun Pan <amadeus@jmu.edu.cn>
To: andrew@lunn.ch
Cc: Frank.Sae@motor-comm.com, amadeus@jmu.edu.cn,
	davem@davemloft.net, edumazet@kernel.org, hkallweit1@gmail.com,
	kuba@kernel.org, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org, pabeni@redhat.com
Subject: Re: [PATCH v2 1/2] net: phy: motorcomm: add led_brightness_set for YT8521
Date: Tue, 24 Nov 2026 14:50:20 +0800	[thread overview]
Message-ID: <20261124065020.2235540-1-amadeus@jmu.edu.cn> (raw)
In-Reply-To: <b8c387c7-f201-40d3-8f1b-3f8113ef6622@lunn.ch>

Hi,

> Did you test enabling a mode which uses the hardware to blink?

I've tested that the rx and tx in netdev trigger work correctly.

> Sometimes you need to take it out of forced mode. It could be that any
> value other than 0 in YT8521_LED0_CFG_REG does that, but there is
> nothing i can see here which suggests that.

Inside yt8521_led_hw_control_set(), I have already exited
Forced Mode using yt8521_hw_led_on_set().

Forced Mode is controlled solely by LED_GENERAL_CFG_REG and
is independent of LED0_CFG_REG.

Sorry, but did I explain that clearly?

Thanks,
Chukun

  reply	other threads:[~2026-11-24  6:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 10:00 [PATCH v2 1/2] net: phy: motorcomm: add led_brightness_set for YT8521 Chukun Pan
2026-11-20 10:00 ` [PATCH v2 2/2] net: phy: motorcomm: add missing trigger link " Chukun Pan
2026-11-24 10:39   ` netdev-bot+sashiko
2026-11-21 16:57 ` [PATCH v2 1/2] net: phy: motorcomm: add led_brightness_set " Andrew Lunn
2026-11-24  6:50   ` Chukun Pan [this message]
2026-11-24 10:39 ` netdev-bot+sashiko

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=20261124065020.2235540-1-amadeus@jmu.edu.cn \
    --to=amadeus@jmu.edu.cn \
    --cc=Frank.Sae@motor-comm.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=hkallweit1@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /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