Article View: linux.kernel.netdev
Article #20157Re: [PATCH v2 1/2] net: phy: motorcomm: add led_brightness_set for YT8521
From: Andrew Lunn
Date: Sat, 21 Nov 2026 16:57
Date: Sat, 21 Nov 2026 16:57
27 lines
8845 bytes
8845 bytes
On Fri, Nov 20, 2026 at 06:00:00PM +0800, Chukun Pan wrote:
> Add support for manual brightness setting on YT8521/YT8531 PHY.
> Testing with on/off and heartbeat on the Radxa E20C (YT8531).
Did you test enabling a mode which uses the hardware to blink?
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.
If 0 is forced, maybe add
#define YT8521_LED_FORCED 0
next to YT8521_LED_10_ON_EN ?
Please also take a read of:
https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
You need to set the subject line.
Andrew
---
pw-bot: cr
Technical Details
Message-ID:
<b8c387c7-f201-40d3-8f1b-3f8113ef6622@lunn.ch>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368367-linux-kernel-netdev=dewy.ruReferences:
<20261120100001.1568757-1-amadeus@jmu.edu.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368367-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v2 1/2] net: phy: motorcomm: add led_brightness_set for YT8521 Date: Sat, 21 Nov 2026 17:57:09 +0100 Organization: Usenet Network Message-ID: <b8c387c7-f201-40d3-8f1b-3f8113ef6622@lunn.ch> References: <20261120100001.1568757-1-amadeus@jmu.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="3448884"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:OcQSsUXpDDd8rwbmrS4pUE5lAAY= sha256:zXGhdZGMJQizCRABhVDu29gIc1OgrTMjvxwoq+/jINg= sha1:2CHUjZ7K4nFDCKre2DZjOF6b2rk= sha256:zahWsEzTg0B5nS9kLudvgnDuQF7UQ8Hulv5fOq25qrg= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 2082C115B91; Sat, 21 Nov 2026 19:57:59 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.151 X-Spam-Status: No, score=-3.151 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nQWfgCdqgwV1; Sat, 21 Nov 2026 19:57:54 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-368367-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 7E56311584C; Sat, 21 Nov 2026 19:57:43 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 07B1E60ADBA; Sat, 21 Nov 2026 16:57:43 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795280260; b=WPUJFLaTwlsMg89+gxb5HVrb31s9BlEWujrrIw1FmtcgBgcnUFl4i2u+Xg81jOblvHPQ cG1fsJUyQmEMSqgQaYNNKN+16uJBIWm1uhkww3tv1GEVYtI6bYok2VsLJnMWs3K+twn3q HL6BMkDDcoVJlXxa/nu7CrY/PAHiVr8jZzumS50c2dAog07+Q3LwOnAuvuikx4haOa1F1 Dy3353cMezgeM4TTMIUhkcKBI/6XWlT8nCPePU66UUEUqXV03wntfnu4VCh7TzmAt3KCD Bsujv8dx0o/khm7+aEw6MYkb6VILxiaBcAakHfAVoLrSqa9VSeJFi1FgWFM5LZChz3g== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795280260; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=LXFMN0A5KMMIgyP36bowFYDX2PYKXarZkUD9AtYfP2M=; b=cb+ijQukhr7nOFkifX0xKwa0ssrNgUJmWc+YImxjTdb57T6GAU/mljTBkFRNgWdhvq5t CA/LYSXE5cop0nF6R4QXkgKwaO5G2PO6Hs9jLcxlBkvpRQdpU9agbleg11sKBJnbotIUg 2iiYQjAUzVYo+KJzdbo5DmzcAE7vNmxyTGlfCDlhVPvgYqGAbiJm1rP3I3IiVSyHN2YYw 0EA4jcLvIWX4im62IAlsjxshoNVzDdRcOv4tID0XWbcok5vT8MDhMU32Qx10oDwr3PIpE fLwq9Ur0Ph3cNNZZWTC4qWQjXsL4G6Mlku1MhX+xBBqnGjGfP2hWSeUlJvkA+VGRgRw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=loyOvsNb; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC349606A68B; Sat, 21 Nov 2026 16:57:39 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=loyOvsNb X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795280254; b=ZRw16JSRzfAErCMjuI2+DFAXD8AFvQMJFgjrPL3Ym9/bG3Pe5mkZ3UsWG9xnqyju4jzt BIDgu41QrDkJckguHNx3lkNARELYf5jH/cL6kLjdKM9WX02mwe83gJEvV7YMTgkkbd1GU brnLXKA1tIPlVwfxRWzg+B2JmARc7eWKt3akYkmLiaawt3QyBBTWY5AzWdG4S/JQ5B6X0 pQxhPiHVAfgkz+2XR8onmvx3Y5pEMJYPw+sSQPirubPYICYuS1SzB07bH7JD+t0yTIVJi 3f9Pi6ZDW0oVPaCABn9eE92jkNUfQ8TflJlaLcP5eFKj0Oz8gAgZFOv2SFRbOhJcYtA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795280254; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=LXFMN0A5KMMIgyP36bowFYDX2PYKXarZkUD9AtYfP2M=; b=c01UNtiU0/Lxej/yuOZY9iy3K0SDY0NyJd2/OMt86bsX05KthYeuyexczfrEYZG2SItV /iLWyFKdWpShM6UMpYvTUP2G6zsKNSbzQwXWAVCxFGUPcXZI/iDFrPkFPj4SugdnjhWiA 0VPED3RB9nhqcGggEl3eaXXPx32mYBRr7fTV/u9Xc9YNCviFUPKyScwxfGCKfIuvFoTAZ Xaj+jWrEmPkPP5RNpUPd7CPALIkXWcl2dSCNGyCIMH/zPyJfBwymQu4k8t2nG1yn33rUq vj8cMlQ+uVo3dhyuLmEGknx6aT5sB7BSfHhTmbEZTalOYmSw6CKx7jaTImb3aU/A9OA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=loyOvsNb; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 929A9606A332; Sat, 21 Nov 2026 16:57:33 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 929A9606A332 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=LXFMN0A5KMMIgyP36bowFYDX2PYKXarZkUD9AtYfP2M=; b=loyOvsNbmPLRn5ehx6/BlR08Rk it9MPCgP6qPenwuGlFHo+VyTW52vmw+7L1O40gySi/qpqo0HqX+luPTwv4fD6wPj4eLZyzdcg333c z1IG4AFsSjEqSuok2XLpeh1C+/b1Zyquj0SwHPKlVxuDkdlwbW7EkdJ3TJ/0rtg8PHG4=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xUoOj-000T6z-2I; Sat, 21 Nov 2026 17:57:09 +0100 X-Cc: Frank <Frank.Sae@motor-comm.com>, Paolo Abeni <pabeni@redhat.com>, Jakub Kicinski <kuba@kernel.org>, Eric Dumazet <edumazet@kernel.org>, "David S . Miller" <davem@davemloft.net>, Heiner Kallweit <hkallweit1@gmail.com>, linux-kernel@vger.kernel.org, netdev@vger.kernel.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261120100001.1568757-1-amadeus@jmu.edu.cn>