Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp199277lqs; Thu, 13 Jun 2024 07:50:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVWZgDaC51zk1644DrQ52G3HYJq2JaHsu87LItCh65Smk7T3F9aJo0zqMmUWH3wn6F9bruUxP46jHqndHIE0j81JLFMmDZPzA4HHkp4Pw== X-Google-Smtp-Source: AGHT+IHc0SA6dzEyHpqErOHt+8InSU5RIJcmGEELeodp1mgSrqKvXEo5gbZiSUV1UUHxrC1Qupr/ X-Received: by 2002:a05:6358:2803:b0:19f:38a0:f507 with SMTP id e5c5f4694b2df-19f69d2a311mr619483055d.5.1718290245795; Thu, 13 Jun 2024 07:50:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718290245; cv=pass; d=google.com; s=arc-20160816; b=KVeMvEOzGk1Xv84VjD2n/Aig7nR0+tL3B5xXS3lxbCXeYgYA+qEYoIUcCmtVLjAUYD K/BBmp5yYThCrmIlmHdRn/wlRByxR7a7aqlXc1ODR8JiSEJs29IW9/JX630wylS4KmyY RR6pVkUvKqBC12Du5gomF1M+z2WAmpGbTn8Kq0+xN4l9qSomBjCYSLt98Pa3WtbM4YUU 6fKCKAUYY+C2fGMTGp6Vscs7Ff/cf5UX9YEqMjqEymJ8nlniIIVm7t3sDN7mjLS1iAxo hG6YHh2aDJs+dXifZS9RdRrEhnHdh/OMOFrbB6+NRyhFnDjB/YWh7J6Xey6QQjXmspKa 7jdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XfGyubcT42aYucuc4qQhrGazqTLJylCSUaYYSxjf0Ww=; fh=UPASBa5DCnfsSOzqUNyUfe/+8y0uFaQs06CLgnF+h5k=; b=SWurjm8H/8/16/WDdiDqLjtEBD9J6FB0+xhRSlKf1AQXe+fdTU3dswQAVloUU2Bg5f Z1nTz1MW6vPgR8c7NxQsbs9kHqW7EMHvi3grTIM0dg0tyoYpNxd/9qVt0nnOdo6CrDXt QD2KPP2bPbVvawHjhj3JV+OGWND90WOW/w/uz0PVvxDd8FhannKef7WjufD5noIxiEem DvcIKXLhAWTU8bqM/KLE/NA0OxLp97ZZMTlINMFvFXZnkl87El5SiyK8LtlJ5azI3Wpq D7UFf/3W5Y6fUvzS7XGbBxq/xmriMSVhVhsQdlP9dPMnxk3SAEBFqUExDVFSujV38jlT Uvtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=N+i5Cizh; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net dmarc=pass fromdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-213466-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=weissschuh.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee310cff8si1399846a12.420.2024.06.13.07.50.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 07:50:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213466-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=N+i5Cizh; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net dmarc=pass fromdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-213466-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=weissschuh.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6648F28460F for ; Thu, 13 Jun 2024 14:49:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D1CC1482FC; Thu, 13 Jun 2024 14:48:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="N+i5Cizh" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C51971474AE; Thu, 13 Jun 2024 14:48:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718290133; cv=none; b=NMfYX0pCG6RFZMjl3xbp5eoCDOKxann2oSJRgGar5pY6Dw2yPRAgsmIzHL/2hItVRKZRs8cV1rKinDh6MxEOn9y+fi4kIpDGOdw8LiraKH5BFydJselPOtRm4YsA0H8KY50Xiq2r+fBiYzYfYAyon5NKGICn676tOwIMhBfZKw0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718290133; c=relaxed/simple; bh=MA4hVdM8atN+j9fTv+dOnzF4lW0zwLF6ZQX3fFVdEoY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EEZoO2vgRPo0ac5m87WtsSXRnZvkt6Jm6iLTcSru8LXyXjlpGt4tD+KgWkR3xJkwOvJ70uZdquzKdg99zMuo84yU35DkCSb25j1jCXsd1eOSisYk9KeGk28+zuxxnSLqR+srCbLkhhbkHZf5jhwQ6/I+QOcp9wNexfCopbwQx5c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=N+i5Cizh; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1718290122; bh=MA4hVdM8atN+j9fTv+dOnzF4lW0zwLF6ZQX3fFVdEoY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N+i5CizhFa78NONukRepZGRBPa6iITSIJLCaE6M3M9auIqYe4ceXgiNuaoGCYd7lA vSoXizT3mJiSqwvdeHv3tIZWeyaBo6I89ycdTLdGNAqZ30jEZiHyBk1kOYQYPmzWNp 8kj/dJY9kj+beGlmxYvIytCy3ogUjK2c9KvRR+pc= Date: Thu, 13 Jun 2024 16:48:41 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Lee Jones Cc: Dustin Howett , Pavel Machek , Benson Leung , Guenter Roeck , Tzung-Bi Shih , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, Mario Limonciello Subject: Re: [PATCH v2 0/5] ChromeOS Embedded Controller LED driver Message-ID: References: <20240531-cros_ec-led-v2-0-6cc34408b40d@weissschuh.net> <264dd508-93c5-48d6-ac69-27458acd29c5@t-8ch.de> <20240613144137.GG2561462@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240613144137.GG2561462@google.com> On 2024-06-13 15:41:37+0000, Lee Jones wrote: > On Mon, 03 Jun 2024, Thomas Weißschuh wrote: > > > On 2024-06-02 18:30:06+0000, Dustin Howett wrote: > > > On Fri, May 31, 2024 at 11:33 AM Thomas Weißschuh wrote: > > > > > > > > Add a LED driver that supports the LED devices exposed by the > > > > ChromeOS Embedded Controller. > > > > > > I've tested this out on the Framework Laptop 13, 11th gen intel core > > > and AMD Ryzen 7040 editions. > > > > > > It works fairly well! I found a couple minor issues in day-to-day use: > > > > Thanks! > > > > > - Restoring the trigger to chromeos-auto does not always put the EC > > > back in control, e.g. the side lights no longer return to reporting > > > charge status. > > > I believe this happens when you move from any trigger except "none" > > > to chromeos-auto, without first setting "none". > > > > Thanks for the report, I'll investigate that. > > So am I reviewing this set or waiting for the next version? This specific bug is fixed by [0], which should be in your inbox. I just sent v3 of the series, with only two tiny changes. One more cosmetic and one for the coming revert to avoid the LED hardware trigger deadlock. Thanks for the review! [0] https://lore.kernel.org/lkml/20240603-led-trigger-flush-v1-1-c904c6e2fb34@weissschuh.net/