Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp337060imu; Thu, 8 Nov 2018 02:48:45 -0800 (PST) X-Google-Smtp-Source: AJdET5cseHTUa6/bcN7AVLENJqnGFAh3wLCJG6tJ19xKz0I0kCkZ9IMkGOnMMlEgr0KBt94AzJhA X-Received: by 2002:a17:902:144:: with SMTP id 62-v6mr3932023plb.142.1541674125471; Thu, 08 Nov 2018 02:48:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541674125; cv=none; d=google.com; s=arc-20160816; b=ANUi6YaouDuJlKbKVd5SaljgFRYMPUeqcm8K5HlXTpkm4+a/TYRdgdWbM1FdUR7VBw X4bRg1BqGXhdPCe1HVr7c9KQqKaQlHsSOlkmyuUHaRmQ/JxNLi1pfzVjLWN+2oi1/4jW PihdC7Vyb2xM6U+s4Ho424E7zMyi/wvOvm/POwHK31BgyKfrqRIfhHx+EdvpEH0EN4A2 lWLqShzYBM9UYyecbDOa9lp0zT7LYyxXdzBqe7+8xhMd6dFDMLYpN3cDY7weXtNGWgtD nGUQI7fJHQD6NadFwLzEB48RAaXBvGwl8wBa06rP/nWkpitdwD7AE4LNkXpcO4/dHpug Ffig== 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=Hsk+Q2J3Wg5Qckzl+HJrRNpuJs8lpknR+FIAmR6dFQg=; b=n/XpVRZq3wplldfthQLMiWhZbY4/U34PMtn/kFp22XmqSek3XVDzwN47EERzuu9J+m RrlxrYrzSu+N28kcR4SlnZC4X93iLQd9wTvHeuZSvkdQREdX11BBpOv6tT5hqke6EdIe 1T1HQunPuljmzMfqSZFLscuAOhja+7wAO7vSdeCW49Jcep4ssTQlIaXL8qlaxYCbv9W4 inMKoDKz/sXuU9Kh/YRSjXl4RArqUnnkQuEkFZ49mCrE+ohx0AEcvX3oenTSAmSUTs1Z nSy82I+DwnIcOeQbC/iabUKA0ucBu6iTzysrHXWD4sbTkKpfnxkkRX5d6vYfepmwBbjP hV2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J0UvrWDc; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q20si3534630pgl.268.2018.11.08.02.48.29; Thu, 08 Nov 2018 02:48:45 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J0UvrWDc; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727028AbeKHUW6 (ORCPT + 99 others); Thu, 8 Nov 2018 15:22:58 -0500 Received: from mail-yw1-f67.google.com ([209.85.161.67]:36949 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbeKHUW6 (ORCPT ); Thu, 8 Nov 2018 15:22:58 -0500 Received: by mail-yw1-f67.google.com with SMTP id v77-v6so7825177ywc.4; Thu, 08 Nov 2018 02:48:04 -0800 (PST) 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=Hsk+Q2J3Wg5Qckzl+HJrRNpuJs8lpknR+FIAmR6dFQg=; b=J0UvrWDc53ros8JlFf8XMm9RKlpF8E9Ib6PtxqloGElop844ed9SFIjUp/YeAJn/UA jJvHtk8xxYttfx6on+9pd18GtLl3U5fShRutvrqqy0TRjh7XFtDTcQ688AjcIDV3xMLC Cxnt/PZq+1Rt74/fArnHUaOIX9M6EULWSzzn8Mw3kCDJiK7wCZvNGB4hQElSiHu+Giiy 3O+9HJG3j5iE3Gse4X48Vqw0puRGwYO3cfDgLvsu5iaHjMXIFBVweFMYtAaYofRyD5Gf BFcIxivIhiBNaC53uABu/hTTnGNM4iOjE/EAkkRJPGBsRiR3ps2aSKeo9qekjjhiYVfs Oemg== 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=Hsk+Q2J3Wg5Qckzl+HJrRNpuJs8lpknR+FIAmR6dFQg=; b=TZchfltz/YUNspWZbPdvJiw/hZJ89zTbIkcI1H0omI7fGCUkl7gNRggApYzWESUVK1 xWS4UouGk7wfGMCQ1mjDyubYqbGs3dM/1hXKt2pZWBHUPw01z7niG0sCEbbA51Y4bNfb shYWyHSzlnQpdTI2hTa81TVtbPUT3FJh0r0J0rVzia/hYsdTBt+dewOGMS1UuQ3EroVn hynRQg5sLH1zKtlrPIt9gN3v1+9aR6IrkbjyZ9OwsvbMjJQvqb04i1C3IWCJwUlQwNwV 2IwYesV71eUrSxu7rMgUlawKdrqH/5O1H7yb5LQ2+RqJaiLn4DmS2GgQGIyTF3EHuCib V0gQ== X-Gm-Message-State: AGRZ1gKtK7HJCGYEGiCevJ/D6n5/uAuU0PHh3MVs8OwA4TOlHm45hI76 2pHtZi2w04ZYPIsKZ35OG3nXQvVwvB//oBFq38Q= X-Received: by 2002:a81:9f8b:: with SMTP id w133-v6mr3615474ywg.163.1541674084296; Thu, 08 Nov 2018 02:48:04 -0800 (PST) MIME-Version: 1.0 References: <20181107093613.26734-1-peron.clem@gmail.com> <20181107161247.sesu2comhes2d4kx@pengutronix.de> In-Reply-To: From: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= Date: Thu, 8 Nov 2018 11:47:53 +0100 Message-ID: Subject: Re: [PATCH 1/2] pwm: kconfig: enable kona pwm to be built for cygnus arch To: Scott Branden Cc: u.kleine-koenig@pengutronix.de, Thierry Reding , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org 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 Hi Uwe, Scott, On Wed, 7 Nov 2018 at 17:48, Scott Branden wro= te: > > > On 2018-11-07 8:12 a.m., Uwe Kleine-K=C3=B6nig wrote: > > On Wed, Nov 07, 2018 at 10:36:12AM +0100, Cl=C3=A9ment P=C3=A9ron 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=C3=A9ment P=C3=A9ron > >> --- > >> 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 migh= t > > want to consider > > > > depends on ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS || COMPILE_TEST > good idea to add the COMPILE_TEST just to increase compile coverage Will Do. Thanks, Clement > > > > Best regards > > Uwe > >