Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3792564pxk; Tue, 8 Sep 2020 02:36:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkCQBQbBTtk/rDfEvOX3o7o84PdukccHxXhvYosa334vZt47oRGEyoEUDiMgdX1oHAbFzk X-Received: by 2002:a17:906:30c5:: with SMTP id b5mr15013705ejb.98.1599557816322; Tue, 08 Sep 2020 02:36:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599557816; cv=none; d=google.com; s=arc-20160816; b=bOupQme9AjopFdnb74sVf65Nug62gJESqnhf/hUjQ6W1Nk7AbAiTZznLAQWPt3NyxP xwH1kPkw8RcPPHGtCzePdcpRPB+zpuuQMO6Euc3SykKlnqWSY9yY/9rXbl2H+dNeB17/ +Jd2jahgi/S+oS6xBApMvtjuA+bkrksmIQ9Yr+peMVacAYjXJ5ZDdqj6c0p8fp2ogz5o vVa2JekfCKvnFuUbvGqsJ1sc4JGpWsIGIyTk6yYtwNV8W6AtIdj0Su7KtCitFW9e3Mq8 v8l367j+9UJOf52eWCZV6v+mNdTjewb1VHATSqSx/ngKBJ772J+kEcXTrW6+2PMAJ7Dg dv0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BeqWiKyy2q9h196I07hlm698YeqsB6n9xDnRMOn41fE=; b=wQTTPForWwxIH1s8LIJA7935V65vE229kRPZ3e3r2ykFWWy5fdE5KG1jYotLgWsG+u kbcrk4LnP01JZpc1dQUYqCRC4ASXo22gTK/Z5/RHjHnD6ix59hHixULK9lpfiNpUua5F WOxZMSGSpJ+GllPfzTr0Frm0jyACyfnUFxT2eXH2USkCvLrxjOqsN4AT6wK7jvKwtrXx Dkb5OAin29CHAWVd1wpYBcw8Mx5vqRL0cOzmllAyf9ZZn8FL2VyehZCO9dI/ZCimtCXT 4IaELSO5RF8EZUdSvZXwqnARUMSuHeMxb3jf0Dg1dZzK6myz44dz02En3UmGQevvQCN9 f8pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zRfCxghf; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw15si10237228edb.299.2020.09.08.02.36.33; Tue, 08 Sep 2020 02:36:56 -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=@linaro.org header.s=google header.b=zRfCxghf; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728739AbgIHJf7 (ORCPT + 99 others); Tue, 8 Sep 2020 05:35:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727995AbgIHJfx (ORCPT ); Tue, 8 Sep 2020 05:35:53 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25EC1C061573 for ; Tue, 8 Sep 2020 02:35:43 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id a9so16458748wmm.2 for ; Tue, 08 Sep 2020 02:35:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=BeqWiKyy2q9h196I07hlm698YeqsB6n9xDnRMOn41fE=; b=zRfCxghfDE520rmBsbZWLpRUQoNwbS7ZJswAcOp3EFCxZF/qxDkslg0bMkhEaPbnvQ uQoIootj9J20mEuW52nBQncMupNt1Z/lrCEUp/hTHF2cbW4ze5phqMwUHXT88Onf6T6U XPt1SuCD3Pnx/vROIgCZq2UKCI8XwvSjGmQKOioKp15LciAkortrb6a+oqK2wy+7ceiI 6hNREpWE+8PRikBCPMWWciaHI7emd+oSPkxLRmdsOyvZBcQbUOS4zc4yyIT4eFeywSTO 0Inzytl0SCyaQ4Yegfmjydgu/XZk4F5SHVzA2/rJ6rW8YxtvwaYnGVSSvD2+AazINpeM 5Kag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=BeqWiKyy2q9h196I07hlm698YeqsB6n9xDnRMOn41fE=; b=ZzPhQFVuIbrFrHiKBuVU7X+kp1xbvugw3yoaAKhT5dc15KP8mXAJXn4MzEPWw8wZvV w4cc3J5kHvp/NgDXXoxgc16mJyqqDy0EQXU2hIt6ImH1b9KEFUqvRo1Klp2ZZbT6N+E8 rFwiUsZEwyrcs8zoiYAmoAzxjbHSl02N9MylP7PC7SmlynrFrWRya6mQZdMp+5JC68sf ViFfxAwOpIQpmFPt+IoHiHAWijvWkJhDNSDumw+ttXC8Tlu0hmIT8g1nV+mpkCRarjML zRHef30NHihY0g/EvpzDN18oUsI6ucS8oKzeOxH631s7BAVODTNmlhpdLmzXDhY6cV4v 2NYg== X-Gm-Message-State: AOAM533f/oZ8KRYfEr2ftLAxWXpfUegMPfG6ti3Awjo3djQxNAIIAQ67 9e7Wu0cEenbz0/hwPfEZduzMng== X-Received: by 2002:a1c:7d0c:: with SMTP id y12mr3504117wmc.103.1599557742367; Tue, 08 Sep 2020 02:35:42 -0700 (PDT) Received: from dell ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id q12sm32786028wrp.17.2020.09.08.02.35.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 02:35:41 -0700 (PDT) Date: Tue, 8 Sep 2020 10:35:38 +0100 From: Lee Jones To: Andy Shevchenko Cc: Jonathan =?iso-8859-1?Q?Neusch=E4fer?= , "linux-kernel@vger.kernel.org" , Rob Herring , Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Alessandro Zummo , Alexandre Belloni , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , "devicetree@vger.kernel.org" , "linux-pwm@vger.kernel.org" , "linux-rtc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Heiko Stuebner , Josua Mayer , Andreas Kemnade , Arnd Bergmann , Daniel Palmer Subject: Re: [PATCH v2 05/10] pwm: ntxec: Add driver for PWM function in Netronix EC Message-ID: <20200908093538.GM4400@dell> References: <20200905133230.1014581-1-j.neuschaefer@gmx.net> <20200905133230.1014581-6-j.neuschaefer@gmx.net> <20200908081445.GC4400@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 08 Sep 2020, Andy Shevchenko wrote: > On Tue, Sep 8, 2020 at 11:14 AM Lee Jones wrote: > > On Sat, 05 Sep 2020, Andy Shevchenko wrote: > > > On Saturday, September 5, 2020, Jonathan Neuschäfer > > > wrote: > > ... > > > > > +config PWM_NTXEC > > > > + tristate "Netronix embedded controller PWM support" > > > > > > > > > > > > > > > > + depends on MFD_NTXEC && OF > > > > > > > > > I don’t see need to reduce test coverage and use of the driver by sticking > > > with OF. Actually it’s not used. > > > > If the device is only known to boot with OF, then it's pointless > > building it when !OF. > > No, it's not. As I pointed out the (compilation) test coverage is better. No, it's a waste of disk space. Why would you knowingly compile something you know you can't use? That's the whole point of COMPILE_TEST. Note that when you want real coverage and you use `allyesconfig` and/or `allmodconfig` then CONFIG_OF is also enabled on platforms which support it. > > If you want to increase test coverage enable > > COMPILE_TEST instead. > > It is one way to achieve that, yes; > > depends on OF || COMPILE_TEST > depends on MFD_NTXEC This is better. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog