Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4533292rwb; Sat, 10 Dec 2022 09:59:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Auq4gR4cCSz8Itz+TDq+HgTWkwLE5vy9d61Tm5rWp1Pjqe/HKY/xcPMnbBNiNTv/IVtqg X-Received: by 2002:a17:902:e847:b0:185:441e:223c with SMTP id t7-20020a170902e84700b00185441e223cmr16004103plg.55.1670695188261; Sat, 10 Dec 2022 09:59:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670695188; cv=none; d=google.com; s=arc-20160816; b=LVzreOIzfPkHXLfel/4/OjCwhNWoStVwFG8Ki6E/i9/SM8OobbSNBgGoQ3ZaMdwICV 2Yf8M2QfuZW7kwAhcy1CrrafNwVEs0gvvi0deYI5pjTqkm8f9sl8//CNZtR/6uHZQmT2 ChNWd1PyiduPn+rVkudn8CQ58UFm5xnP/Dwas835FJ1ECVGXBeGMHYbQ1WiI5AHJKJS9 nHDV9GQsEc5TUmrfGoUM598W4LwKxyUVI+qOtmR9qXfMxnHbVXXufmR2jcLhMxRqgLwe B2V3Fv/YD7/Us+2td8wSTV0ySh+R9D3R74yTwRRigy+RVkIrbb189dlJjevgUxzBxIyU GARw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KdQHQ5s+tXy+ERTEJcEFuFB1iLfks/vH0fSWLk/R1XU=; b=UBzXBtuIhifakzmCP1o2hGjY24K2M2FHPyQKEKN56pqcw3Hmdlp022zT8Y59TQJS52 xuwYWYc49JbxHOEv/xTmp5bw3L97j9i41hcbOHLu5hhUSaVWDJ+CMGJP9FH8aT+fRgm9 8ymEhCA7O8GLlcTohwZ9WcyJc+sgfNe3wTON5v+hiEybzQo4a3FcHZI59oAgBtXO0F64 f9K7VGHGOO/Vjo3Yxzh7uaCSKd96N0t5MEq1fkxLPdRgk8k6aG67PLtjkzOyA9WujZat z1JYSC+zeM1QU4P1UTY9ZfVsT4pVtnixYe8924jEsZv4S+fESX9CwATJ4kPASM6rIIOL gqDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b="dWRl/z/D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l10-20020a170903120a00b001893efd3e00si5475189plh.49.2022.12.10.09.59.38; Sat, 10 Dec 2022 09:59:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b="dWRl/z/D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229722AbiLJRQa (ORCPT + 74 others); Sat, 10 Dec 2022 12:16:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbiLJRQ3 (ORCPT ); Sat, 10 Dec 2022 12:16:29 -0500 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 773F81FB; Sat, 10 Dec 2022 09:16:28 -0800 (PST) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 399DF1C09F6; Sat, 10 Dec 2022 18:16:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1670692587; 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: in-reply-to:in-reply-to:references:references; bh=KdQHQ5s+tXy+ERTEJcEFuFB1iLfks/vH0fSWLk/R1XU=; b=dWRl/z/DQFNmcGUBaWofIwuApXxBt7IaiY7S944ChkKAygdKedlqeVYseF8xjEqlWokFQJ xGboTiYgmijEegmXoNXTRBOmyxNym2ra2+/eAwFUINi7AvnUqzvsNBEZJSeyi/yvMf/aCN aaeiYcOZztfN/YsfKftqmtFX/056z7k= Date: Sat, 10 Dec 2022 18:16:26 +0100 From: Pavel Machek To: Luca Weiss Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] arm64: dts: qcom: sm7225-fairphone-fp4: configure flash LED Message-ID: References: <20221209-fp4-pm6150l-flash-v1-0-531521eb2a72@fairphone.com> <20221209-fp4-pm6150l-flash-v1-3-531521eb2a72@fairphone.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HG3oTbixxIVumDLy" Content-Disposition: inline In-Reply-To: <20221209-fp4-pm6150l-flash-v1-3-531521eb2a72@fairphone.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --HG3oTbixxIVumDLy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Configure the pm6150l flash node for the dual flash LEDs found on FP4. > +&pm6150l_flash { > + status =3D "okay"; > + > + led-0 { > + function =3D LED_FUNCTION_FLASH; > + color =3D ; > + led-sources =3D <1>; > + led-max-microamp =3D <180000>; > + flash-max-microamp =3D <1000000>; > + flash-max-timeout-us =3D <1280000>; > + }; I'm pretty sure the flash is not yellow. Plus, how is the node in /sys/class/leds called? Can you make an entry in Documentation/leds/well-known-leds.txt and ensure the name stays consistent across devices? Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --HG3oTbixxIVumDLy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCY5S+6gAKCRAw5/Bqldv6 8mv/AJ0bt0t8Kg/jefzjZ1+T0YiFck3AwQCgm0aNvzYQBqjPy6v98GKiO6emCiw= =zhQd -----END PGP SIGNATURE----- --HG3oTbixxIVumDLy--