Article View: linux.kernel.netdev
Article #14416Re: [PATCH 1/2] net: phy: motorcomm: add led_brightness_set for YT8521
From: Chukun Pan
Date: Wed, 11 Nov 2026 06:50
Date: Wed, 11 Nov 2026 06:50
23 lines
7896 bytes
7896 bytes
Hi, > Has this been tested on real hardware? I tested yt8531 on some SBCs and will add this to the commit message. > Have you had it blinking the heartbeat? Shift-lock etc. Only supports forced LED on/off. Forced blink is disabled by default. Do I need to implement heartbeat? > I _think_ this is the wrong place to insert these. > > The sorting of registers is a bit messed up in this driver, but i > think you need to insert before: > > #define YTPHY_PAD_DRIVE_STRENGTH_REG 0xA010 Indeed, I will correct this. Thanks, Chukun
Technical Details
Message-ID:
<20261111065010.2040437-1-amadeus@jmu.edu.cn>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360896-linux-kernel-netdev=dewy.ruReferences:
<598009be-95f3-4091-b3bc-98815c65216e@lunn.ch>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360896-linux-kernel-netdev=dewy.ru From: amadeus@jmu.edu.cn (Chukun Pan) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH 1/2] net: phy: motorcomm: add led_brightness_set for YT8521 Date: Wed, 11 Nov 2026 14:50:10 +0800 Organization: Usenet Network Message-ID: <20261111065010.2040437-1-amadeus@jmu.edu.cn> References: <598009be-95f3-4091-b3bc-98815c65216e@lunn.ch> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="795155"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Xzy3/wTDDs0xlYyFtojfcS+LQbQ= sha256:SJsxVREWi78og2DS5eTK3m7SkNBeNRu7syMLa756v88= sha1:Zb2sAsEk/xLeDfhYXah95XpzQZ0= sha256:Gh77XHje68CG9IE+RFJkmI/qeoQ9Eb9O4tqFiI8i3Xk= 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 6C374113E46; Wed, 11 Nov 2026 09:56:36 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.951 X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=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-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 j3APx4KgqbCw; Wed, 11 Nov 2026 09:56:32 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-360896-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=jmu.edu.cn X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 9DA8F113E2B; Wed, 11 Nov 2026 09:56:27 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id D3B1F1088B0; Wed, 11 Nov 2026 06:50:45 +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=1794379825; b=cLLU9nFqH3WGdyppnZDVdZAuWWzcX5Byg5PX6ue0iTXq8mkQv5N3iRwh2L4FB2T54O8V tXyetmzuz3aH5RvueI/DsixbRIlsHyGdOR86S/eBlsVURmb2H6P6IClrlE1t/O1o+rVI0 44rrUd7F+FdXumkND6z++K2HV4uFNdFaEGQtOPHROpCFy+kVXOckP4zIrAJ4uI5595c2o VeACNRlb/Fkb1Eur/n4xMlQ9+de19DT9MkZWyaIRFZy7r/2fGyzJARdQsPCFuxwEUGN6m aICI+Unnmvrlvpd/xxcNo2cPxJtmeYYPBtf5O5njLeJdnW0fD+MwWaF/WqzukJ0MHVg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794379825; h=X-Original-To:Received:DMARC-Filter:Received:From:To:Cc:Subject:Date: Message-Id:X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Transfer-Encoding:X-HM-Tid:X-HM-MType: X-HM-Spam-Status; bh=IE/0/wHsXzW+zXG7ICg4OVEoH7lwX4Q6eNKHPFTJTL4=; b=LpYd44vm1QS44oahftQg7aYiTdlhMGhCQv+KP4Tzq4GqaC1EIsQox5syIWDVppkncazw VsMDP77s5eWDCr60gQMYmLgmnuH9JmnOC2oJYenjcJbQ+S+pIx9+ypeepk8kkJ820nIg6 uzVEqCJsJYiBMtmvpgu82hO9r7/iaOOmeFkn2Vu1OLtXIvgR+AFpJl0B2lxDL21A37yVK 1D8cshMzaEjRsnP6YbnvfQ+rI6EqXrOgUr8TGXyJOuoyl/53STGf6wOQ5RLJbIIm4Cz0y /ixYpaXeaOOBni4Fewvmj/bqwPOXN2gNCFtyGB3W6v0IqjT7MJHtiOvUNw3+z9LHRKg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=jmu.edu.cn; spf=pass smtp.mailfrom=jmu.edu.cn; 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 2508A606A985; Wed, 11 Nov 2026 06:50:25 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=45.254.49.197 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794379824; b=zWwVfo4Rli9i+h9BnYnK3MhW7b3bBFV5wkvS0Eq2TbGJrFir94B/h4Bf0esWI1Mrh663 Ej4fAeoHxzFH+fTyg1Em9DyvejpCddLFxWAeToWLJOH2sUsKsT24IQr0Il67w+rIEIVOD V6yakzHVesLB7X9nJnWbs7T/qPXfv6xavz5jHAhHeGcGG2eBymZhsGdzNNEeK3BaAM505 bFx1QfUVSJy8jr4uY7BHOGB6vwQUuKaqo+mVjhFVTK1swkkV760eYVofYQmvIz/lQ3mz8 qeg8epZe30lyAuUYmWodsWgP98cRnj0dyvDWZxUJOZ438bNv3LheW8payflXR4dDkzQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794379824; h=DMARC-Filter:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding: X-HM-Tid:X-HM-MType:X-HM-Spam-Status; bh=IE/0/wHsXzW+zXG7ICg4OVEoH7lwX4Q6eNKHPFTJTL4=; b=eIktcgkjj8A4R3BBnjoh0/VEQsU24/vZqOpGsLLocPZza8vHq1/K0Ld7Q3SNx1NnJFoD PWAsXShi5UI+ptS+/nRnVU4zJG/X947cv4yWzIhgIzZPNM55pLCNrn6LJMVFxboEj/Ae+ WUmE0Kzwojl9PW6YqCgVDDzeVAf1+b1km5ZoE6YaZ7nnXk01wTO3TDaNUYwzCRMqxO0Ge R6W0po8OFiMBW7yqg3OIX5FQwaV08imRLC9GJr7E2ybwYgS3pXQLGg0XyMEZmpBwNtXjl zONIkGXY7olg+dFv78z43vFaKUOHKAbPi/lAJVsehEPil3SwWpdaIcCOkKiIaZ9Vthw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=jmu.edu.cn; spf=pass smtp.mailfrom=jmu.edu.cn; arc=none smtp.remote-ip=45.254.49.197 X-Received: from mail-m49197.qiye.163.com (mail-m49197.qiye.163.com [45.254.49.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A581606A321; Wed, 11 Nov 2026 06:50:20 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5A581606A321 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=jmu.edu.cn X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=jmu.edu.cn X-Received: from Vostro-3710.. (unknown [14.220.232.40]) by smtp.qiye.163.com (Hmail) with ESMTP id 54450fead; Wed, 11 Nov 2026 14:50:16 +0800 (GMT+08:00) X-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 X-Mailer: git-send-email 2.34.1 X-In-Reply-To: <598009be-95f3-4091-b3bc-98815c65216e@lunn.ch> 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-HM-Tid: 0aa1c95f1ebf03a2kunm23cf89e217c0bb X-HM-MType: 10 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVlDSkNOVkIaTUMYT0JMHxhNTlYeHw 5VEwETFhoSFyQUDg9ZV1kYEgtZQVlKT1VJSUtVSUhJVU9LWVdZFhoPEhUdFFlBWU9LSFVCQklOS1 VKS0tVSkJLQlkG