Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp22301223ybl; Mon, 6 Jan 2020 23:28:08 -0800 (PST) X-Google-Smtp-Source: APXvYqx4Jun8HaeLuGs2tRj9rYPA7Ck45xP/NPGVnNfoaontd+8ahJ9AAntu3vadvNVg+OOndIdp X-Received: by 2002:a05:6830:2111:: with SMTP id i17mr112862882otc.24.1578382088537; Mon, 06 Jan 2020 23:28:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578382088; cv=none; d=google.com; s=arc-20160816; b=DREdgnjkv0DQDwGirwM67fZRKacwO55PxFRj2mbEYrD9EPzWypYZz+HLDMErDGzwhT BVA5v8i2wX9MfaPVMgi3fUKIUf6anjYNj/RmhnC2Gsb2Sy+1J8KVXvCLuxjRfRB7Q8gj fJ++dzhdw66lqYwUlDrncCHSdZvh8/6jcf2Ecy2U/fcqa8bFDEmp//axPZkNZe185f95 59mkIEDTSGtr9RXk4v1DwjD+sBSAMQ5fF3XdSI4CASLCYfP9mfVtAvP9BkknmMaVg+G6 hM+5SpYGAjEzcgMbACjoQpoec5ZT9gn3T30wh9lVychY/uZc+BpJBCMLpH7QI4kPK08i js2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=wq7DFEUvP+0wFlYrjSXvC5PRny+kxFc78/76X4NTgJE=; b=nT0slYRE/lHc0D1u9VyLSfHCfuRIyTc73RlCuriLgm3CTXRC6P1kIQryt8Ktf/fLSx TBTZ1sFvLzhP5WyWBGqlzcvPrnYy72BYc+VKSbTWYVP4rN8h5q5agill5I+prfBED5UW Wp/bac9IIGAMsVeteuR8mcYpfq27pijRECdWfVlDVRDHdCCTy0frBqzRUsZ0jQIlirw7 pmmNCgnrRY4RuO6W5623qldCyKs0NBYPgdc5nFm/3+KW48GaY+AWeLquwyaA+FDfbmPG f6uDcp2dpR3/aWvVRo5BO5w6uKDlzioZ1o7/DuJMmq+QncczpHLG/0Jo/cP2F9b82247 YiBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si32863638otr.245.2020.01.06.23.27.54; Mon, 06 Jan 2020 23:28:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727335AbgAGH1E (ORCPT + 99 others); Tue, 7 Jan 2020 02:27:04 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:51499 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725987AbgAGH1E (ORCPT ); Tue, 7 Jan 2020 02:27:04 -0500 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iojGI-0000qU-CN; Tue, 07 Jan 2020 08:26:46 +0100 Received: from ukl by ptx.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1iojGH-00029v-Ic; Tue, 07 Jan 2020 08:26:45 +0100 Date: Tue, 7 Jan 2020 08:26:45 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Krzysztof Kozlowski Cc: Thierry Reding , linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org Subject: Re: [PATCH 2/2] pwm: Enable compile testing for some of drivers Message-ID: <20200107072645.ko247bwhh3ibdu73@pengutronix.de> References: <20191230172113.17222-1-krzk@kernel.org> <20191230172113.17222-2-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191230172113.17222-2-krzk@kernel.org> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Krzysztof, On Mon, Dec 30, 2019 at 06:21:13PM +0100, Krzysztof Kozlowski wrote: > Some of the PWM drivers can be compile tested to increase build > coverage. > > The Meson PWM driver requires COMMON_CLK dependency. I'm surprised that there are not more that need this. Is HAVE_CLK not enough? Also HAS_IOMEM is a typical requirement, but I tested with an ARCH=um config (which does't have HAS_IOMEM) and they all compile fine. > @@ -318,7 +319,7 @@ config PWM_MEDIATEK > > config PWM_MXS > tristate "Freescale MXS PWM support" > - depends on ARCH_MXS && OF > + depends on (ARCH_MXS && OF) || COMPILE_TEST > select STMP_DEVICE > help > Generic PWM framework driver for Freescale MXS. > @@ -328,7 +329,8 @@ config PWM_MXS > > config PWM_OMAP_DMTIMER > tristate "OMAP Dual-Mode Timer PWM support" > - depends on OF && ARCH_OMAP && OMAP_DM_TIMER > + depends on (ARCH_OMAP && OMAP_DM_TIMER) || COMPILE_TEST > + depends on OF I'm surprised that OF isn't required for PWM_MXS but is is for PWM_OMAP_DMTIMER. pwm-mxs compiles without CONFIG_OF, didn't test pwm-omap-dmtimer. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | | https://www.pengutronix.de/ |