Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3909737rwl; Mon, 27 Mar 2023 23:12:23 -0700 (PDT) X-Google-Smtp-Source: AKy350bZw5cVBOcGHVlW75maqs4c9PpFYxfmWqpR3FGwpVedRetULH0s9qcAM2Vnmqhu/n18MZPB X-Received: by 2002:a17:906:b2d2:b0:93e:fa12:aa1a with SMTP id cf18-20020a170906b2d200b0093efa12aa1amr12841161ejb.1.1679983943590; Mon, 27 Mar 2023 23:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679983943; cv=none; d=google.com; s=arc-20160816; b=xgDhINFPrXpr8Cgep4xHjkGsWySIkSHdH2zObYQSiw0OtItIyM+o7I1cWaEjkCMXIK L0VX3CebHKumG/2IlD4PcAD4KJYqLodwwqP5IyYNg/2jbsaUXKU76AnPtKhyXWJasJ37 /zOOF9s9r+LSo5tuDVn3tiqiPhUObKchVebvjBaqCqXA7QAKZfT+nO66lqbNYQaNHOpo ZvEfAO/xZNeVooavGPoeW/hPstwFKwsqcOrUS2U0z3EKQvNnznyCyig14bRGVw2DEjYO TVw7JWod6nQU1NLG5PsbsMkPd3tK5uKKRlDSY+MInZ1dcnK1r4Hkh5VuUY/oMu5Mb6kw F8fg== 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=p29OP2afCO5DP1UJERSb7Ni6RNTt2pEu6Ob9e9f4YFY=; b=skUpyxT7Qsrhj/Q0S/SwXvUJG0h//+PQUkl7sw0aZLqTLH0foxTwJ04vYmCwAMuSeX snO2UzSFDlHbWjHNqY/ai/Spyy2z+N/V3t+O7WldmyXt8lDvDkMx8uGLyUFY8C2GGg3T EJ05EkTDO1fPrpVoNwoeeUfH2ALxmAjT5tCGXoBvv9nhlLJvFfW3w74/H3L5SqXPbBkv OKlVRRXrL6ZYdBIfPduWkTTPO6FS9/KnkKEN/X/vjNRk6lYjGf445NB2+r4NvM9Upx9A NSfdhUVbyTOp1Ho5JE7jYa1EDZh3R5snvREIhnFZrvX07rCvZ7Xl5lycLTxp/cp8V8Ia BwDQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tl26-20020a170907c31a00b0093dfd0a980bsi9684865ejc.172.2023.03.27.23.11.58; Mon, 27 Mar 2023 23:12:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230210AbjC1GEG (ORCPT + 99 others); Tue, 28 Mar 2023 02:04:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231694AbjC1GEE (ORCPT ); Tue, 28 Mar 2023 02:04:04 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 97137171E; Mon, 27 Mar 2023 23:04:01 -0700 (PDT) X-MailGates: (flag:4,DYNAMIC,BADHELO,RELAY,NOHOST:PASS)(compute_score:DE LIVER,40,3) Received: from 192.168.10.47 by mg.richtek.com with MailGates ESMTP Server V5.0(26685:1:AUTH_RELAY) (envelope-from ); Tue, 28 Mar 2023 14:03:31 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) by ex4.rt.l (192.168.10.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Tue, 28 Mar 2023 14:03:30 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex3.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Tue, 28 Mar 2023 14:03:30 +0800 Date: Tue, 28 Mar 2023 14:03:30 +0800 From: ChiYuan Huang To: Pavel Machek CC: ChiaEn Wu , , , , , , , , , , , , , Subject: Re: [PATCH v18 1/3] leds: rgb: mt6370: Add MediaTek MT6370 current sink type LED Indicator support Message-ID: <20230328060330.GA32398@linuxcarl2.richtek.com> References: <1df93a583c3f508a7158b83b95857e9bce235e1b.1678430444.git.chiaen_wu@richtek.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On Mon, Mar 27, 2023 at 01:46:33PM +0200, Pavel Machek wrote: > Hi! > > > 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. > > > > Add support for the MediaTek MT6370 Current Sink Type LED Indicator > > driver. It can control four channels current-sink RGB LEDs with 3 modes: > > constant current, PWM, and breath mode. > > > > Acked-by: Jacek Anaszewski > > Co-developed-by: Alice Chen > > Signed-off-by: Alice Chen > > Signed-off-by: ChiYuan Huang > > Signed-off-by: ChiaEn Wu > > > > +++ b/drivers/leds/rgb/Makefile > > @@ -2,3 +2,4 @@ > > > > obj-$(CONFIG_LEDS_PWM_MULTICOLOR) += leds-pwm-multicolor.o > > obj-$(CONFIG_LEDS_QCOM_LPG) += leds-qcom-lpg.o > > +obj-$(CONFIG_LEDS_MT6370_RGB) += leds-mt6370-rgb.o > > I'd preffer leds-mt6370 name. We already have "rgb" in directory > name... > Yap, sure, But for mt6370 leds, except rgb indicators, there are also flashes for camera. To keep the postfix in filename can more precisely tell what the file for. > Otherwise looks good. Thanks for doing this. > > BR, > Pavel > -- > People of Russia, stop Putin before his war on Ukraine escalates.