Article View: linux.kernel.netdev
Article #21560Re: [PATCH v2 1/2] net: phy: motorcomm: add led_brightness_set for YT8521
From: Chukun Pan
Date: Tue, 24 Nov 2026 06:50
Date: Tue, 24 Nov 2026 06:50
21 lines
7989 bytes
7989 bytes
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
Technical Details
Message-ID:
<20261124065020.2235540-1-amadeus@jmu.edu.cn>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-370055-linux-kernel-netdev=dewy.ruReferences:
<b8c387c7-f201-40d3-8f1b-3f8113ef6622@lunn.ch>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-370055-linux-kernel-netdev=dewy.ru From: amadeus@jmu.edu.cn (Chukun Pan) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v2 1/2] net: phy: motorcomm: add led_brightness_set for YT8521 Date: Tue, 24 Nov 2026 14:50:20 +0800 Organization: Usenet Network Message-ID: <20261124065020.2235540-1-amadeus@jmu.edu.cn> References: <b8c387c7-f201-40d3-8f1b-3f8113ef6622@lunn.ch> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="4073260"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:WxdAc9HLF08Ccs5WbuanWozyskM= sha256:0j88tdma5PKfvNdeHKObrDZ6KtHiXzOzXNTytMrfbpE= sha1:AOXwWscssMpKJ3UNna9IN7R0O9Q= sha256:WmimR3y5+/zpBPm7GFm8iPNZ05NZz8ufAlJl/077CzI= 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 4E501125DD4; Tue, 24 Nov 2026 09:51:15 +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 fNajDHgJKGeg; Tue, 24 Nov 2026 09:51:11 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-370055-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 F260D125DCC; Tue, 24 Nov 2026 09:51:06 +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 6E01931A93; Tue, 24 Nov 2026 06:50:42 +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=1795503040; b=GDyyBsMBvijjuvN8Q3PG6+UDOi6FoJz5mRbpGgg/cJzKuv234mPFhXv7ZE6LXlJ1iFtN DeuYouR0gVifwHaklOHdjKDGfsUEpTZ6zYIZCTr0IKdxWLQFvv9SR7GHZcg1WIHUd9oTM ZXxLHoBvRhd5fmd+MrEaZw7dbkkEQIkhY7HJXUqgrwmn7We2bld8K1XznZMRPSGmbrvGa EDdLbbZzd2LdCm3K1SWYCQw3hTU7LItaGcX/4NNE0yjSgYZ1GZjxU362sokHSNrxwO9ra gyD9JhyGPbumUVkU7Df2QB35fneKK3KYob61wQdvIrJB2n+O/zqLQbFVTTy5LADaK9Q== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795503040; 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=GIvRsEhrFPMppFy4C588lx5uDuX9Ly+cJp5pXzfJrig=; b=pHOCBbKEuL7cgzywTWf8EuidzUjCVLrO+IgQzn133WsdhZp3M11DDThBPX7/vERzXqxd 4Y6FRZ/9SEvhtYI5ky6nhu2oblOqv3TW9jK5qDNDGCwH+O1craRj7oE2QTvvb80YoKfCW k3VnqjdwjGm6mMCiHd4XM3uTHu/3/Yuvr4HKaFGWAaF9UlTiAo8Q5SOMQeBZwD23hLm4Y fEQmuCWKbquBdHkMCc2yUXoc4R2AcwZOA27ueeAdD9U0FQLru50RvJMDlkmVaiLimBU3P mpbGbbvQR/VYy0KjSfkIRAtXe/0g6X1XNyavTTkgP3f+rNRF/o29jFOfbrkEqivzM+Q== 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 20539606A33F; Tue, 24 Nov 2026 06:50:40 +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=1795503039; b=n2Fk8SBpIsp3+Ed+LWcU7lHJIevoiCmeZzWlzMVOlvdUWjbXH3wHSihqF4oXolGdfWDE pCSlPdVrQhiYLlOxcjXRVEeBjnyWmhoqmgNS60s1xGHYREOIcfAlSCPA+3vFNzDQlKj8p oSk/5LE3yK+YA7lTN2Onpt8813EYYyUH8P9cpE9my7aVJS0xiArHQlEKX8DByB6UBaKgT A9JRe6cYNEfFkB1icppP4egyIJlkQ1gPDk7lAhywUYsfCnjcxK1EhXQdJsHehwMgWCUr2 6VE592V3chKZeOlT7h750u1mW0ELF6vWcw4azHwDdLmKkOv+IO91hznLdSAz1D82pqg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795503039; 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=GIvRsEhrFPMppFy4C588lx5uDuX9Ly+cJp5pXzfJrig=; b=pmyUgkMGBzRNVKBndXvNHrr+eiqwQlb5pECuAmGa9QKFIpaktblPBliw4TIs5oM1IChz CcYH/C3rOxB/ohrI5mI7OTW3Ih1RdFnZYmXB5R5bw9CeZEEExbiZ8Q8HslrzAP3P7oyTc HFHyPKkFGcKKzyKIr18gsi5Plhf/7mpxNOnY0kri1gSsGFKkpgiqfuY51ECNq1XepHO/e rC0zdKUaAWoOwV8htH/Oy9rBKIDyQ2Za6ko3MLWV+4frApZXliky+fsyVw4eURLAOc1/O PErARNZlQY3DWylvTdveN4gXgsrm4Ib6hcO6rix6/hfC1QLLKiutPf2Gz60Gn0aXa0g== 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 A7DA6606A337; Tue, 24 Nov 2026 06:50:35 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A7DA6606A337 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.lan (unknown [IPV6:240e:3bc:2e87:930:2345:9761:971e:1363]) by smtp.qiye.163.com (Hmail) with ESMTP id 55c724d85; Tue, 24 Nov 2026 14:50:26 +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: <b8c387c7-f201-40d3-8f1b-3f8113ef6622@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: 0aa20c51f1b403a2kunm8db666f02ca51c X-HM-MType: 10 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVlCTB5OVkpPSU4ZSUtPTU0eHlYeHw 5VEwETFhoSFyQUDg9ZV1kYEgtZQVlJT0seQUgZGEFJHkNMQUJIS0FJSE9OQUJMTUpBQkxKHkFKSE 1IWVdZFhoPEhUdFFlBWU9LSFVCQklOS1VKS0tVSkJLQlkG