Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6180139iog; Thu, 23 Jun 2022 13:02:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t4+ZCDp0qprcXBKYXyLuK0ULu8TicLzZtYlSHs+gS8OejWPNiqxL1bGzkfmQVmMNEztauL X-Received: by 2002:a63:68c7:0:b0:405:1da9:ab69 with SMTP id d190-20020a6368c7000000b004051da9ab69mr9058298pgc.233.1656014577911; Thu, 23 Jun 2022 13:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656014577; cv=none; d=google.com; s=arc-20160816; b=Pgilb6jChwcrPRIsjg2/IMYz3ZjZWKZzdREnhYNxSlStLlJimPKpg/mNmUhqYHizQ+ G+kpNC1U6ppuC7lFIc7CyvocCmnloM8EwxIX8GsQ68uC/HRrPoEUSz4FrtO52oIuBcOv rZfCljxmxWw+Rq8YIeUXORXBNQjjgHMRBXBYPbdbrzgS7qARIHGcXzfFfTsCfgyAei21 H9oE/fmce8DAVtKk/G67aAM4YppAukU7rLq484JQfZ4Ov2Yw1Z8i1HSzYJ4osaP7nm7F RvRYgod0o5bhAuXZqkAYduga+/AsIr21xATU0T1DoLxOSeXwXVROIZeEpk0U0FaS/UE7 Fwnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9CGM3MAz5VIB06lBzNjGngOQOoE0/I7wEi8Zke9gm+w=; b=VfvaCbxN13nZhPFkC7fgG5+3oW3iP8iRrianNhGV1P4ewQBRFy3z467JLGX0sdfOyv 6fq7UKXf1HMhSItbe3stqa2QJdEWWNvEPX/iwX/Jwot4LFMDquyuwqy21Uo3L9pAbrvt W2ZZDiYxRh9Nnwzfgn2Kvh5y2tnmdKT3/erjhuHd+sJkMOU0CQ3VdQtdNZCwE+6do3Ag g1SN3qNNmlufEf0PBJeIPNCBgGfdKofYavabFrZP690DFi/fDw34u0U0ZCqpIzt838Sk 90IBaHx/EcTieazDVt6ACmT4KFwWesKblrVvlE0YwmqMLJ7zybGe7JVE8b+9OG2nkmn2 6QgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=eQsA4dsC; 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 az14-20020a17090b028e00b001e4dd12a09esi367925pjb.39.2022.06.23.13.02.42; Thu, 23 Jun 2022 13:02:57 -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=@infradead.org header.s=desiato.20200630 header.b=eQsA4dsC; 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 S231719AbiFWTpF (ORCPT + 99 others); Thu, 23 Jun 2022 15:45:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231548AbiFWToY (ORCPT ); Thu, 23 Jun 2022 15:44:24 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CA7AA4; Thu, 23 Jun 2022 12:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=9CGM3MAz5VIB06lBzNjGngOQOoE0/I7wEi8Zke9gm+w=; b=eQsA4dsC7zy0gZGxnWzQsATNue 4RNWA+fhmA3erPfzk5dxeMQCaD5Lf11f9oQOKkk8CzdloSz0KwOEP+HRM4wMgGPP8ofcZCZ2qDmwT xfiupW9UG4h8v6ZC3HM8LRHIplQ2b0UahGQFsyNwJUOONvAmQaW+GT7DlYixlYzdJoIae9dvTqpeU gy/FAvkyHsCJjzMv7Un5R+xfx0R5N1LCz8GpdTxJ5A4fM7tBl8UkLYkl8Zu3L9BNeakPSWLUWDFoM lRie2OS7t8onKtNzBXKfM4zQiHwHss/qcyL+N+8jD2XviMbsj2Yz1eEDOSE48nGWdf9/GLVllbreJ XSnwtsig==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4SWU-00Bssw-NX; Thu, 23 Jun 2022 19:30:38 +0000 Message-ID: Date: Thu, 23 Jun 2022 12:29:27 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v3 12/14] leds: mt6370: Add Mediatek MT6370 current sink type LED Indicator support Content-Language: en-US To: ChiaEn Wu , lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, pavel@ucw.cz, 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 Cc: 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 References: <20220623115631.22209-1-peterwu.pub@gmail.com> <20220623115631.22209-13-peterwu.pub@gmail.com> From: Randy Dunlap In-Reply-To: <20220623115631.22209-13-peterwu.pub@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 On 6/23/22 04:56, ChiaEn Wu wrote: > diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig > index a49979f..a8c58c3 100644 > --- a/drivers/leds/Kconfig > +++ b/drivers/leds/Kconfig > @@ -244,6 +244,17 @@ config LEDS_MT6323 > This option enables support for on-chip LED drivers found on > Mediatek MT6323 PMIC. > > +config LEDS_MT6370_RGB > + tristate "LED Support for Mediatek MT6370 PMIC" > + depends on LEDS_CLASS > + depends on MFD_MT6370 > + select LINEAR_RANGE > + help > + Say Y here to enable support for MT6370_RGB LED device. > + In MT6370, there are four channel current-sink LED drivers that > + support hardware pattern for const current, PWM, and breath mode. Spell out "constant" (if that is what "const" means here). ? > + Isink4 channel can also be used as a CHG_VIN power good indicator. -- ~Randy