Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1696207pxk; Tue, 1 Sep 2020 05:43:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwb+2yhuxvFGyrNVSKXUgKUzTnPZrIZ2A9YtU+rUevVRoDEFWeMhD2HvJsrbGnnJZiwoaXX X-Received: by 2002:a17:907:2088:: with SMTP id pv8mr1385808ejb.148.1598964198354; Tue, 01 Sep 2020 05:43:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598964198; cv=none; d=google.com; s=arc-20160816; b=r8EmRvgDHLuV8dRgzo5udQaD/pXtNwMRL+BRbiEEVDmtysssP6rMlRa/CycPvMFJWQ UGkZ0uzzqNZxoNphm5ZerCOTCVN/ypq7sH6Z+dAJ9Qt+6GLrbZvlGPcBEVEz1F7yMtDa vaKjdxRwxDzwz38it8lFvF4gvBC4C7vjUqSXDlqGCWOlZ6z8PuaayshIZ7Jv/KN8db9P I34fbOP0AL3qXEBTXfG4KnHEeL+F514rpzhGAqfM4EeYkNB6kwhdXTgNusvu8/HNzvAE zBZxiszZhk3hUDce0xaLZmALKJTljVIXdQu1Bt6Tb+wVGx0tID0wILPvOMaAXO1r3g7U U5lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=nr3oAO1J7ou/Wa9BRVlR/mWJbOSg9zgxTm5r/RYqoxo=; b=LfT4eYkHFItKh04iDYgAPBWmVq6z0f/9FvTGT0dvM/mqN2N66hWnDsKwaDXSjd4tvz Gl9BjOvHpRzTbV0LtXRcKpZs+OdKirRcouSVWvHtm2oX15sMSdTURhIkp8RSXohhFzVw CqdS1PJH0nTRALmj69+Enq+zPmAr8CKABczp79WxLijo5ohNozfbx7RfO23FQxZjv/Om F08uVna25tSL3oeFm7I2KMBgkf2NwIuwbqbOM8CdCivEzp4CZlbJMypKJrMd6Zd98fJh vxz7HZ6+GSwvQJkxzHs+LtvNAE/JoNoaBGTM8S2ssrFSiDHMoJgcEt+LBQArTRRcMiXX FU3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CWt5TTyF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si584674ejf.223.2020.09.01.05.42.55; Tue, 01 Sep 2020 05:43:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CWt5TTyF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728158AbgIAMlK (ORCPT + 99 others); Tue, 1 Sep 2020 08:41:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728037AbgIAM3x (ORCPT ); Tue, 1 Sep 2020 08:29:53 -0400 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A800C06124F; Tue, 1 Sep 2020 05:29:49 -0700 (PDT) Received: by mail-io1-xd41.google.com with SMTP id g14so1006804iom.0; Tue, 01 Sep 2020 05:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=nr3oAO1J7ou/Wa9BRVlR/mWJbOSg9zgxTm5r/RYqoxo=; b=CWt5TTyFycCJCtjJPv8aWy8tpmsRd8b/odwKabtR23wfFxkLqHSNKNG41TvRZHSAF1 u1ZjDzx+V7+Un/FOxvqZNnaIwViOUFnKv8+IDkqp/amKHRaROg5FjoikQvk/UcHTvVhg dUeSyBvmhuMLAC3ShQr7SqvYMxG0ums6/1iPOoawhFdq/NG6mETYKZTTGbMfhWJ2HVsl vL60M+aBY95RET5WKuUFFrQn/ZRVslJR9zJmR+GTKcduhqny4OwwPTj/mfo5VdtNVekY qrFNcPKoGmd1xDeK63cX/W5BhGvWK4IGrn4jlJnqofXBtZZDh767L+P8JkPsQJup9WO1 I3Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=nr3oAO1J7ou/Wa9BRVlR/mWJbOSg9zgxTm5r/RYqoxo=; b=D9Oqzk34YRAZzrIRnx7iGjQHp5UQprgWN9gncft21SB7ND60vBZrwfZK6BfuKWYbsW WYoCW55103xJktZuMAyF0WIz1/xP8o6zfhTRYIoQUjje3o/PRqEy8adwkNSLcUsheGfc T3q8t8WBjTtiL7fVODxxI90wG+WMn06VU0PIcYhbmqfjFpnsjLJ5LtqMuj8P6vRwh5j5 t0KwXmvTYWDzWJgD0Ox7wA5Ultg3nwUEJwx53B6NhSJCeIfmL4OUy8FkhJDtLSe28udo WV96PTIm6J6oURCbOnQCUjvBMlwTVd3/2CMx9DLCR0B10+TFWnAnwXM6wcySZ5P2PlQI L+pA== X-Gm-Message-State: AOAM530rNPr2gFaSPXKWGOPHelbQ2X25r35kmjFHytFUxlblU3MmiALS jDxCHy+2mOdZqRwsgYk6G7GQCv/JwG0Jsvb/ycE= X-Received: by 2002:a5e:8e0a:: with SMTP id a10mr1255594ion.200.1598963388756; Tue, 01 Sep 2020 05:29:48 -0700 (PDT) MIME-Version: 1.0 References: <1598441840-15226-1-git-send-email-gene.chen.richtek@gmail.com> <1598441840-15226-2-git-send-email-gene.chen.richtek@gmail.com> In-Reply-To: From: Gene Chen Date: Tue, 1 Sep 2020 20:29:37 +0800 Message-ID: Subject: Re: [PATCH 1/2] leds: mt6360: Add LED driver for MT6360 To: Randy Dunlap Cc: jacek.anaszewski@gmail.com, pavel@ucw.cz, Matthias Brugger , Dan Murphy , linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Gene Chen , Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Randy Dunlap =E6=96=BC 2020=E5=B9=B48=E6=9C=8826=E6= =97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=8811:30=E5=AF=AB=E9=81=93=EF=BC= =9A > > On 8/26/20 4:37 AM, Gene Chen wrote: > > diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig > > index 1c181df..ce95ead 100644 > > --- a/drivers/leds/Kconfig > > +++ b/drivers/leds/Kconfig > > @@ -271,6 +271,17 @@ config LEDS_MT6323 > > This option enables support for on-chip LED drivers found on > > Mediatek MT6323 PMIC. > > > > +config LEDS_MT6360 > > + tristate "LED Support for Mediatek MT6360 PMIC" > > + depends on LEDS_CLASS_FLASH && OF > > + depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS > > + depends on MFD_MT6360 > > + help > > + This option enables support for dual Flash LED drivers found on > > + Mediatek MT6360 PMIC. > > + Support Torch and Strobe mode independently current source. > > Supports independently of current source. > > I'm guessing on that ending; I wasn't sure what was intended, but it does= n't > make sense as posted. > > I want to say is fled1/2 can independently control. For example, fled1 in strobe mode, or fled2 in torch mode, or both fled1 and fled2 in torch or strobe mode > > + Include Low-VF and short protection. > > Includes > ACK > > + > > config LEDS_S3C24XX > > tristate "LED Support for Samsung S3C24XX GPIO LEDs" > > depends on LEDS_CLASS > > > thanks. > -- > ~Randy