Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3341274imu; Wed, 7 Nov 2018 08:50:53 -0800 (PST) X-Google-Smtp-Source: AJdET5c0JaRcMJDGfHnm94m1CXUoFGRzDMblHNVwh2D3BwjHKJnlkVGPm3iq7+6EBJmUkXBxGB4i X-Received: by 2002:a62:9f42:: with SMTP id g63-v6mr941789pfe.144.1541609453850; Wed, 07 Nov 2018 08:50:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541609453; cv=none; d=google.com; s=arc-20160816; b=ZjcdEJA8sZoFbZcPbvpckLXveSJLPw5uV5aT6PyU98Pvs9WqzWMJPSzU1MkMn9DYty WDmSlj/vgxhPmqC+IJelqmtQTwKUfxwlSU7bGMQfcjTnvZiydpR/Eqgf0tuaG8yjJHOO QlVQYrUomaa0B1k/claAB5+arJ7u9hrfS0XZjnLxcwuGpEk0gLnlms/2VIB+nE3VF68I hF0spP0r+gVSbh1UB7nbynbJP0uAKr8dLSI2EQ1IGWlUyGzgQlega4c5fq78CmXPZf5z 7I9NeEExdpzad6w5kl1S1anO3b1eEZDDt+UyGoPzS0F2Bpz84cikwnWAWOxdi1oGS6kE hQzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=l4MR/yOzdaiu3RpU/lV7h41WnaZXbr8Qd0ZxkXDndnI=; b=Vz+xSyQAxE0hHgR0DlzasGvZafIkqIbI1WrGhaJy+K+uVy/glCb3GdddmHnv0qRepN Il3udYor6j/FViSi7RwGWdXRW0rV52FAE2FNk9tLVZV8z4RRYrqFIuejo27qzQQfkG0f Q1pLsmspmwbKc5Mpb+d++vlYiflFg6w5Sops5aVROal+SisrffHwNewraMmc4B9sU4w0 5d8JOAfrt+I12/LIijHCAMKphpFUF0p0CrtWvEbVyqeoXb9sQ9BUM0iJY1PWpa0Kc0TI kxy5vfOEns+3zh2p/DZ2KhpejrLHaQhDShDb5UL9uLrnmnaomwsPjeF84IekUz+Yq8HP uxOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=MHAxmtBd; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l24si1007376pgj.171.2018.11.07.08.50.38; Wed, 07 Nov 2018 08:50:53 -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=@broadcom.com header.s=google header.b=MHAxmtBd; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731137AbeKHCT1 (ORCPT + 99 others); Wed, 7 Nov 2018 21:19:27 -0500 Received: from mail-yb1-f194.google.com ([209.85.219.194]:37160 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727576AbeKHCT1 (ORCPT ); Wed, 7 Nov 2018 21:19:27 -0500 Received: by mail-yb1-f194.google.com with SMTP id d18-v6so7107138yba.4 for ; Wed, 07 Nov 2018 08:48:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=l4MR/yOzdaiu3RpU/lV7h41WnaZXbr8Qd0ZxkXDndnI=; b=MHAxmtBdrLOpj/+G6QszVt5hzyJJAMuZ9wtPMwwVM73DEAZ7Q7JbE6eRSJdqa94cG9 RKtcn8fxOcITsEDvKrSTWXp/kYJFzMVJDm99jdhMNo06KF2jO7Fk3jb11GvI2OXeVO09 /UbfTSiNqwEQxkwuy3wFHtqNrBphX9kvgIUCo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=l4MR/yOzdaiu3RpU/lV7h41WnaZXbr8Qd0ZxkXDndnI=; b=mJSgjsWw6yWg7gtHTiEllcaShpGjU5F/dj5MVXoGFLNeD0d05PAgWJil0fIp4bhUIx ft55H4GvhDrqz2Ut/l4N+HhAiUfFzpuxCA9051IBC5B73HR5nzdZHnPLoKg1XS+tHj5n ngjqvkoS9bZKYALcuB+BBcwzJi0nv0ykQMgfZHKWuB8soSpaJkRGWExe5uAGYO0KOmAF m80I0h/+cjHg2VsGd435GMB2XZGvEsCSN9f1Jq3BrVsq7hH8wS3suqt99/nFaAW2giOF VK12YXojeJapxUW53D7CQTo+sY1N4so5HTJVNrT50lmO8QfYCXVPyfQk3bYIUwi65DDS NvUw== X-Gm-Message-State: AGRZ1gLVZ+l1sm6z0uTTJYaenxpIvIG4B9ugmRrN38NrfUmlsMsryOGs be1EkXiCFW/aflnTfvWUrcHQ6EzofwJbnYIk X-Received: by 2002:a25:c781:: with SMTP id w123-v6mr957761ybe.135.1541609296891; Wed, 07 Nov 2018 08:48:16 -0800 (PST) Received: from [10.136.13.65] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id 10-v6sm267894ywt.47.2018.11.07.08.48.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Nov 2018 08:48:16 -0800 (PST) Subject: Re: [PATCH 1/2] pwm: kconfig: enable kona pwm to be built for cygnus arch To: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= 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 References: <20181107093613.26734-1-peron.clem@gmail.com> <20181107161247.sesu2comhes2d4kx@pengutronix.de> From: Scott Branden Message-ID: Date: Wed, 7 Nov 2018 08:48:10 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181107161247.sesu2comhes2d4kx@pengutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-11-07 8:12 a.m., Uwe Kleine-König wrote: > 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 good idea to add the COMPILE_TEST just to increase compile coverage > > Best regards > Uwe >