Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1085177imn; Sat, 30 Jul 2022 14:49:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR41ZKE0opRxDasJ3lzYZUFfAYQWt81lxE64yZR0XcYwNuePl2Iqzn9udgWbLBnI/uFNCKy2 X-Received: by 2002:a63:d555:0:b0:41b:ca49:54c3 with SMTP id v21-20020a63d555000000b0041bca4954c3mr2612986pgi.360.1659217767904; Sat, 30 Jul 2022 14:49:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659217767; cv=none; d=google.com; s=arc-20160816; b=o41BorPU5fADZ99fqav3UtRGjnGdrLSIehuktaZpB0oC50QMap28ej0byBGH5bXNTk XgkaW7g8dNGN/Q0/bchTygPRphxGtZPICm0BSKGJvW16d+ksauML82d9uNjmlV3lBkSf ezEAyh0GQ9H7kkyrClYMh0Kj/6HD7n3B4KYjNkUrfwcKlCbfDMnOkldx5zmzRn175VEJ sfMliaS5ndEGqWSVhcdFilzgvqotaUTKIjYzt1JLo2cWweAxqimQFTC2fs4YptQfJ9lw Jt0wZFUtveihf+yDnwVyinG+vztqVxExgY5erezhI8OxDpjeUhoX+YZ7s6S/sR1ZpPzg 6J5A== 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 :dkim-signature; bh=EEZJegvkXmNvO4clUx6dPeVmv4JNyxctAwR1j8c43QA=; b=b08Hvhq7ZppcKl3LLSMGpWRQAea41lm7A1fSk/YtHeglL4GQ4l5GeiKF4Ydp+1p/n5 p3EjCipP7YLAMNGirQYSUXTEG2RDSujvyIZcEE/R/yKvL4nlgrRPP5GfFbwIfPyGsOoR LcHCYrf8FH9o4y7E0dGW8/ioLHcA5RxISZKe+hiNR3W4JkGNeRhjoiFdKf/4E04cSqDL /sKKqe1Q6X6AhvFCpdhT2bV5tjagRG74SjVkX3FXqggTejQvWQUWqvY3/GQYLYVJOlwR IpRLsStfch7mqDoj13V2vynqjg7iuljtYdLycXl9jBhaFcF8AiiY0aXq5SHVaCjPM7Be Qv0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=JhTPNqht; 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 m17-20020a170902e41100b0016dc0084716si7222438ple.217.2022.07.30.14.49.11; Sat, 30 Jul 2022 14:49:27 -0700 (PDT) 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=JhTPNqht; 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 S236137AbiG3VmK (ORCPT + 99 others); Sat, 30 Jul 2022 17:42:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233617AbiG3VmI (ORCPT ); Sat, 30 Jul 2022 17:42:08 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B3FB12A9F; Sat, 30 Jul 2022 14:42:07 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 166D61C0001; Sat, 30 Jul 2022 23:42:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1659217326; 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=EEZJegvkXmNvO4clUx6dPeVmv4JNyxctAwR1j8c43QA=; b=JhTPNqhtgDpVDKFDtpjcA2Twtqu8DqbYMC54pUN6e1L3IsfbH8feFNeEY97iNaPgKG6DLa vZeaX5O2xZH1+9NqAOsNvVmmP6yoPqh0RU7vxbUzYkWl2IDU28vPW0pLUx15CtXpPSL9jf NXoRhATfSpZHeWB0nmkCup62xs+PetM= Date: Sat, 30 Jul 2022 23:42:05 +0200 From: Pavel Machek To: ChiaEn Wu Cc: lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, sre@kernel.org, chunfeng.yun@mediatek.com, gregkh@linuxfoundation.org, jic23@kernel.org, lars@metafoo.de, lgirdwood@gmail.com, broonie@kernel.org, linux@roeck-us.net, heikki.krogerus@linux.intel.com, deller@gmx.de, andy.shevchenko@gmail.com, chiaen_wu@richtek.com, alice_chen@richtek.com, cy_huang@richtek.com, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-iio@vger.kernel.org, linux-fbdev@vger.kernel.org, szunichen@gmail.com Subject: Re: [PATCH v6 12/13] leds: flash: mt6370: Add MediaTek MT6370 flashlight support Message-ID: <20220730214205.GK23307@duo.ucw.cz> References: <20220722102407.2205-1-peterwu.pub@gmail.com> <20220722102407.2205-13-peterwu.pub@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EMQjp+MvU6EBGjHc" Content-Disposition: inline In-Reply-To: <20220722102407.2205-13-peterwu.pub@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) 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 --EMQjp+MvU6EBGjHc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Alice Chen >=20 > The MediaTek MT6370 is a highly-integrated smart power management IC, > which includes a single cell Li-Ion/Li-Polymer switching battery > charger, a USB Type-C & Power Delivery (PD) controller, dual Flash > LED current sources, a RGB LED driver, a backlight WLED driver, > a display bias driver and a general LDO for portable devices. >=20 > The Flash LED in MT6370 has 2 channels and support torch/strobe mode. > Add the support of MT6370 FLASH LED. >=20 > Signed-off-by: Alice Chen > +config LEDS_MT6370_FLASHLIGHT > + tristate "Flash LED Support for MediaTek MT6370 PMIC" > + depends on LEDS_CLASS I'd name it just LEDS_MT6370_FLASH. > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright (C) 2022 Richtek Technology Corp. > + * > + * Author: Alice Chen " at end of line. The series is quite big, would it be possible to submit LED changes in separate series? Thanks, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --EMQjp+MvU6EBGjHc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYuWlrQAKCRAw5/Bqldv6 8s+wAJ4tcHfH66JAvG66D+7AtIPL7xaD/ACeLylCABT4fJdlPhsq4ijIBLwsq3M= =kLCB -----END PGP SIGNATURE----- --EMQjp+MvU6EBGjHc--