Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp43398lqh; Mon, 6 May 2024 10:38:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXCg2MAS/yC+kFjkMbDK1E1Hecb15bUar91qyixY026NaqlWVLEHZrTeYJbki5XuayaJieEI0exPRTqvYnZEg2TtZmZOLfrU7hjG08rdw== X-Google-Smtp-Source: AGHT+IFU8XxAED2nkKdBizJrlIAnMkelvIg4no1JnwneutzTdZChupbKTaSb5Bx8KO0dRZF8UW7G X-Received: by 2002:a05:622a:1994:b0:43a:c1cd:2f54 with SMTP id u20-20020a05622a199400b0043ac1cd2f54mr13892091qtc.56.1715017109275; Mon, 06 May 2024 10:38:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715017109; cv=pass; d=google.com; s=arc-20160816; b=wfbgB1SFkTv2sn7k1I67/bUrra8UmEM3PhhH6tS7kXf7lkHrq/l8nSjW2Ozh5IiRIE gyzJfi6I5JhBJrqxGs8r1eATKNjSdILoTExYn7gYOZt/wzSmVXm+v1f2lFcd1oXQZ2zy pDVjkEeTqNIH+dhF/nzqFlO1gT49P1J+LuYX6zL8PFsnCtPk8Rf9gJvWM3OHCvlcoTBP h9ZZVyKcQb5s7ewwRoUzsAhxogirlISu4ClNIy5g53qGFVU4FeQuqCFDCFfHe/TjjSvs bk5wUWWrGAhJZMyF6IvtR2RsloR+FyDtIou15k/bUXP5ILvXSmNTLyY1pXaPhUxdB/X/ cXcw== 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=BefEgzG+cG2827WwG1jFme9dFJyb3Z9w0V4JJ9CpHRw=; fh=S4TfY2Lp8DrSyG1gfjIZc5+7mwHZyfEpYYgPdiIn4Ng=; b=AveCdxQdL2n7YABGE3Jb+7xwFsVAUfCc1q8Iau4txp7qyodTpkv3TkBtIoOgzV18zF a68qw2kNTiE1++Am7zSxt9+57fqAEhrc5T68OA+fxr20I5NA5sgUvt5I5XRpx7sSyQFY yLEy05Z0Ug/Rft4IaWeGkFqaZRRJGx6t6knbCubdIcVGXYzQV1//Sy63wViUNrUlcigp 5ywu43W+Fy+LukrXeietnbq2FbuDBwFLBdrPase7g5snj7uzAJlTk93OdnpPiZvETeZ5 8f5TNUnj2JRi8uYjGc6fuE5evn7PzywMBj+qUsdKsoAoPggfplQ824sR2x2AqxKS8PWQ qjbw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="U/lKhD5X"; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-170237-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170237-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y17-20020a05622a005100b0043b0b7a846dsi10287752qtw.645.2024.05.06.10.38.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 10:38:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170237-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="U/lKhD5X"; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-170237-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170237-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 628DE1C21713 for ; Mon, 6 May 2024 17:38:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08254157499; Mon, 6 May 2024 17:38:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="U/lKhD5X" 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 6FFAC142909 for ; Mon, 6 May 2024 17:38:18 +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=1715017101; cv=none; b=sx8MbyF4FYwooHntsfNGUkYt1UWtjOIlYai+o/bMRKXFaTSPCMN4jMHLn680UoSEjuddCavMWPbK3yxTuewmV+WuiODDMvXjHiMbwO64CjaoZQaDHwTE2mY4g3fRoZVjY7acaSQ1lwtOVTWJHzvZu+KtUsKk8fMoS1G4JDGB7lA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715017101; c=relaxed/simple; bh=4XFC9LixjSuuTuMODWQ2jae7SIkFY3aM9gnz3hQ/Sfk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OdTpDHV+dzg3MQWkiGQJqvL57wh78XKR6DoDR8MpMASLx0MDBtqZ/ArAnVRFYiRNiNaZjyrdmo06mkSKq6Wd1aan552SuPm9rf/62Oi/ZrJk2nLNzp231l7UWt5MZubyq7PorwoPVVlxL3DKUesILmOsb+Lprlo8LnEuWxMuYNg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none 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=U/lKhD5X; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none 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=1715017089; bh=4XFC9LixjSuuTuMODWQ2jae7SIkFY3aM9gnz3hQ/Sfk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U/lKhD5XrgXw8BC4RZYX+Zbzpkz+aHyxToifuGZ+c4dFH60sdVZkO4x4ksCCEE/ni s2OCOD3gW/B5gjKkO7RSWBTtvW3EKtgrbYhBidaHLZ6NHeZ1TEkv5GYVOy8ltPxJpJ jIcuOpPYmsahVEHWALirlCZFqftaDaDAEgqu4QVg= Date: Mon, 6 May 2024 19:38:09 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Mario Limonciello Cc: Lee Jones , Benson Leung , Guenter Roeck , Tzung-Bi Shih , chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, Dustin Howett Subject: Re: [PATCH] platform/chrome: cros_kbd_led_backlight: enable probing through EC_FEATURE_PWM_KEYB Message-ID: References: <20240505-cros_ec-kbd-led-framework-v1-1-bfcca69013d2@weissschuh.net> 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: On 2024-05-05 08:42:21+0000, Mario Limonciello wrote: > On 5/5/2024 04:41, Thomas Weißschuh wrote: > > The ChromeOS EC used in Framework laptops supports the standard cros > > keyboard backlight protocol. > > However the firmware on these laptops don't implement the ACPI ID > > GOOG0002 that is recognized by cros_kbd_led_backlight and they also > > don't use device tree. > > Something I'd wonder is if the GOOG0002 ACPI ID can go away entirely with > this type of change. Presumably the Chromebooks with ChromeOS EC /also/ > advertise EC_FEATURE_PWM_KEYB. Sounds good to me in general. It would make the code cleaner. But I have no idea how CrOS kernels are set up in general. If they are not using CONFIG_MFD_CROS_EC_DEV for some reason that wouldn't work. If the CrOS folks agree with that aproach I'll be happy to implement it. > Thomas