Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp869319iog; Mon, 13 Jun 2022 14:57:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u7trFt0dLn3/CaXoPMYw8FW4BNnVn3HakL6R4vJf8FFuZG89y4Uc/IejedxrDKbHlpsWC+ X-Received: by 2002:a17:902:e5ca:b0:167:4e08:a63a with SMTP id u10-20020a170902e5ca00b001674e08a63amr1009769plf.69.1655157457788; Mon, 13 Jun 2022 14:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655157457; cv=none; d=google.com; s=arc-20160816; b=XBocqcUe17B8KUlMydriHRtByi6s99IKlSUVU7Kix3i+Ybp80iC8LIQuDavJKLS1TY kJZR4hzZ63NORg9ShW7wT4ruSlN0iRwfH/ShXu4fgre4C3FaG6odsfEu5NKaY8fOhe4I WrE849NSE3GkpLxspkeN7JC7RhUHc2CC4OyaBXduZGVc9DVxUDiK70LKQ13Hgbnk+A/4 uOu2IAKdtMhm7svox9pDu69rPgeSdfqfjA3NhJfLd6tiG5plCuscAb/GwhR58DZ1iUpC 9p5oe3pO34gBSIsQc1xsAgQ4ciNe1Voeg5mHcMgVyz4IrQMElVDfUEGeOw7TmPZpVLrB kMbg== 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=KNSY/4MRKQGA0e53i6BGkqSv8r1BdiuacVK4fX068bM=; b=fYqfE3oBJYOhAn0D1+UsWB5jmVbEKylW4IN00CXQYfX48CzvTDyqsEO67z+kJdzy8I zi920FbBiLkZ8Q4+1EGo4q9XhXpISMezxSt8pAZTUtx//f8rl0GBaLeqvwidSMRrYHrT d2kvEBGuMuzEcKDlu6Ldm46NMYB4nOaI7FwiUt6YbodDSyCdapwHFnqrvtoS9o8kBQ5i /5Vb981gAGhFz8CKpb84ldfQJhFD+LieuLZA/goT6+HyZV4a71YlZH6dqYR105Dznf2F 5p2NflawckWK6kXMg2QN7gnOP8wm9JvlnXV8BlLNMRJXHKPNJAOuuExNn2ICuZBfKuT3 BFpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=D9Zwkz6L; 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 a25-20020a631a59000000b003fd8db87697si10181919pgm.441.2022.06.13.14.57.26; Mon, 13 Jun 2022 14:57:37 -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=D9Zwkz6L; 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 S1352154AbiFMU65 (ORCPT + 99 others); Mon, 13 Jun 2022 16:58:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352164AbiFMUyO (ORCPT ); Mon, 13 Jun 2022 16:54:14 -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 3C50DB857; Mon, 13 Jun 2022 13:20:29 -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=KNSY/4MRKQGA0e53i6BGkqSv8r1BdiuacVK4fX068bM=; b=D9Zwkz6L1ZS3ZNBp0ThENt14z6 X3LjNufcYo/Gv90ywbVGZn2PrAYmEZmmuqzdMVq2fVHDcEGEjjn6tRWFgEgjLdCMBbr0S7WAb/Dc/ S+GYoU8ErQmFfc2zc76yluxAv5p853ep/tOllb5wHh7Ce8lAR2LfqhW8UmiIv6lEigrUNNDezQKjw sS+Ml3IDFcrkHWp3cSZ5zuf48URPzVsCnyckp4nK4RSIpapQ58HRcfEZi53+fNOhb2N6xtLerajxA CtuMaRVXvWZnNwe55sa1L4S+16GpEI3Q3Mn+WryCDBpAHw/a2UsweeKpAB+NRFk/ev0xQ6ggb0qOl ZBIflXgQ==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0qXn-007fGw-IA; Mon, 13 Jun 2022 20:20:16 +0000 Message-ID: <23dd79db-87e3-14b5-e844-d596730bf057@infradead.org> Date: Mon, 13 Jun 2022 13:20:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v2 13/15] leds: mt6370: Add Mediatek MT6370 current sink type LED Indicator support Content-Language: en-US To: ChiaEn Wu , jic23@kernel.org, lars@metafoo.de, matthias.bgg@gmail.com, lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, szunichen@gmail.com, ChiYuan Huang References: <20220613111146.25221-1-peterwu.pub@gmail.com> <20220613111146.25221-14-peterwu.pub@gmail.com> From: Randy Dunlap In-Reply-To: <20220613111146.25221-14-peterwu.pub@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.6 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 Hi-- On 6/13/22 04:11, ChiaEn Wu wrote: > diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig > index 6090e647daee..61e6ec416cb0 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're four channel current-sink LED driver that support Please spell out "there are" instead of using an unusual contraction. Also: drivers that support > + hardware pattern for reg, pwm, breath mode. Isink4 channel PWM, What is "reg"? > + can also be used as a CHG_VIN power good indicator. -- ~Randy