Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp870408iog; Mon, 13 Jun 2022 14:59:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGMwNbS5X0vSS3L6QzKNhQb5AkBPtvDVQkGIhridI5Ne+y/Z+YD5naTcUf9ycpNquzHcO2 X-Received: by 2002:a63:fa56:0:b0:3fc:d3d2:ceac with SMTP id g22-20020a63fa56000000b003fcd3d2ceacmr1508973pgk.99.1655157572049; Mon, 13 Jun 2022 14:59:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655157572; cv=none; d=google.com; s=arc-20160816; b=yvh2yU1olLbvwvWeQMCALmBg+rugZULnOY4qQ19dNKn2flgekU8DlX+Q1yW4mGjMUY lJJHaSkB5cjwEuvhvaaOaNk+PBacYp2cZZQuYlUsBIE5AkPCeioMWqAzosXIwMs7D/VK AK8I0+jZ3QofRd0qUSFs/MnMXCQzU/v/kyBDKIn8ydjLSQ0yjtNseBGLNZF3x2rKPM6/ wdDRk6PWRSPr5SwxcBU8HpiiKlVIAhz9MPqtIY2WqEVrpzqseW7IgJpDNgOs48VRW2Ks 6yEpyKdIf/eSx0mwPh5H1FlIBei/GNT7xum++i83hrcDzYKXZzORNDp966F0VlD/GK5E PSCg== 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=8O3gyMH/DIarLtUQIeptn6LXzo+PYX0mLfSnGbw2a7g=; b=OoTmeaJ6dEqB8N5nfpaNmaWlsk1KqLLQYjWS5j9qB4CHb5YseJd0ZUfAJ/2EyhPZ6w M6+dbhMurw0u85CbbejqrV1hDhPowTfscyH+5c4iVO3IqHgK7TGM4RtuMfZvGmL9y8l0 6qNCJsm7BBrhSys4aZRvGhOrRJcG0GKWChZcOXRu2vdnu/Tw0NJvjjv1PmgzuImJUR3P kkktJ9jIQE1DFm3vrTtxpXOSATA1loO/Mi0O5fGD+24kMFItLOJ1D2fEG1/baGmTt6sv NHpzKZy9wY6bdWKBUdHvArXO5EQOkVe0Js0myBiuHQjQRH9dYaf9irPoV228TV2yylFR 9a8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=NiCUaEID; 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 f20-20020a170902f39400b00153b2d16543si10010215ple.331.2022.06.13.14.59.20; Mon, 13 Jun 2022 14:59:32 -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=NiCUaEID; 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 S232749AbiFMU7P (ORCPT + 99 others); Mon, 13 Jun 2022 16:59:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352256AbiFMUyT (ORCPT ); Mon, 13 Jun 2022 16:54:19 -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 7B61724088; Mon, 13 Jun 2022 13:22:01 -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=8O3gyMH/DIarLtUQIeptn6LXzo+PYX0mLfSnGbw2a7g=; b=NiCUaEIDQk/r/vKjMnabo0T1aj KK3IXgeBZZBkAGgl4TSxcVArNoBIV/AKyyLi9t5a07UnCfbFSwN2nvXFXzLDYNNMAXXD2fr3a3lXn 5qBH/nL9tJX2J7QQ4kM/7UEN+euVSEGc7b6Ex8N+TV4DQW9YU3BeLEFg/YHZyrRBVB4eOurKWVCUV 3dbn5FrNEUgwk3XQpLPNxo6eOD7VlDnTDsuYkubKzs3hE1PvMf7ii7WpSMRyCQ1xaKSHGQwOi4VXv BhCrf7pxathZUx6m7wZ/N1DXG7+13m4woNibuhLDnSJXchPFtBME85NedsEqI+ptN5vbrVryuRlDS RIIm5mxw==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0qZK-007fIG-L3; Mon, 13 Jun 2022 20:21:51 +0000 Message-ID: <424b4f90-138c-d71f-0f1c-12c60e44c1c2@infradead.org> Date: Mon, 13 Jun 2022 13:21:43 -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 15/15] video: backlight: mt6370: Add Mediatek MT6370 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, ChiaEn Wu References: <20220613111146.25221-1-peterwu.pub@gmail.com> <20220613111146.25221-16-peterwu.pub@gmail.com> From: Randy Dunlap In-Reply-To: <20220613111146.25221-16-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 On 6/13/22 04:11, ChiaEn Wu wrote: > diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig > index a003e02e13ce..ec1589ad88bb 100644 > --- a/drivers/video/backlight/Kconfig > +++ b/drivers/video/backlight/Kconfig > @@ -268,6 +268,15 @@ config BACKLIGHT_MAX8925 > If you have a LCD backlight connected to the WLED output of MAX8925 > WLED output, say Y here to enable this driver. > > +config BACKLIGHT_MT6370 > + tristate "Mediatek MT6370 Backlight Driver" > + depends on MFD_MT6370 > + help > + This enables support for Mediatek MT6370 Backlight driver. > + It's commonly used to drive the display WLED. There're 4 channels There are 4 channels > + inisde, and each channel supports up to 30mA of current capability inside, > + with 2048 current steps in exponential or linear mapping curves. -- ~Randy