Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp20979lqh; Wed, 27 Mar 2024 13:28:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJxQaHqJ9fz7UMJB/Jc9gdMtL83Y/qD1PkRpp4nGZXe9ICrW9pWCxDJz7IIvByYavasxBubXwUeO9GN3sROlO5MzF5CkCkNdAhA/Q1ZA== X-Google-Smtp-Source: AGHT+IHlDd21z9tYi+Ezh6Mu4YAZ74Cyo1MXR99KGOI+cW3BYm3C6X2bQ9G06rBbht9uqmdpNelt X-Received: by 2002:a05:6a00:9387:b0:6e6:8ca5:c0d4 with SMTP id ka7-20020a056a00938700b006e68ca5c0d4mr1067755pfb.12.1711571293073; Wed, 27 Mar 2024 13:28:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711571293; cv=pass; d=google.com; s=arc-20160816; b=BqF2n1B+O+ooD/AyZ+KAEnJdeJGPK+n1aT5mnKZljUb8O/Qjbie6Yacf/mxJFE7DWV 22OKfNvqVAIqWuWcdsof/9gqHdnD5DRFZ4RnFSfpAjIn9nyggqbxDor5S3BgQlPYYOsq HaiLOS2hjnYq02X+Zq/DV+oIvzHRKto7B6iKwSzd2UirrXkt8yju1iVNOoIo1r4rscWe GkCB4HrPjD5JM4Xm4hgvCTGM05/hZV6khB/IC4ZrYiUc7mi+HhZ1D9qzrkMLAieza8iR w3kDlDOUx6x+vuzcdVTNxHVrToNWEui+4TrQT6P6nkNLQ/TmusW/PvtTp7KKcDqBvxHQ UB8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=u+rbOO6Xjs4/MSVYHbBLn8VkYr1ofXwAfF7JXAClqYE=; fh=c4Pb+5pcB65jBBLJzgE7gghYbo3SWr9DvQ6iLkUAJaU=; b=UbzYjyCNtujb6g2pl7l4deXJ2VWv5v9sFEXHI4DNimpZH7UCHxqaonIM5ucdtXPmlJ CESJtA1NrzKZul4J5RGQwTbKyfR+KeM35fl4Nkt5on7d1zCs/i9ozINSeFooBd1jiqmu 6y+Q442v3crLqFwxoYvW6422USoNcHrn42Tat+ZnO4jJg5hf+IKQWdzgesV9dKjVfLRG /QQlFWjdIovv3KoKrgJuzZYUzQc3OjPfUmTaK8eX6L4PAglJ4lIzcrvcozEhoGYDuLiC 2Nua1JZIGYwRBDakrz2GlStxgm+IHr320McXpHvs+gzBArq3WkH2ybr18T/QTmnF1PRG tWxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QKLZAxmj; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-121964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e22-20020a63f556000000b005d8b6fe2b5dsi12221443pgk.569.2024.03.27.13.28.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 13:28:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QKLZAxmj; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-121964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C2F39B281AF for ; Wed, 27 Mar 2024 20:09:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCB1013B59C; Wed, 27 Mar 2024 20:08:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QKLZAxmj" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 568FB14D6E3 for ; Wed, 27 Mar 2024 20:08:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711570125; cv=none; b=eMj/9Q9X4WihAoVarQfNlFoXoyrDfmuOG4cC/bgamJMq1m0lsm4A894apT45+ezLRhQSJSlyccWIImA2FF46Y5q5swVQYfE+zj5b1G1ZbI7LNKKDCGnJcDlus/uIApPO2VU8VDl/wyik2pdZeYOXebXAsISWSI9dWmP/ur7R3No= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711570125; c=relaxed/simple; bh=30+SMF3Q4cLn9iLwhMHMGXF2lJwt/e/uG876R4xdZDU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hiHpTx83SPLGmvJcy5Nxl54P7jQCD0ecvDX68NTvTlffuENwJfJxItbf51y+5M7eepYjT7P6xLOOlqhk09nCIg11yV9hbPt0Bhi+G3wsd6tJ8HFfptoox1V56wPid7RLv94rbuIW8rBRBS2kK+ZqpRDp+GrsQsUe5UrOq4QEaqQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=QKLZAxmj; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711570122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u+rbOO6Xjs4/MSVYHbBLn8VkYr1ofXwAfF7JXAClqYE=; b=QKLZAxmjpaQY97V6LVADqg4B6oSr4ooD0/5ksMbLY2wPzkQfVEg/LslrXDm/Ad3NHb16cI HsQbQbvJYAEpuuQNMSmZEKzxscWokWFfa35JliG/sYFu4BmZvNPcaQEGVs0L8WzhaG1P8o FgF38EpF4uJNpn4QoEAyuv4GxrPcq2k= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-474-0mMDrPNCOkG28fCL02PhsA-1; Wed, 27 Mar 2024 16:08:40 -0400 X-MC-Unique: 0mMDrPNCOkG28fCL02PhsA-1 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-a469d3547c7so21854966b.0 for ; Wed, 27 Mar 2024 13:08:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711570119; x=1712174919; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u+rbOO6Xjs4/MSVYHbBLn8VkYr1ofXwAfF7JXAClqYE=; b=NbCWVtb8MXYydEOZcTfKC7HmjeOpF1M57e5KzHa0pOa9xKzSxRWq/MggnHtUZwLZvL xbQaAh0vn/qNbEpzz/6ypnnk3jRRDEzsoIxlUM/+UxGrPBX44s4zMyrklAZ8qboik5/w D1jYmVIlC0XmMgOXpcwpBDB52z9BiNpI2oQp811QPAjOqxT3Lf2Vj5lLt1gZZ3wHr2F6 YvGDhuMK32qv2flDqGHbLWLjyyaLW/3nPsziS4/AYcqgP/KYXTSMX7VaRajsTexy7lUW 65D1uNGpPcUeb7Poc1j12I/69KXI/b8CqVcZrpZVXzpBi/LhZD+Z12HsNyJUERBL+gb3 YDWQ== X-Forwarded-Encrypted: i=1; AJvYcCXwBLOjVt0aR8WEbn3gt9PV1+DxltvMtiWkNTesiVp8GhyPdByEX/fu6jDNZZLEvWooIce4bNo1+4dkf/ruamN32iymE41Bt/cez023 X-Gm-Message-State: AOJu0Yxsbq9rSN7LzVxxmi57Xe9XigsG+jWA90wY4KeOHpvA6ZaWnBq8 iglzeIPNn1T0ufEDPoKk4zx8LgAttNA/BTybmu95VuuQblmIrQYqwV5gSAN/sOiXQ18bDNsngVP 1/Z9mCvBV2LIqat1kio4bpjHymEjA4dY/5lY1P42OpFd+IcS2hxFb6MSGaDI9Zw== X-Received: by 2002:a17:906:bcda:b0:a46:ebe6:742e with SMTP id lw26-20020a170906bcda00b00a46ebe6742emr306731ejb.23.1711570119672; Wed, 27 Mar 2024 13:08:39 -0700 (PDT) X-Received: by 2002:a17:906:bcda:b0:a46:ebe6:742e with SMTP id lw26-20020a170906bcda00b00a46ebe6742emr306716ejb.23.1711570119373; Wed, 27 Mar 2024 13:08:39 -0700 (PDT) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id hj13-20020a170906874d00b00a474ef94fddsm4790814ejb.70.2024.03.27.13.08.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Mar 2024 13:08:39 -0700 (PDT) Message-ID: Date: Wed, 27 Mar 2024 21:08:38 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/6] platform: x86-android-tablets: other: Add swnode for Xiaomi pad2 indicator LED Content-Language: en-US, nl To: Kate Hsuan , Andy Shevchenko Cc: Pavel Machek , Lee Jones , linux-leds@vger.kernel.org, platform-driver-x86@vger.kernel.org, =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , =?UTF-8?Q?Andr=C3=A9_Apitzsch?= , linux-kernel@vger.kernel.org, Sebastian Reichel , linux-pm@vger.kernel.org References: <20240322033736.9344-1-hpa@redhat.com> <20240322033736.9344-2-hpa@redhat.com> From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, On 3/27/24 7:09 AM, Kate Hsuan wrote: > Hi Hans, > > On Tue, Mar 26, 2024 at 12:32 AM Andy Shevchenko > wrote: >> >> On Mon, Mar 25, 2024 at 04:02:54PM +0100, Hans de Goede wrote: >>> On 3/22/24 4:37 AM, Kate Hsuan wrote: >>>> There is a KTD2026 LED controller to manage the indicator LED for Xiaomi >>>> pad2. The ACPI for it is not properly made so the kernel can't get >>>> a correct description of it. >>>> >>>> This work add a description for this RGB LED controller and also set a >>>> trigger to indicate the chaging event (bq27520-0-charging). When it is >>>> charging, the indicator LED will be turn on. >>>> >>>> Signed-off-by: Kate Hsuan >>> >>> Thank you for your patch, I've applied this patch to my review-hans >>> branch: >>> https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans >>> >>> I will also merge [PATCH v5 6/6] platform: x86-android-tablets: >>> others: Set the LED trigger to charging_red_full_green for Xiaomi pad2" >>> >>> Once the new power_supply trigger patch this relies on has been >>> accepted. >>> >>> Once I've run some tests on this branch the patches there will be >>> added to the platform-drivers-x86/for-next branch and eventually >>> will be included in the pdx86 pull-request to Linus for the next >>> merge-window. >> >> I believe I have commented on the "RESEND" version. Right, sorry. Since there were just a few trivial comments I've fixed them up in my review-hans branch now, thank you for the review. > Thank you for your reviewing. > Please review the RESEND patch and I'll fix them according to Andy's comments. No need to do a new version I've squashed fixed for Andy's remarks + Andy's commit msg remarks into the version in my review-hans branch. Note I'm going offline for a long weekend and I won't be replying to emails until next week Tuesday. Regards, Hans