Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp657705lqj; Sun, 2 Jun 2024 16:30:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVpLUeUWkPmRUIQ1iG5Rj2qbw+scEJaZu5A+Y43Jz+6csmn0SyeBFJGAAC1S5/Pavutd0kbA51GnXifnal4+R47I1dKzVFr/wdBkIqb+Q== X-Google-Smtp-Source: AGHT+IGkVlcIK9n0N3MK0kkfJfjGCA3c0mVB9fZcyv04qM4FkkOwO5MPDQOolbNmtIIltp3xKb54 X-Received: by 2002:a17:90b:d98:b0:2c2:4135:f4e with SMTP id 98e67ed59e1d1-2c241351005mr234051a91.7.1717371026367; Sun, 02 Jun 2024 16:30:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717371026; cv=pass; d=google.com; s=arc-20160816; b=c2DrTCXOQxIv1o79LjzweFced54AR5bttHnYrVl2idkjBfGEsOPike2FfKFuKZiCiG ZE8o/9t3d3OscviP9bqjuvM1K8SkpbJqJI74t1WfUO1LeOXAlgkSqeyGrCiONojl8Ayc wqAPQwyBck4Lwq+5QQVIUqchm1rTLJRdVd0pWMtfi4tW5bhc5XC//43O87hTzmLw85am MH2GpbsE6u0kC0uMswyVa9dHZq1gRxoNcf3h1+nQ1WgnA09TsgXfb/cBblmfwaizErC5 wVtgAJZ6k4vyXtmEy6Au8rxeqjCDHgM6Ne6dlv6XX9EIFlbRwt9fB6dlHdw4tT43ugKP aVjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=mA62qSvfUgabP8dHNNLvavVQ1hj8KoRhl88lff9+uKA=; fh=/Gy8fAd1nijiK+yB7mseCUdOc7HwsneqWOTSqHOb+bY=; b=m9fi8hi55z5dj9O9J0db+ka+djHfKRSMpPelpaVgz27TqT76bGU6mIIrmu8dXWKvwk 56THNUgm3bEf8cMgbpsDP8pit1P5aY6ZjYgwBLPHx/1JwgTpWeQ/aOmjRmSbihdLtLiV mTcmXNgmC3vq8RGwTSUbndr1PK4ZBbxji0n2T331eojYddanI5dGwJO0OSPbQg0rsgd/ RlS3s0s7BvqbcJbNK+lThFdc3OAuf6zKV+sBy2fQ2b5qK3LSKvKzKqsJZ/H0Mc55Zo/+ k4wl3zR/BoK4DLVlzByhQMTpPX3oZedyJM+R5hvfD3QBeL8yusn+siW4mn5MZQw8Tqdv ESVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@howett-net.20230601.gappssmtp.com header.s=20230601 header.b=sNF2t+UK; arc=pass (i=1 dkim=pass dkdomain=howett-net.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-198483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198483-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1c27a8becsi5569904a91.22.2024.06.02.16.30.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 16:30:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@howett-net.20230601.gappssmtp.com header.s=20230601 header.b=sNF2t+UK; arc=pass (i=1 dkim=pass dkdomain=howett-net.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-198483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198483-linux.lists.archive=gmail.com@vger.kernel.org" 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 F3DB7280E73 for ; Sun, 2 Jun 2024 23:30:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 996957CF39; Sun, 2 Jun 2024 23:30:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=howett-net.20230601.gappssmtp.com header.i=@howett-net.20230601.gappssmtp.com header.b="sNF2t+UK" Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79B7F3FBAD for ; Sun, 2 Jun 2024 23:30:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717371019; cv=none; b=bfOj753dPF9f7q6WO5A55TTdlXrtcn2CKv6SZ5r7zbByCOeJoblzEEaE5/82bAcUyDo9vBtOkpp98hSALr9SVqrzYL9Dm1N1yDDeSQhA56IWQbaWK+s6SFeTU0POJIKKnA41W2LFCyHqbVcqGKDeQYXOzsJH+fJyTpkCPfl9h6M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717371019; c=relaxed/simple; bh=pMhsyKu03RmnmNJkv3yey1MD984VPwGhQB3gl4lX4tc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=PLPOs5VkUufRYKsihiBA0y0mNW1fAxqmZ1agZP84cL2JvrcC+0XE6kPR9VTDE8dcL/cZtKroq4zR6Qj/DSw+akBllmd4eYTnAwlpytKF/E4w1xKBAYp+A9/up4By5dVfXjfDggvDzBOiUYusIkC1YftWfsSDcykgoSPQwvwCFkI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=howett.net; spf=none smtp.mailfrom=howett.net; dkim=pass (2048-bit key) header.d=howett-net.20230601.gappssmtp.com header.i=@howett-net.20230601.gappssmtp.com header.b=sNF2t+UK; arc=none smtp.client-ip=209.85.219.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=howett.net Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=howett.net Received: by mail-yb1-f172.google.com with SMTP id 3f1490d57ef6-dfa8427f22dso1658203276.0 for ; Sun, 02 Jun 2024 16:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=howett-net.20230601.gappssmtp.com; s=20230601; t=1717371017; x=1717975817; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mA62qSvfUgabP8dHNNLvavVQ1hj8KoRhl88lff9+uKA=; b=sNF2t+UKeuOoaLrKZGUybsg96BQzBdLaUvP3d4w3TMdefvNj6Q1qQA0L78p2hw7/Z0 0E/JLE0laQb1qmA6URiPh/zQMjXz6ODMGqcT//Nx7Y96voC/eNsytF5GaEm2Mc3SgN0R JELByR6bWq26dFyy7QJCPr/7FIBV35xdL7iUVCdPGYfNhlmlXVD9kIooek7/ldFZ2/PR DzWsLSboSjnnA7nBHsTp7BWasT1RmlFWQn1nwWVGTy7t10YOvNI2bKjPmho7a5VQmlEF xvy+mFz+aVfC1+RITc4s9PoRuRZkxtqvFmUrShslguCaxEC7I8HvUbV0m1WBtL+XhxuW PLkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717371017; x=1717975817; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mA62qSvfUgabP8dHNNLvavVQ1hj8KoRhl88lff9+uKA=; b=w4jYYvG19uFxhIfAVz93mK+QiUgO4N4A3/PhnKPPeQcGcLK3kGBWt7nUvTWLBAsXIc JK0LgZwbGWgntwvgwvCTECRO9jeFVQZ/R0va2UT/6PXeHlbc9MjfUE9PIW26bRbkyH62 A72E8HKFY1lLhe8w+Si2b4JLR2UznrEFtavcffMNrEm0iCEEOayATHTcPkdFy7/ozewA HxmDELYoPyVr/1Jz97F3g/NZY2tHmt0dHjX06c7By9XvBoivvqVQKLq6OUOr+TlwOwgO claT1rMEDYiTYLRNmbK6pXQYPmpZmw3AWELuVqvToRvP55ruGNxwWY21QQrEAWd01Cqg 0hoQ== X-Forwarded-Encrypted: i=1; AJvYcCWMJLgmVziUdW1/AXoKbtFlRN//IXY0n1ANQUjqUzdSarflqXQC/QUzMoisqh7H/FDBHhcQPEis/Ov5m4qBrMG2715v8PTnYv9Ml7EI X-Gm-Message-State: AOJu0Yzmw42+tY4qKT3Ozu6e11z37YqbKGTCRNoi2ftEDZqyDtH9VHvf zb06QX96xTwbqtfDwsYNVR6pF5LTcCoHzgaYj9gI0wCK8zQAnB453DERGL0krNBOlxmJYPg2N9I g8ncHg7j+Jp7144DGXXkG98wscZSLXlUzCtCo3WQyI2ZxV4SNW2Yi X-Received: by 2002:a25:bc08:0:b0:df7:978a:73de with SMTP id 3f1490d57ef6-dfa73c1da12mr7346043276.19.1717371017435; Sun, 02 Jun 2024 16:30:17 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240531-cros_ec-led-v2-0-6cc34408b40d@weissschuh.net> In-Reply-To: <20240531-cros_ec-led-v2-0-6cc34408b40d@weissschuh.net> From: Dustin Howett Date: Sun, 2 Jun 2024 18:30:06 -0500 Message-ID: Subject: Re: [PATCH v2 0/5] ChromeOS Embedded Controller LED driver To: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= Cc: Pavel Machek , Lee Jones , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Benson Leung , Guenter Roeck , Tzung-Bi Shih , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, Mario Limonciello Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 31, 2024 at 11:33=E2=80=AFAM Thomas Wei=C3=9Fschuh 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: - 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". - The multicolor intensities report 6x 100 by default; if you set the brightness with the intensities set as such, it becomes only red. I would have expected intensities of 100 0 0 0 0 0 if that were the case Thomas, I apologize for the duplicate message; my mail client config here defaults to "reply" rather than "reply all." Thanks, Dustin > > Best regards, > -- > Thomas Wei=C3=9Fschuh >