Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp102194lqe; Tue, 26 Mar 2024 23:10:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUrO0Iyx8iOuR/pN8BBtOv56PEMmqoieq0d8rrdUPehxqKnUns/BLZdDMBjH2TkHjU5+dSUAJIBrJUDNwa/bOSUMPS0GUtu0MsDaZMagw== X-Google-Smtp-Source: AGHT+IFD0p+OOSds30+NLUqKT0p6Ak7ZV2PuWOtN2NbpJSz5K1K25zc20uAN3mq3aT/i0VoULvZx X-Received: by 2002:a05:6a00:801:b0:6ea:ad5e:5525 with SMTP id m1-20020a056a00080100b006eaad5e5525mr2161528pfk.18.1711519826606; Tue, 26 Mar 2024 23:10:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711519826; cv=pass; d=google.com; s=arc-20160816; b=RKabZIunka5SDgf6rLpde3adHIov8/dAwWzxUXXONe4OaVO9M7y/jtQkTF/NPCJsY9 BTdKMwSyCOkEDM7fiDQA/aKm5VliCzRw0LmWR6xxxpV0yaqOaI/q6bCPEPR+Q5NJzW2L 8v7OaoeKjHhJoPkxbW2XM4jM8ZEVigRHeu0Qs5gPV7gfuuAigWPtJS/LAJgFTIluvADC RLeM/fNoyzwzI3qTQKfBCB1gA2CYAPehfqvmGavjzXn5fjoSAC2VxbMZt/96yrk284E5 116yWUKsYOU5NlnXh9b8O48TWqV08ec7eFmKFiUkww+cYF6lQEsAnnjyCrzjC9VqFPf2 Zw3Q== 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=aj1aL6upPcAi/oYsdf1FW6tZ/Jif1m82oyTDDBx7OMo=; fh=K4DVUw+hMT5amZ24uD0awjMMY/dZgIGJMuYHaqDOHWI=; b=ZGBMpBMQa8PZ2HPmer1zodKNmJZ8F079Y7nQqLont7stj1Ru5VTzVUB9tpkiSfDnzc A/PDSN3ooDLA5OUeWvfLrQg4BD/sr4SN/HQR7dJ7YWzGtApb4l8KvZ0wb3HcY1xmoRG5 BMecgWmnr0tkxYQrw5V2c1+qxAkJQ5+XVm84RIS23fVv0TjsadaC4gXk6e9YYz1y/0P8 xuBz7moJch1Vv8fe5RvzoFsNxLTfcSOLguTJHav2GC0Tb+U8OIzFJp1/IuGtnFDhxSUU FjzR6aA7LoW8tFP2TLO6BIXBTbghQKFvq1eV0woW8Wh5rY5deCfqYLfv7MDe5R1SXkL3 eufQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TJZlPT0a; 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-120357-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120357-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id fm9-20020a056a002f8900b006e5f7e04915si8491228pfb.159.2024.03.26.23.10.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 23:10:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120357-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TJZlPT0a; 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-120357-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120357-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 CEF4FB228A8 for ; Wed, 27 Mar 2024 06:10:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 871D01BC40; Wed, 27 Mar 2024 06:10:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="TJZlPT0a" 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 0AE19175AA for ; Wed, 27 Mar 2024 06:10:07 +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=1711519809; cv=none; b=qJKHSvP6k8HGINkmujNQ4BSfCq9rpUDU+Wjy3Xzzzff5xXXJOndl0TGC0EyXqZI8XeP6SNWnwzhcZIbg5Pgrt2zTuVGprHU7T85sZ/AMFOSEknGfpxX3oox3dB56IUEt5QuhrKsmyrHTPAeEnkvHNffqal55VstqayJNanlCFSI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711519809; c=relaxed/simple; bh=aj1aL6upPcAi/oYsdf1FW6tZ/Jif1m82oyTDDBx7OMo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=c7UPh9We4m2W9oGcEJfWt1gTC7bBJraaJP+5v8pGySFRfvQpuFQ7FPtl5v0Nm9S1dpL4B+yzNWvHUypHERcbmClqFw2QFS/OgbDO78+UyEF2bDTtCpVZW9mjqvgirZrUBG4cFPlXT5JObCbNitfXOWG4DGvzuigJGvUrjXYq7Tc= 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=TJZlPT0a; 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=1711519807; 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=aj1aL6upPcAi/oYsdf1FW6tZ/Jif1m82oyTDDBx7OMo=; b=TJZlPT0aLNdhPs6dlgmrDhpIBpoyvJZml+51TlAGKtHbfrycrIZG/ayruJ6yX9q/kOprL7 sKx6XfYDFm/t/ALNy16qM6VCITGQFcXSV1tNiqYDrlYkjtXrMqbBJ/5zRSPjYIXaJZmxxR huyzxsY5/yv54VA5mpBnHxNf3WS6BoE= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-182-u3IYW2kDMx63NqOnHSplZw-1; Wed, 27 Mar 2024 02:10:04 -0400 X-MC-Unique: u3IYW2kDMx63NqOnHSplZw-1 Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-29c6ff57cedso5110142a91.1 for ; Tue, 26 Mar 2024 23:10:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711519803; x=1712124603; 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=aj1aL6upPcAi/oYsdf1FW6tZ/Jif1m82oyTDDBx7OMo=; b=w41F+noqSZXldqPdmoLeX70y2Z7Cbk3P2jUjxwJBQM++25JluGBOBSo9KvVl+Zfx7Y unzA/qU2JDQhgttK6oAPoSMDSdHoPgFFKWKM1kiRwpK0ErJ0h+fQHpAJMOjYH12UjqAh Nvq5corfbVy5vCoJWRmpCvwSzUaM/pmjm9SbTtWotqXKALyJ0jt1H70belGVgEvKo2ET UBkY6k/vi7a/E9RWOvS1hXWf90PNslDy5KeG8EHtK3s2yg0d6cBvMa95E+MZcqnW0f7K 3XC4s4l1q4tt9P1cIx3aAJkElfwheEUzE6mK8u+NqRLSM8VLQmk1QU7dAll0Kifyp8RA rtgg== X-Forwarded-Encrypted: i=1; AJvYcCVBV/QCIZH7f7/7TS4J5N8N9gPdPsCmXmbGBMBznO2NrD3s94zSMYri3gdkHtECyQ646/lg0+8kRNc7U81ZrxBCoQ5WYXtdjidfWgVK X-Gm-Message-State: AOJu0Yy5yZ6mun3WSi/R4ilfossbdHrFCkRXZW35Aa55eTh4AI0EXErL 2xZVCs6LYE+pN5mrStHH5kcAtsMlp533XL0BBEocEW/Kd5KU+PznpzShwxSzxAZgQZ3xCCPjQhD sVfZcP0dP2rihfGZH8bFVIEEHucLQ6mZSa7DRw574VWR/AElh5Hmwg2komCnM4BfIKyBrpEw54h KOPH/dO2+hwA5LdR0/vO1LwDZBlZYvWea05kX0 X-Received: by 2002:a17:90b:3ec6:b0:29f:f6c7:1ace with SMTP id rm6-20020a17090b3ec600b0029ff6c71acemr1806629pjb.32.1711519803683; Tue, 26 Mar 2024 23:10:03 -0700 (PDT) X-Received: by 2002:a17:90b:3ec6:b0:29f:f6c7:1ace with SMTP id rm6-20020a17090b3ec600b0029ff6c71acemr1806611pjb.32.1711519803228; Tue, 26 Mar 2024 23:10:03 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240322033736.9344-1-hpa@redhat.com> <20240322033736.9344-2-hpa@redhat.com> In-Reply-To: From: Kate Hsuan Date: Wed, 27 Mar 2024 14:09:52 +0800 Message-ID: Subject: Re: [PATCH v5 1/6] platform: x86-android-tablets: other: Add swnode for Xiaomi pad2 indicator LED To: Andy Shevchenko Cc: Hans de Goede , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Hans, On Tue, Mar 26, 2024 at 12:32=E2=80=AFAM 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 Xia= omi > > > 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 i= s > > > 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=3Dreview-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. > Thank you for your reviewing. Please review the RESEND patch and I'll fix them according to Andy's commen= ts. > -- > With Best Regards, > Andy Shevchenko > > --=20 BR, Kate