Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2572641imu; Wed, 21 Nov 2018 13:54:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/WYE8ylA6LVo7vFKQk4eYT7Y0Cc/B1od6xl06qcbDU1RmhmlEUJQpXyewsj8vKnZlRQpf1e X-Received: by 2002:a17:902:bb98:: with SMTP id m24mr8365987pls.71.1542837290502; Wed, 21 Nov 2018 13:54:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542837290; cv=none; d=google.com; s=arc-20160816; b=M8PoVQSMcww/V49RGjELMAJ+9Am0zTAJ1+GYITkmXExUXHVoTi8C5NopVsDJjAwuy9 K23Uwuueq2WdL3ecou1nsB0vadobuNyzlTKp/+iz6VbtOw1KY4C/vHBdnmIGBx4A3qbt aE0b74JCVvNsenwCZTFsoATlCSANBWbObTJrhtvwBNX0C0ZuTh8YjR4Q8c/CGpI7onok PuPPimmSC7wY9A7ZCjkrksdSJFEBkQrWi6iBejAhKLCZ+x9tADALpUDiwlypFbOPdpW6 fAWVw+Zw3Nde/JUEDGXcrJvhkOVpRPkhT7/eiYx4BpHx1S65S7bu4begF/nWPPbtwKzh hwIg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=B3qpv5WyX1b+PDKFsBx5kN+PVR72VQ0X3e5CRzUKvKQ=; b=XpZonRMjvWfj2KU9uLExPUwNd3382zOCyei33w/VnkHewOX7dRjBC5AB+a0eMDkIf3 409Z2oJlGp59ypOTUm8avsjvMFZrUcl+uWBqGHj0s8Sapljof7xv5D5ehHbrMJelo3YH levLzgGYr9VWuunt4Qcq/dVBcTY25Mwq5S6r40iJCM+v/jFh/9UDSWxv97CHwnYKQyge zXUNGleg3maFpl9ApoXsHYJlDNmZRg8G4ptbhwEBevnC1oxOKjI4Is3DqgifggICBb5I MmBvDTD13dylGLnYxye811Vt+ao9xBlVxHmZHyxO7IKKy2EP1pLFQfZEO0a9EgMxdt4P W0cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=RvimzRj6; 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 l4si43402184pgr.346.2018.11.21.13.54.36; Wed, 21 Nov 2018 13:54:50 -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=RvimzRj6; 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 S1731874AbeKVFgj (ORCPT + 99 others); Thu, 22 Nov 2018 00:36:39 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:43339 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730387AbeKVFgg (ORCPT ); Thu, 22 Nov 2018 00:36:36 -0500 Received: by mail-oi1-f193.google.com with SMTP id u18so5411358oie.10 for ; Wed, 21 Nov 2018 11:01:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=B3qpv5WyX1b+PDKFsBx5kN+PVR72VQ0X3e5CRzUKvKQ=; b=RvimzRj6Vh03YzdaKPH8D1c9tOjh9W/xZ5i7WRfCu0blA+xsrOfDE+AsGy4NUzP3Qu a6NgjUc21bZnNcpsN630H8YqF+Pd/L7SAJGnMEKnnJdF8fi9mdefZYqIfo3GUIKESGff Z70z8J0QqeRMWBcDk+yUcn27qJIYHE15gVto0= 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:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=B3qpv5WyX1b+PDKFsBx5kN+PVR72VQ0X3e5CRzUKvKQ=; b=PxYPHh6VtdKeXZKPB1SLqPJRM4LzTayYEX7Z8Zto1JAQ5YmgQ7KWUjx5ryFC9i2Do2 oLTFLgrMsTgWoRE6o2C6nFdfUF90T8HQeWnKN0uhq3n8m51btl7qzWDKpZiAZrjTKsnH RcUzoFGMsllsVBmqApWNH2O2ioPSpYo2viBEQAeSyQZg4FN9SUDHlbczDy9EcvjNMyTf EgOLnqNxatVaCVso+7A9wi5MPFwTBUJHH2CqPOs15ypCbdT+845lI2Ls45//c7HOlEAi 2PmStwzhHwrUVidP79cz98L+3jLEZ4MuA+7MMQ1RioHe5lzQcj+yAg+Ak2tuy2L3qJJY bYiA== X-Gm-Message-State: AGRZ1gKcdcSVuBrfxaYYXzgyR7ywIBtoWOv3vhA4AmLElb10Df1mTZau u1b4bHT/71YOgTpKVhSPVeLaHeRY7iQ= X-Received: by 2002:aca:130a:: with SMTP id e10mr4089434oii.326.1542826864063; Wed, 21 Nov 2018 11:01:04 -0800 (PST) Received: from [192.168.1.3] (ip68-228-73-187.oc.oc.cox.net. [68.228.73.187]) by smtp.gmail.com with ESMTPSA id 30sm10761844otr.64.2018.11.21.11.00.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 11:01:03 -0800 (PST) Subject: Re: [PATCH v2] pwm: kconfig: enable kona pwm to be built for cygnus arch To: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Thierry Reding , Florian Fainelli , Ray Jui , Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20181121123508.25119-1-peron.clem@gmail.com> From: Florian Fainelli Openpgp: preference=signencrypt Autocrypt: addr=florian.fainelli@broadcom.com; keydata= xsBNBFPAG8ABCAC3EO02urEwipgbUNJ1r6oI2Vr/+uE389lSEShN2PmL3MVnzhViSAtrYxeT M0Txqn1tOWoIc4QUl6Ggqf5KP6FoRkCrgMMTnUAINsINYXK+3OLe7HjP10h2jDRX4Ajs4Ghs JrZOBru6rH0YrgAhr6O5gG7NE1jhly+EsOa2MpwOiXO4DE/YKZGuVe6Bh87WqmILs9KvnNrQ PcycQnYKTVpqE95d4M824M5cuRB6D1GrYovCsjA9uxo22kPdOoQRAu5gBBn3AdtALFyQj9DQ KQuc39/i/Kt6XLZ/RsBc6qLs+p+JnEuPJngTSfWvzGjpx0nkwCMi4yBb+xk7Hki4kEslABEB AAHNKEZsb3JpYW4gRmFpbmVsbGkgPGZhaW5lbGxpQGJyb2FkY29tLmNvbT7CwQcEEAECALEF AlPAG9YXCgABv0jL/n0t8VEFmtDa8j7qERo7AN0gFAAAAAAAFgABa2V5LXVzYWdlLW1hc2tA cGdwLmNvbY4wFIAAAAAAIAAHcHJlZmVycmVkLWVtYWlsLWVuY29kaW5nQHBncC5jb21wZ3Bt aW1lCAsJCAcDAgEKAhkBBReAAAAAGRhsZGFwOi8va2V5cy5icm9hZGNvbS5jb20FGwMAAAAD FgIBBR4BAAAABBUICQoACgkQgTG1xCm8ZqD+Dgf9HhhzqvJYIPomNeg+ll7/TbzWb871E+HQ TaufJQFQwLEbgdFSZO2uj4UqfDpCyTwtHTVMJogWt3pCAE1sadeIY8OlT6918ofKIl8AiHj2 BlfL7ASZ5wzkRMt/4TZ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e1wZPZbP/Y+VtmqSgnExBzjStt9drjFBK8liPQZalp2sMlS9S7csSy6cMLF1auZubAZEqpm tpXagbtgR12YOo57Reb83F5KhtwwiWdoTpXRTx/nM0cHtjjrImONhP8OzVMmjem/B68NY++/ qt0F5XTsP2zjd+tRLrFh3W4XEcLt1lhYmNmbJR/l6+vVbWAKDAtcbQ8SL2feqbPWV6VDyVKh ya/EEq0xtf84qEB+4/+IjCdOzDD3kDZJo+JBkDnU3LBXw4WCw3QhOXY+VnhOn2EcREN7qdAK w0j9Sw== Message-ID: <29dc5815-e897-ca7d-0e26-668faa635938@broadcom.com> Date: Wed, 21 Nov 2018 11:00:45 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <20181121123508.25119-1-peron.clem@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/21/2018 4:35 AM, 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 Reviewed-by: Florian Fainelli The "default ARCH_BCM_CYGNUS" could arguably cover ARCH_BCM_MOBILE as well, but this is not probably worth a respin just to address that. > --- > drivers/pwm/Kconfig | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig > index 27e5dd47a01f..982f4059f4e8 100644 > --- a/drivers/pwm/Kconfig > +++ b/drivers/pwm/Kconfig > @@ -88,7 +88,9 @@ 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 || COMPILE_TEST > + depends on HAVE_CLK && HAS_IOMEM > + default ARCH_BCM_CYGNUS > help > Generic PWM framework driver for Broadcom Kona PWM block. > > -- Florian