Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp674486rwb; Fri, 7 Oct 2022 02:37:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM684qKDcBiFUOrj7zsxCr4C2xxDmoH5cCZqe8dEj5zivx+Hwud9gd8dMRpmTtVBgH4Wg8rJ X-Received: by 2002:a17:906:dc8b:b0:787:8f41:d231 with SMTP id cs11-20020a170906dc8b00b007878f41d231mr3404637ejc.547.1665135477265; Fri, 07 Oct 2022 02:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665135477; cv=none; d=google.com; s=arc-20160816; b=dYJaybpkqn+FSgZlUM8f3ldZvcU6KWJ0na0GtgWiaCTJ0QNIH2sUHLCrIh3BdLsMyB FmbTp8hV7z7RN5kJF5xMe3mwqFv9yvjYYV6y5rNc239KD1SEGipVqkdAupYEnwQjhMtD iByIvXgSpxl91kfXueMljXiCWUUaIJNBp+MkznYD3LdLiyk2W6t6kTKiBfhhFAe31PFj yDoHOhoMlp2WFwLQDQ6oPqWGDhmcihFsNmO8/PEkw1As1fFJl5FmvMNr3stq6f83hNLB TdmhusI+NhkQTlgtV0caIJ6DT40PC2fdUkETLtyORvZQaiyQvn+Ov4ew7P7nW0fK3cEv uXTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=WPdNUPQIbyzCDHptPhLZjzwPgPWTVb2ay1+lXqB7L74=; b=bmlOKV17r1Mppov2z3ooiKLfkACHBTc3wQliw57ZHOV+Wfh5CgxWVJFHTa6zGu9kr9 khOXF0m0H8QTnD0rEce+U99dEstgO+KeNLxyOrJhZ0PyYGjfqRppMcwMN0XI+QQSJ1QH ihtvX8bCVbwRxSIlrDeWeyR1kgtaTLDnVtzcIrRVZ2v4QyADl941rcXQWBml3DGSvrtt HS4dRXB0qdJT5iv91x4hbkYZk6/bQED3MTfehU73d0H4DjW9QXINh30ocfcBvrzXVkwx DVYYe5XbMKsqfCi8q3wppkFYosH8EypQS+VX7p7epSQ2eNP141BIh2kafeS2B0BMdfYX u0pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kyCvqBub; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk44-20020a1709077fac00b007881b45441asi1997426ejc.721.2022.10.07.02.37.27; Fri, 07 Oct 2022 02:37: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=@intel.com header.s=Intel header.b=kyCvqBub; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229591AbiJGJT2 (ORCPT + 99 others); Fri, 7 Oct 2022 05:19:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiJGJTZ (ORCPT ); Fri, 7 Oct 2022 05:19:25 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB7236C972; Fri, 7 Oct 2022 02:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665134364; x=1696670364; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hoHyGOlZw7mT9PchNcyohGTzSrqH9AYZczrdE0VAU4M=; b=kyCvqBubOBZezdH4TXrbtP66CK3UlyUQMU9C7cPYB3JOtRsdCM8vWUvb oILIO7/RWD0qYRN4H792aarVY8yq7XVBGxNmdQgCUOE8PIYvkXcJ0IcXO XTafkxrVhl4nrw6KrxEy0d4gMDqqyPGd5Zx9JmtDuojcliTB/QhLKpNPc FJ8t4TjaxfgAmZ0o0L1CGGzcWubBo9s96B7go8eLTiBUcFcxoUsiUdliQ Dxzkolt3zaGPSq2rKE4r9h6waaXg831bN6KrnmjI/21yqwdL6v8zTBc9B A7nNHU6DjvqFwAbgQmlLTAI4ldbsPVqOazJWaZeGhOI9jpBFmlaCSdIHi Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10492"; a="303672950" X-IronPort-AV: E=Sophos;i="5.95,166,1661842800"; d="scan'208";a="303672950" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2022 02:19:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10492"; a="620197894" X-IronPort-AV: E=Sophos;i="5.95,166,1661842800"; d="scan'208";a="620197894" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga007.jf.intel.com with ESMTP; 07 Oct 2022 02:19:20 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1ogjVm-003Xxs-1k; Fri, 07 Oct 2022 12:19:18 +0300 Date: Fri, 7 Oct 2022 12:19:18 +0300 From: Andy Shevchenko To: ChiaEn Wu Cc: pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, jic23@kernel.org, lars@metafoo.de, chiaen_wu@richtek.com, alice_chen@richtek.com, cy_huang@richtek.com, 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-iio@vger.kernel.org, szunichen@gmail.com Subject: Re: [PATCH v13 5/5] leds: flash: mt6370: Add MediaTek MT6370 flashlight support Message-ID: References: <1bcd19dbd09650ddac7b96b0fe2932698be2731e.1664991040.git.chiaen_wu@richtek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE 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 Fri, Oct 07, 2022 at 09:28:17AM +0800, ChiaEn Wu wrote: > On Wed, Oct 5, 2022 at 8:15 PM Andy Shevchenko > wrote: ... > > > +config LEDS_MT6370_FLASH > > > + tristate "Flash LED Support for MediaTek MT6370 PMIC" > > > > > + depends on LEDS_CLASS && OF > > > > Why do you have OF dependency? > > > > Hi Andy, > The original idea is to use the "fwnode_property_*" related function. > But this side may only consider just "Build Pass" (?) Yes, you increase a compile test coverage by dropping that dependency. > I will remove "OF" in the v14 patch. -- With Best Regards, Andy Shevchenko