Article View: linux.kernel.netdev
Article #13721Re: [PATCH v7 00/13] leds: Add support for hardware-initiated hardware control trigger transition
From: Lee Jones
Date: Tue, 10 Nov 2026 09:01
Date: Tue, 10 Nov 2026 09:01
63 lines
11110 bytes
11110 bytes
On Mon, 09 Nov 2026, Ilpo Järvinen wrote:
> On Mon, 21 Sep 2026 03:40:14 +0800, Rong Zhang wrote:
>
> > Some laptops can tune their keyboard backlight according to ambient
> > light sensors (auto mode). This capability is essentially a hardware
> > control trigger. Meanwhile, such laptops also offer a shrotcut for
> > cycling through brightness levels and auto mode. For example, on
> > ThinkBook, pressing Fn+Space ("shortcut") cycles keyboard backlight
> > levels in the following sequence:
> >
> > [...]
>
> Thank you for your contribution, it has been applied to my local
> review-ilpo-next branch. Note it will show up in the public
> platform-drivers-x86/review-ilpo-next branch only once I've pushed my
> local branch there, which might take a while.
>
> FYI [if applicable to your patch], as per Linus' policy change, also
> fixes are mostly routed through for-next unless the fix is for a
> commit introduced in the most recent cycle or is clearly a regression
> fix.
>
> The list of commits applied:
> [01/13] leds: class: Always protect brightness_show() with led_access
> (no commit info)
> [02/13] leds: trigger: Move led_trigger_is_hw_controlled() to the right place
> (no commit info)
> [03/13] leds: class: Remove hardware control trigger when writing brightness
> (no commit info)
> [04/13] leds: trigger: Move led_trigger_group to the right place
> (no commit info)
> [05/13] leds: trigger: Add hw_offloaded() callback and provide trigger_may_offload_to_hw attribute
> (no commit info)
> [06/13] leds: cros_ec: Implement hw_offloaded() trigger callback
> (no commit info)
> [07/13] leds: turris-omnia: Implement hw_offloaded() trigger callback and declare hw_control_trigger
> (no commit info)
> [08/13] leds: trigger: netdev: Implement hw_offloaded() callback
> (no commit info)
> [09/13] leds: trigger: Enforce strict checks in led_trigger_is_hw_controlled()
> (no commit info)
> [10/13] leds: trigger: Add led_trigger_notify_hw_control_changed() interface
> (no commit info)
This is super confusing!
Where does this list come from?
> [11/13] platform/x86: ideapad-laptop: Serialize keyboard backlight tracking
> commit: d288a6f989b7b9e6a730140c601987b886af327e
> [12/13] platform/x86: ideapad-laptop: Decouple hardware & classdev brightness for keyboard backlight
> commit: 7d6c073d181d7855561831cb4bba17dc9b7d4aa9
> [13/13] platform/x86: ideapad-laptop: Fully support auto keyboard backlight
> commit: 5d805ca01382d63d54c9984e7f19922c4ae6f3dc
>
> --
> i.
>
--
Lee Jones
Technical Details
Message-ID:
<20261110090105.GA6323@joneslee-macbookpro.roam.internal>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359970-linux-kernel-netdev=dewy.ruReferences:
<20260921-leds-trigger-hw-changed-v7-0-fe3cdb6dec51@rong.moe> <179425319974.10927.7190572777719580956.b4-ty@b4>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359970-linux-kernel-netdev=dewy.ru From: lee@kernel.org (Lee Jones) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v7 00/13] leds: Add support for hardware-initiated hardware control trigger transition Date: Tue, 10 Nov 2026 09:01:05 +0000 Organization: Usenet Network Message-ID: <20261110090105.GA6323@joneslee-macbookpro.roam.internal> References: <20260921-leds-trigger-hw-changed-v7-0-fe3cdb6dec51@rong.moe> <179425319974.10927.7190572777719580956.b4-ty@b4> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="563095"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:I1rZ1oVsP0C8Mecuaayq/Cob2yQ= sha256:v+CKD6aB4rCzR6e7an3KkBXxdZrPfVFjF1Ei6GftF2Y= sha1:RYqdvrpPAYNwnj3Gcy5LJr4wvlE= sha256:KRssy4QCR/yv0Lsh2wdS6DDYEMHEOW2dgJaVUCvtIsA= 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 B0F8D113AA3; Tue, 10 Nov 2026 12:01:41 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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 (2048-bit key) header.d=kernel.org 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 otUDoZiZEWw9; Tue, 10 Nov 2026 12:01:38 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-359970-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 4D339113A9C; Tue, 10 Nov 2026 12:01:25 +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 A568533138; Tue, 10 Nov 2026 09:01:14 +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=1794301274; b=lAYMIUQW4/mUgvUJ2NTZvnCUuX1CD2qOeKMFmvsmhuwX/aq3PZX2VcRwX6LT8Z0hqZD0 ImTHqJ9ZXOzFWLZArKi6nkBG6d1swOebYHAdbAvMcGJNljDuVHzbja6XCIO7YApb5CSph 9cYr9TZ9VPlNw+W/YJuPQmE7V+XPIP/VDHUVVRRcSVy5HRSNWrzziRC1lyauPTziBXWl0 lxdVD9ZXsfE+HLz4+XZr+ptdroxhteq8zPtoIWZ+r+dXeA9h71j1rjEH990MKkUAJWfK6 Z03AR8TGeOjuPiWzcMSBHWieJmtVZo3uUSVxQ2P1YX9ZJ9nwZlxnkHhiVz3N6OL5xIg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794301274; h=X-Original-To:Received:Received:DKIM-Signature: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: Content-Transfer-Encoding:In-Reply-To; bh=uuAWQXqnz1U0BUVQyMKxygbDOS8iqng/23yeDqKQ//8=; b=ZpWwInBoVHBQeJ1i2outlE7DjMZA5fmCfH4v6EJq0P7NB34rgHWqLWS1KipsX1R5TZqt vtgWZ5opMgpQxooFaN57sbgGR39a6gT5RIt7rmk2cS58bo55pAHoKjgjQhPL3IaHW9I40 ZkD32bVRhiX2LT39jmijUAje4t3WuXaSTlyAh+MITDun9IpCPHAUwYNIqiOgYDJU+qbAr opTbylr86+ZBrn/uQ5U7SqKR1J6i2T4K8SBcEtZL9AIe5a3ERv+sVhuY003EzKhVMmz6H dLf8I4ocAbTFZwgqv6GX3nc4BmqYxQRvnEtFQaiZ/3xP5Ypv0ac/J3B4YC8Q8zAG8uA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Sm2ffuk+; 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 F25F0606A337; Tue, 10 Nov 2026 09:01:13 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Sm2ffuk+ X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794301273; b=oKrRsq/DXOxae8dXCVlx/f2y/iNv3nyNMhDn7kZ6lmbOXOWk9t0FEw7q5hlGpL/CaeKZ hSAlCM3aavYAwR2JmA6vzaJTU4O4++5gant5fOl7n/oJr9fJ/V9kuB8mnA+jF8kjga3tl LNMWgzhS/J1FborkAP4AS8y45BEH0XcDJ6tDyrlJiTHsoc/V50T6Dlj9zLxepGuOh7jLP QshLDfY9CyII4DiHIkuHJDPetmNoC/pa4NKMb+YbMLr7BhxDPwfgKa2WspfedDihS9pDX V2NdQNUItuwsWr05yRFtFByTCIeJ0RQBh/RJkJDRr/JCgH81WLf1o73HuxCKtxQUSsA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794301273; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=uuAWQXqnz1U0BUVQyMKxygbDOS8iqng/23yeDqKQ//8=; b=dfhzH6/5uDh00LU9Zmv8hznLbCTrbERuqnwqE1xhXxK67w//3qd6GcCuw51wQp0kUnzZ JmqisIaKLeuhAFbY4ZkWx6lvYYvlkzrpKn1GJmJ8V4Q5uzOOoAtrRZwebmuXVx3jwDd70 hCD7yB7m5HtXrh7RiUkfcUAtdPM9fnjiEHZ5tsHQgtyIQkHzqYWZVPm8pLsWDX4LaKVVK Jtxu5ae6Yq6SQL+1w74zeNBETPBjRDzyzA54azHzCJfuS4+VfZXjUGTNzsfS+qe0CaLKl w4Bvy04T9pXqwK5wFibgGvGNTZlGqD6M+kcqeJIKb5dPZDs9dHzf3KWiI2d7gsz23tw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Sm2ffuk+; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5C3A606A31C; Tue, 10 Nov 2026 09:01:12 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E04E1F0089F; Tue, 10 Nov 2026 09:01:08 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794301272; bh=uuAWQXqnz1U0BUVQyMKxygbDOS8iqng/23yeDqKQ//8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Sm2ffuk+J2Zrts19t5DZts9ivVjcpcqXKjUI9nPLJhex4qiPGAs93ciN1rvY0OdWx Zl0kHbW3j8NuRqlkW4z2UhJ7dJnIKEjWY/gLPTOmEAX4k0ZiOF0BCXLB/+4tmP2e5G wKExwb+LKDjwP9/dSYfmtKILBD7fWW1xBvcM+yg30QzyA0u1acIN6pBJI5UxnysmjH V/VTG/D1jc+gSduUsmRezswdOEA77uZVSv0hspQ7w7kMYWz7dVx4sNAY3B/dFFkor4 qrF6SOe4Jtdj7MPd2vqXczJchZlAItHUi4tR+Qd/5r08kPhhtanD3+Oo9gpjXU/AIs rooNjsJqjaHpA== X-Cc: Pavel Machek <pavel@kernel.org>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <skhan@linuxfoundation.org>, Thomas Weißschuh <linux@weissschuh.net>, Benson Leung <bleung@chromium.org>, Guenter Roeck <groeck@chromium.org>, Marek Behún <kabel@kernel.org>, Mark Pearson <mpearson-lenovo@squebb.ca>, "Derek J. Clark" <derekjohn.clark@gmail.com>, Hans de Goede <hansg@kernel.org>, Ike Panhc <ikepanhc@gmail.com>, Rong Zhang <i@rong.moe>, Andrew Lunn <andrew+netdev@lunn.ch>, Jakub Kicinski <kuba@kernel.org>, Vishnu Sankar <vishnuocv@gmail.com>, Vishnu Sankar <vsankar@lenovo.com>, linux-leds@vger.kernel.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@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: <179425319974.10927.7190572777719580956.b4-ty@b4>