Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3270304rwb; Mon, 5 Sep 2022 08:55:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR6w0bhb4zYy5vFFw30OCmKukDSy8jhV2ngDEy3NEsTlDmdGEo8fjrLBecVf2vucYBImgoY0 X-Received: by 2002:a17:907:3f98:b0:730:cfce:9c0f with SMTP id hr24-20020a1709073f9800b00730cfce9c0fmr36950249ejc.475.1662393302261; Mon, 05 Sep 2022 08:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662393302; cv=none; d=google.com; s=arc-20160816; b=rNXDceqEmG6h9+NqChBZSu8EakUuixG1vNT5yxBt01BO2h33Is9HBWBvSqUqG/cJQo EGc99g2CXUbNF1wGDeLerZIRuaIMSePsMhS3uSdIGMEhEVaSoMzN60QkzwxVcDojGNxq QmHeX9g83TtYs+Xhte42vo2LUIDG5rHg5pj6sPyLydBSmQpLDMwVr6WUmogmkYyXdPIr zec6oPBuNMWj1LPZwuAwA365j1dQWO1uKmVWeQVyGx2TwIZTtF0zGDDCd2XV+xMD5RIM no0kTXNgz6HYImljhlbtvgmO/rL5z34vfJ8A/uKyn331Wia3ujseDkS8ObRFlm330u2x alUg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5y/yYRirByd+lMioU/3yI33k356DCFTzd+1VuBc8YOY=; b=SmSbDrWl5HQ1XW/ghzepda6Y9w6GIjYeRliJgJTaNdWv/5OnoGRr2Gj1/RZqAYiX9A QEo8zKOAYIzrET5VGC00uuETGRKZIxTth2kGLVGmob6J3hFhd/G3uwJ5gtze1XjXBp8L O2yRMRUhBQejBikgFShLGerCxPmmAB6PYxO8mb2aQhlZdg7wfHPSSZAGcWHZ7oubdBcn h0ka0nZ9VrLzbTPFWqg5TnPjOb6xKk8Hqh/+PR4VNduMXg5sKpw8FkkcfwnXhy/hLTek b+yHeT1Nh5d4NVq1aV7Wj1fKTPs7wspCOonEfqQQAg+OEINlV5E76oF079qe8ZRS3bM6 gfrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JjbTx5Ws; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a50e604000000b004478e283f05si7522903edm.104.2022.09.05.08.54.30; Mon, 05 Sep 2022 08:55:02 -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=@kernel.org header.s=k20201202 header.b=JjbTx5Ws; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237516AbiIEPRT (ORCPT + 99 others); Mon, 5 Sep 2022 11:17:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236173AbiIEPRQ (ORCPT ); Mon, 5 Sep 2022 11:17:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F5B918E3B; Mon, 5 Sep 2022 08:17:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A16AF61326; Mon, 5 Sep 2022 15:17:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 024F9C433D6; Mon, 5 Sep 2022 15:17:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662391035; bh=+1JZVikczD6oMQstBHmmQ6IUy+FzfgWRuCZFth/S+Dw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JjbTx5WsrgNdOUEf0hAeeafisFv1eS6CmLwbhpwQvtLdLcpPH1peisZcFAhR5xTMZ Nr4nbdRktkjImvMIYnfyYcT33pNCCM3qy0U4PiMeM8ynYP5oJ+KgoPe17ExxQuily0 tuXegK4H++l+ffyv6CWE6+VOanhV082OMtBVim7GWweaeUqFYPPg4bxuYsLCZJHgiR LMucXbg1Wtj5poQ9yZfXbhK2vKTi8Kg4rNguspyeq+PiRQ2kPg1AoV3EVK7HDAbA12 XAj9zaehTm2IRrCSqw09jRmL4FnEoTSRxBteU8pTg1Fs8qL0kVnXQcNwPC8c7Nhqxb p3KAfpKGDnoJQ== Date: Mon, 5 Sep 2022 16:17:03 +0100 From: Lee Jones To: ChiaEn Wu Cc: 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, jic23@kernel.org, lars@metafoo.de, deller@gmx.de, broonie@kernel.org, mazziesaccount@gmail.com, andriy.shevchenko@linux.intel.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-iio@vger.kernel.org, linux-fbdev@vger.kernel.org, szunichen@gmail.com, andy.shevchenko@gmail.com Subject: Re: [PATCH v9 10/10] video: backlight: mt6370: Add MediaTek MT6370 support Message-ID: References: <20220830034042.9354-2-peterwu.pub@gmail.com> <20220830034042.9354-11-peterwu.pub@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220830034042.9354-11-peterwu.pub@gmail.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 Tue, 30 Aug 2022, ChiaEn Wu wrote: > From: ChiaEn Wu > > MediaTek MT6370 is a SubPMIC consisting of a single cell battery charger > with ADC monitoring, RGB LEDs, dual channel flashlight, WLED backlight > driver, display bias voltage supply, one general purpose LDO, and the > USB Type-C & PD controller complies with the latest USB Type-C and PD > standards. > > Add support for the MediaTek MT6370 backlight driver. > It controls 4 channels of 8 series WLEDs in > 2048 (only for MT6370/MT6371) / 16384 (only for MT6372) > current steps (30 mA) in exponential or linear mapping curves. > > Reviewed-by: Daniel Thompson > Signed-off-by: ChiaEn Wu > --- > > v9 > - Revise the format of the comments. > --- > drivers/video/backlight/Kconfig | 13 ++ > drivers/video/backlight/Makefile | 1 + > drivers/video/backlight/mt6370-backlight.c | 351 +++++++++++++++++++++++++++++ > 3 files changed, 365 insertions(+) > create mode 100644 drivers/video/backlight/mt6370-backlight.c Applied, thanks. -- Lee Jones [李琼斯]