Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1285142lqa; Mon, 29 Apr 2024 04:19:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXdgrT1KCWWNoOqs5b19Lh6nWekaB8wa0cIIrrcrwyUyCyezxC1exjlUu07JdQN02NjFbQ0IUbq0iiySNBChHCPPgPxsKcEjtbouLo5HQ== X-Google-Smtp-Source: AGHT+IFD9j/YynpXbbjtBIrWM8WcYgNlmtexL8ddOrZ6uRXge+X1oNIsuQUB357fk1DfMVk9Be4o X-Received: by 2002:a17:90a:7894:b0:2ae:c590:b06f with SMTP id x20-20020a17090a789400b002aec590b06fmr9399418pjk.18.1714389568654; Mon, 29 Apr 2024 04:19:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714389568; cv=pass; d=google.com; s=arc-20160816; b=LkdF+Ao62SqPZsuO4oD8cHfFuyd6Md95YE86U2hcdahXeRNKZq5LDbVeR1m+Ru4iX9 1MTQESpebBfGb1bvhJPlaLoaV3r/XZjkmXJGof7nuUwrWBiDqr3xHMjK217m7NIonV1r rl6BN/szDTGmYU3gskVUzGH3IqeBr/wlNi4ZfxMOfNtYon2nkEsW0SbxMZ/skQNAioo0 IVPdZCkiiMiCayHBB3FZyPisByrz+jAHoQemB55bFaDlC7jdBP0F+01f2gSz+t7pMju5 5ok3HcGE3uDbYM2Fik+qaAdRpZz37ziqWreCnXS+iHUP5YNQf3uRN6fP9JlSzcV1w9KT SgMw== 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:content-language :references:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=WdqbQcKjEI5vcuFU2p8wlb5cXeIYqE2md5KD9zgkjwo=; fh=xkG5XQappR6dVV9+7fztxAIVPKQrIV+ALhzYL5ympIo=; b=V1VU87oK6iZMeZ4hKa/8zg8rY8CqjgJUEWqLBqBuwE/VhTEKV6CRlhewLQ5N2bxAVZ v6wlZXkhzzj/y4F9s5JKQFhpi8SLR8SRfxoS5rGqtUlI7fvZqf4KObLTL/ZPF6cvuYL4 M8pc4wgQPqiBCtkw8lGoTV2TVBTlwvGfwD2qtnPshczkxYMjDTQDVh8h3vZrAC8xruLx rBQySoaA9RXxAtlGya9vugsQv9pxKalEXqBOFdk/RJRwV4kYSMWurFTosa/CadryBHn6 5oQnJHmzrhBw99Zvq7rcFW1eJZAi43Vy2SHnhmIImJCiBkMzsKS6oVNQJDMfMig4WpYr R/Bw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=U5qVjIKH; 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-162116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162116-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 j13-20020a17090a7e8d00b002a539f46c08si19796347pjl.39.2024.04.29.04.19.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:19:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162116-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=U5qVjIKH; 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-162116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162116-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 9C9E6B24B85 for ; Mon, 29 Apr 2024 11:10:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D2C13F8EA; Mon, 29 Apr 2024 11:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="U5qVjIKH" 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 6E8B53C482 for ; Mon, 29 Apr 2024 11:10:31 +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=1714389032; cv=none; b=QdXikr96E4ohoJjAQJ1L155U0PuYlGefGHxZYrqBBZcaH75SmsCIVfGBjuetLoNzJJyQZGGsX8gmv3aO3SVcQvvxpp7K6tiRSib2Z4WFhHYfXrCCnwE+ob+Ar7dA6rWtnJ8SVkyFOxE5hx/IyJ2lEV0M/fro4gRD/wAnlrwrj08= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714389032; c=relaxed/simple; bh=xtfhi2lRXFAsjd8WJbAKjr5hr8U/HWoTLSYoTbffFwY=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=buPQI0FaO0srUjnecCZJ0hbGanwmTdAThuQphV9iqyxq9lsW+ZefZgT3xouP9Hw4HdBgq4mfGmabD5OwJ9apkvqtl3O9xwjZwapv+odklnhUOHp+7jIP1jBPApSQC6HiEN1hZwYYfAiImz/AfP9a/X3Ub+lVSvI2M2RpM8wwykM= 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=U5qVjIKH; 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=1714389030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WdqbQcKjEI5vcuFU2p8wlb5cXeIYqE2md5KD9zgkjwo=; b=U5qVjIKHAbu8w+Ewc3AtNMFLKFbRM66UupShlrR3uMHAzVo0OYxHwSIrShAeOhXVEwxFJm yx+JKGxfwEvIWp7Dv3RUGoEsp1UPXVlCbKCKXl2hH0Qk7i3XurxnLQEUN2Ej0DxG7l93yK xicd9QUn319MhAOeantrHPK2RZxFM2Y= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-246-K30bFK75OTSystQhDvIj_Q-1; Mon, 29 Apr 2024 07:10:28 -0400 X-MC-Unique: K30bFK75OTSystQhDvIj_Q-1 Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-57215111d4dso1893121a12.1 for ; Mon, 29 Apr 2024 04:10:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714389027; x=1714993827; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WdqbQcKjEI5vcuFU2p8wlb5cXeIYqE2md5KD9zgkjwo=; b=Bl1+rvPpJEx3N6k8aBCWvd9zUI4cmWC/CJjOJi7CKYHzk+ZgIlcPvnCMYKOLtUgF+g wvhqMAxqCvfhpPF08GpPjp3z2a5Z6EYwgE5Xdl4em71ggIYTI+rBa3bWAjsj2bfCkTp0 JWYiMQpxh9mO43ogWLLKQR4UwFAzQlQH+CWt3swdEyBOvfZyr3J/nA0bWoGfW36g/ulc 3YzEs9pCfJq6F3lR6FMbWPft3tbbWq22UxQBsc9tIUamIHATREP+q5r+BrSfKIzX5aZG H32pA/6RSNYVJE0NZOoOmiOrFxHVH07LR6N1UOZhfjWj3s9zMhz9ObayyGkaocYbTqxi Pjhw== X-Forwarded-Encrypted: i=1; AJvYcCUmH4OHxbf9pNeiuxAYJtZ7uq0ypveKobaZHYfpJeceEu3MNq7borzyv5Rq0idALIPjrJPRVh62xmdCpEJK4UlB6I67RE2aGSzy4Hyy X-Gm-Message-State: AOJu0YwwDcOg2maM56KhIMS0OX8nrz230+BX9gycWkqp4ut3nx/JOVTc qsX+8supM8r3NtVanYkezdXsxt3cBrChILR3J0j0GuCof3dZk0WX89D3/MAKRkhQzrBxGmReEuA lTuCzLU8S5Vr6AYkNCwj6RE+zvCczifJvRqnqJ4YbSsm1GPxcrcK8jiBW4qH9XQ== X-Received: by 2002:a50:aa93:0:b0:56e:23e3:bdc3 with SMTP id q19-20020a50aa93000000b0056e23e3bdc3mr5865168edc.16.1714389027249; Mon, 29 Apr 2024 04:10:27 -0700 (PDT) X-Received: by 2002:a50:aa93:0:b0:56e:23e3:bdc3 with SMTP id q19-20020a50aa93000000b0056e23e3bdc3mr5865151edc.16.1714389026997; Mon, 29 Apr 2024 04:10:26 -0700 (PDT) Received: from [10.40.98.157] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id d19-20020a50fe93000000b00571c2402e6dsm12261753edt.0.2024.04.29.04.10.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Apr 2024 04:10:26 -0700 (PDT) Message-ID: <27aefc94-3bf3-44bd-8689-22e0c984855f@redhat.com> Date: Mon, 29 Apr 2024 13:10:26 +0200 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 v7 6/6] platform: x86-android-tablets: others: Set the LED trigger to charging_orange_full_green for Xiaomi pad2 To: Kate Hsuan , 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, Andy Shevchenko , Sebastian Reichel , linux-pm@vger.kernel.org References: <20240424065212.263784-1-hpa@redhat.com> <20240424065212.263784-7-hpa@redhat.com> Content-Language: en-US From: Hans de Goede In-Reply-To: <20240424065212.263784-7-hpa@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 4/24/24 8:52 AM, Kate Hsuan wrote: > Set the default trigger to bq27520-0-charging-orange-full-green. The LED > will show orange when the battery is charging. The LED will show green > when the battery status is full. > > Signed-off-by: Kate Hsuan Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > drivers/platform/x86/x86-android-tablets/other.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/platform/x86/x86-android-tablets/other.c b/drivers/platform/x86/x86-android-tablets/other.c > index c77d56454f2d..52032a874b7f 100644 > --- a/drivers/platform/x86/x86-android-tablets/other.c > +++ b/drivers/platform/x86/x86-android-tablets/other.c > @@ -610,7 +610,7 @@ static const struct property_entry ktd2026_rgb_led_props[] = { > PROPERTY_ENTRY_U32("reg", 0), > PROPERTY_ENTRY_U32("color", LED_COLOR_ID_RGB), > PROPERTY_ENTRY_STRING("function", "indicator"), > - PROPERTY_ENTRY_STRING("linux,default-trigger", "bq27520-0-charging"), > + PROPERTY_ENTRY_STRING("linux,default-trigger", "bq27520-0-charging-orange-full-green"), > { } > }; >