Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3302513imu; Wed, 7 Nov 2018 08:14:44 -0800 (PST) X-Google-Smtp-Source: AJdET5eMJLpYDrhS4jwc3wUx1oxSX8+Qnv5bYe6y7J2BIVJrPlI8PFzoxh2bIIwFul8D7m7IDZNm X-Received: by 2002:a62:9989:: with SMTP id t9-v6mr792768pfk.179.1541607283971; Wed, 07 Nov 2018 08:14:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541607283; cv=none; d=google.com; s=arc-20160816; b=rlGpXHLuoewAgqsAEdmkHeQZ+7hMaUqzxo3R8YAGtQB9MCsQRkCof7FxrWkuTvDmvg oGmsunMM2wQBuMTUE7sUNj0cS5oDDhPxyy7ued+W3iEI/Re/COTUU+28vAwV72Zz0rfo zYyJf8wfWxvhEqubhAJSNATGFoIgSGUy2U4/StRkqyeb6QzHnV3fS6IV5kB0Aa0ZgqJm NXmA7Y+kuKpnU7RZ5g15a+NtPeTCZ7ZHEIbZt7+Tkzs5JWAiH+g1y5MrO97g56MQPTUQ hg9jkVbsilAxe0PTMJ84aW3DCXbTmh54QMxl2lWnBUvPtJyDcc+a7pI1m45dU/Zri9BZ kqig== 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=3WteVgwrBFeCCFoC4VTszgCJly8jWcUY64Q5zBRol1k=; b=hBAdayKmtYb5920PHxCSf96RJnxXq7glbC2AyBSZDU4yLNco75Upge7y0cklPG8yTK zFOcBw55CMLLA1qxIqlYXNcsnNuY88bAZNSC35vRcwVCI0BQtofAKPs1v/MVONvH0t2n vHAYKlM/uT8uVODBZKxjThvzH1NPwZi713nqWwjJoQjXZAbmEiIXTHp8gyEfl/f2C7qQ VYnPjcy+Yn2ec/WxZg789NHy+unedvXEPnd3sGq0PTThQUwfDy+lC7SiGVzIQoAQoojC VZtz243s53fGyCjhk66Momr9wDTWeZLMWcWhMLm03y1rBb44xvJxA6G8fzDJJiBWN/tn DpiQ== 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 h13-v6si887839pgj.457.2018.11.07.08.14.28; Wed, 07 Nov 2018 08:14:43 -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 S1731390AbeKHBnv (ORCPT + 99 others); Wed, 7 Nov 2018 20:43:51 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:40609 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731379AbeKHBnv (ORCPT ); Wed, 7 Nov 2018 20:43:51 -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.89) (envelope-from ) id 1gKQRk-0003xI-CG; Wed, 07 Nov 2018 17:12:48 +0100 Received: from ukl by ptx.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1gKQRj-0006sF-Qz; Wed, 07 Nov 2018 17:12:47 +0100 Date: Wed, 7 Nov 2018 17:12:47 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: =?iso-8859-1?Q?Cl=E9ment_P=E9ron?= Cc: Thierry Reding , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] pwm: kconfig: enable kona pwm to be built for cygnus arch Message-ID: <20181107161247.sesu2comhes2d4kx@pengutronix.de> References: <20181107093613.26734-1-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181107093613.26734-1-peron.clem@gmail.com> 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 On Wed, Nov 07, 2018 at 10:36:12AM +0100, Cl?ment P?ron wrote: > The Cygnus architecture use a Kona PWM. This is already present > in the device tree but can't be built actually. Hence, allow the > Kona PWM to be built for Cygnus arch. > > Signed-off-by: Cl?ment P?ron > --- > drivers/pwm/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig > index 763ee50ea57d..76d56fc8b1b7 100644 > --- a/drivers/pwm/Kconfig > +++ b/drivers/pwm/Kconfig > @@ -88,7 +88,8 @@ config PWM_BCM_IPROC > > config PWM_BCM_KONA > tristate "Kona PWM support" > - depends on ARCH_BCM_MOBILE > + depends on ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS > + default ARCH_BCM_CYGNUS Is it possible to build this driver also on other arches? Then you might want to consider depends on ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS || COMPILE_TEST Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |