Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp418830pxu; Thu, 3 Dec 2020 03:44:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJypOKVJRbjIDMzb4UlXVNpFkgsRzS83hrrXDB9109wFpOuQ6VRkFWkk110gIwmPDdSZ3Haq X-Received: by 2002:a17:906:3153:: with SMTP id e19mr2241435eje.17.1606995871296; Thu, 03 Dec 2020 03:44:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606995871; cv=none; d=google.com; s=arc-20160816; b=cm0rgkbbprqh/iw3m6GIc8wHKjliuILB6zo265VTJTpFV+aRr3MTlKYYdjFvDY58p3 Ce+3fHo3lT8ckJ4skkEAJnCb7ydpohDX2ooWkw8ux7/FlVBW61mktTgTrN7cPQAVmxn8 uLndUXz/swj5VE3GG9lZnE+oG6jGRhC0UbRnO01WZjzEHVinIuzyd4AYpdzhrhmq9fT4 ZD+C65VwCHXTcOAi5GipQUMHJ/rzVEhO3Fy+AGsIuMsqYy0vxDPLEOnbyaiqdsrLneEI jJHBqoTDu0k0EK/I0Vkx9FTmmt7Vk+shL7u6tvqWL7WWHzDoVkaltvoJVZc5g31KgUEH h0Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=eEr5RSbymvhtWqN9Nfv5qiwRvuA95qz4SafdTLsZVQQ=; b=BLUPfslCmeZ/T0+0bQ3A/lXUncAXIOdfPVYb/0kk67XomuS5GB/yJRj4wauxkQAPbz OLynStPSDhfy21GDLcNQ+TjY1ukitZnxjnI6HbEUufEcPBzQtp8rf36G7R92xdrdkNX1 gKFg0ClBXj1s9ZVSQG30dHaMtJrGRAs+YSEnOQnHH99MNbdfQ6nMZEwCsY6aXu5yyblv DEoxyUx4/MEXj3IYps/CxJgcXcrmaqogIwp65p8R8F5PhQSvhBItdols3D71jo4pXDuJ KxLvonCE7p6KMxJhd2QChoqvevDWesyLj97XEGtM+bn98OMSkS4o4UkTlhhyShIEw0HZ Tq2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j10si952620ejn.26.2020.12.03.03.44.07; Thu, 03 Dec 2020 03:44:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388755AbgLCLl3 (ORCPT + 99 others); Thu, 3 Dec 2020 06:41:29 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:34472 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388687AbgLCLl2 (ORCPT ); Thu, 3 Dec 2020 06:41:28 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 65C661C0B9E; Thu, 3 Dec 2020 12:40:44 +0100 (CET) Date: Thu, 3 Dec 2020 12:40:44 +0100 From: Pavel Machek To: Gene Chen Cc: Jacek Anaszewski , Rob Herring , Matthias Brugger , Dan Murphy , Linux LED Subsystem , devicetree , linux-arm Mailing List , "moderated list:ARM/Mediatek SoC support" , Linux Kernel Mailing List , Gene Chen , Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: Re: [PATCH v11 3/5] dt-bindings: leds: Add LED_FUNCTION_MOONLIGHT definitions Message-ID: <20201203114044.GA9061@duo.ucw.cz> References: <1606906011-25633-1-git-send-email-gene.chen.richtek@gmail.com> <1606906011-25633-4-git-send-email-gene.chen.richtek@gmail.com> <20201202122329.GA30929@duo.ucw.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > +++ b/include/dt-bindings/leds/common.h > > > @@ -78,6 +78,7 @@ > > > #define LED_FUNCTION_INDICATOR "indicator" > > > #define LED_FUNCTION_LAN "lan" > > > #define LED_FUNCTION_MAIL "mail" > > > +#define LED_FUNCTION_MOONLIGHT "moonlight" > > > > There's "torch" function that should be used for this. I guess comment > > should be added with explanation what exactly that is and how should > > the LED be named. > > >=20 > According to mail, 11/25 "Re: [PATCH v7 2/5] dt-bindings: leds: Add > LED_COLOR_ID_MOONLIGHT definitions", > The Moonlight LED is LED which maximum current more than torch, but > less than flash. Such as front camera fill light. > I think our channel is moonlight, not torch. > I will add this description to comment. > We can't exactly define moonlight current level, because every vendor > has their own specification. So... what is the timelimit on moonlight? But if it is used for camera illumination, I believe it should be simply called flash. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --liOOAslEiF7prFVr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX8jOvAAKCRAw5/Bqldv6 8pj3AJ9cRVAbTOCXxcUiV3mbTJXFFTKK3QCgpfgXoggeGNEUdtl5msUvdmWnkSA= =gXOZ -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--