Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14516958ybl; Mon, 30 Dec 2019 11:34:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwlZxVHTEBqEdkkCI6NKKZp+iZ8UqXICTmxKPQCUBcPoyTSAAzn4Yg3WAJdMS/GJYfrflh9 X-Received: by 2002:a9d:53cb:: with SMTP id i11mr78055891oth.158.1577734461289; Mon, 30 Dec 2019 11:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577734461; cv=none; d=google.com; s=arc-20160816; b=cuawowhomGyO1yQ4V+8TWvxKz1ZSoPCXC7Emt2IUavFxxRLw42BByeD/IdDrMFZDnx SNhplE67+al0xzGAFu107Dz6ZvB/yniY9GIcX8n5SX6qaU+gZaAxh1A2rMpFIRi0KX4P kk2zQKhRoN+tpsV92DdOhcvsdCyK8+qkasKn8nLtXunDq3fI40YKB4sEWHXdAfJ2PUsu +Cyln7i/YHSW5sSPvxlgh+52rOD+vzFt4gr732/p6lBzOIbCtmVpYgemUDOtMb3MtrAp FpTwmkvSbjINNEc8MqFjYjnC1pVD/X2LCE8a6aOivrMNQv3qhnqVZemPOcDe/TQsNLk+ LE/g== 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:from:references:cc:to:subject:dkim-signature; bh=URa23zWwHmTgfra6HgtXnWWSzjV/YRx3GZJuoonIAgc=; b=Sc1WmBXNvYOWmA6IkApN0LTHhBJIGQrMn0lWRtcUO+ad2ND/0ymWPjAFPKWcw20Tk2 Y2BHRBMaNwDTKeAXW+QNzhdgFZw/ecwNd7dGe0xCVOrI5HYixaASwbXQWHRYIB7GaQz3 stdqHQrzXFLknPI+BR9pJK39iR/Y167RLrmO2X2vlRuLh1jVlznvzGXu+HcDC+MRVqop yq9ckdHJAnBCk6XC4bvRJ7g/Lw7l7WZmSzr5qIaBNqGEmEpfCUijsMA4TIQcA1GjrL36 HTM8NkIMhitPi9FRdNoojpRyAgxZFH2rGHMkHibr8ypOhL48NZ4p2tIuWdPw5kdezfNM +FZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=SrvjdYgb; 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 b12si20868616otl.229.2019.12.30.11.34.10; Mon, 30 Dec 2019 11:34:21 -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=SrvjdYgb; 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 S1727684AbfL3TdI (ORCPT + 99 others); Mon, 30 Dec 2019 14:33:08 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:37164 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727278AbfL3TdI (ORCPT ); Mon, 30 Dec 2019 14:33:08 -0500 Received: by mail-pf1-f196.google.com with SMTP id p14so18687682pfn.4 for ; Mon, 30 Dec 2019 11:33:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=URa23zWwHmTgfra6HgtXnWWSzjV/YRx3GZJuoonIAgc=; b=SrvjdYgbEXeFWKgHXKfqVbv5owBd8rG60Vh+Q/fWe0GpgYzeP5zymf+qVHF7GLQtAC zMXa7Usrq2MqLq4g5WQ36+62NRZ8zipR2WE5MGPjoUXS0P31cSPobhY+1ksHGvSHdSJ+ sG3OUsbHlngjJq4TG78el47rsFacUqfJSIft8= 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:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=URa23zWwHmTgfra6HgtXnWWSzjV/YRx3GZJuoonIAgc=; b=aCWyEBzxA/noPPGV8D+Vh72q3Y7JskmSQsWLS0VwNZUzyBtPpp3JyeOZBsFidAuz82 Fzoje8ghZDFI/3As97Q1Gtn5iNZF/46a6jp99gtr/CDCVi1/fBZBa/gx2vgrWk5RiyYH zLRifvrfxgZN59uUv+BVVClniWOOdj04usUCdKplxHUmrMUP+jEbIfHdB83xOldb+JEF yiAvWA4wJKqMuUvHRVvdCWW/6kXllW67iIDMcM7QUgCzoyG43cV+Uo5KM1KfPtlA2AHB OMhfeoM6cHdC4Yhp9O0pjS8fWxVs/+fcR/hFLzGJPznP6VK9tTJ/icozidJCcsGN/IFf buMw== X-Gm-Message-State: APjAAAWWoHm+FXdNUGZxN4DvbKG8mJJ+xb6NokAHqsSM8EduRRd/0Dbv QzcStXTIebtgfVr7tqEue7cjMA== X-Received: by 2002:a63:6d0e:: with SMTP id i14mr75705666pgc.12.1577734386912; Mon, 30 Dec 2019 11:33:06 -0800 (PST) Received: from [10.67.50.49] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id u7sm50502725pfh.128.2019.12.30.11.33.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Dec 2019 11:33:05 -0800 (PST) Subject: Re: [PATCH] pwm: bcm2835: Allow building for ARCH_BRCMSTB To: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Florian Fainelli , Thierry Reding , Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, wahrenst@gmx.net, "open list:PWM SUBSYSTEM" References: <20191209232503.7252-1-f.fainelli@gmail.com> <20191210065229.hopmnq5qlwtl7gzw@pengutronix.de> From: Florian Fainelli Autocrypt: addr=florian.fainelli@broadcom.com; prefer-encrypt=mutual; keydata= xsBNBFPAG8ABCAC3EO02urEwipgbUNJ1r6oI2Vr/+uE389lSEShN2PmL3MVnzhViSAtrYxeT M0Txqn1tOWoIc4QUl6Ggqf5KP6FoRkCrgMMTnUAINsINYXK+3OLe7HjP10h2jDRX4Ajs4Ghs JrZOBru6rH0YrgAhr6O5gG7NE1jhly+EsOa2MpwOiXO4DE/YKZGuVe6Bh87WqmILs9KvnNrQ PcycQnYKTVpqE95d4M824M5cuRB6D1GrYovCsjA9uxo22kPdOoQRAu5gBBn3AdtALFyQj9DQ KQuc39/i/Kt6XLZ/RsBc6qLs+p+JnEuPJngTSfWvzGjpx0nkwCMi4yBb+xk7Hki4kEslABEB AAHNKEZsb3JpYW4gRmFpbmVsbGkgPGZhaW5lbGxpQGJyb2FkY29tLmNvbT7CwTsEEAECAM4X CgABv0jL/n0t8VEFmtDa8j7qERo7AN0gFAAAAAAAFgABa2V5LXVzYWdlLW1hc2tAcGdwLmNv bY4wFIAAAAAAIAAHcHJlZmVycmVkLWVtYWlsLWVuY29kaW5nQHBncC5jb21wZ3BtaW1lCAsJ CAcDAgEKAhkBBReAAAAAGRhsZGFwOi8va2V5cy5icm9hZGNvbS5jb20FGwMAAAADFgIBBR4B AAAABBUICQoWIQTV2SqX55Fc3tfkfGiBMbXEKbxmoAUCW23mnwUJERPMXwAhCRCBMbXEKbxm oBYhBNXZKpfnkVze1+R8aIExtcQpvGag720H/ApVwDjxE6o8UBElQNkXULUrWEiXMQ9Rv9hR cxdvnOs69a8Z8Ed7GT2NvNo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tcQpvGagwF0gBBkBCAAGBQJTwBvBAAoJEJNgBqiYLw9VDRUIAJaTef6hsUAESnlG DpC+ymL2RZdzAJx9lXjU4hhaFcyhznuyyMJqd3mehmLxsqDRvHDiqyD71w2Bnc838MVZw0pw BPdnb/h9Ocmp0lL/9hwSGWvy4az5lYVyoA9u14UIzh0YNGu6jr0isd/LJAbHXqwJwWWs3y8P TrpEp68V6lv+aXt5gR03lJEAvIR1Awp4JJ/eZ5y12gQISp0X8xal9YhhDWER92YLYrO2b6Hc 2S31lAupzfCw8lmZsP1PRz1GmF/KmDD9J9N/b8IehhWQqrBQjMjn2K2XkvN75HnAMHKFYfHZ R3ZHtK52ZP1crV7THtbtrnPXVDq+vO4QPmdC+SG6BwgAl3kRh7oozpjpG8jpO8en5CBtTl3G +OpKJK9qbQyzdCsuJ0K1qe1wZPZbP/Y+VtmqSgnExBzjStt9drjFBK8liPQZalp2sMlS9S7c sSy6cMLF1auZubAZEqpmtpXagbtgR12YOo57Reb83F5KhtwwiWdoTpXRTx/nM0cHtjjrImON hP8OzVMmjem/B68NY++/qt0F5XTsP2zjd+tRLrFh3W4XEcLt1lhYmNmbJR/l6+vVbWAKDAtc bQ8SL2feqbPWV6VDyVKhya/EEq0xtf84qEB+4/+IjCdOzDD3kDZJo+JBkDnU3LBXw4WCw3Qh OXY+VnhOn2EcREN7qdAKw0j9Sw== Message-ID: <73451521-a4d3-d945-2c86-cceef4cc6781@broadcom.com> Date: Mon, 30 Dec 2019 11:33:04 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191210065229.hopmnq5qlwtl7gzw@pengutronix.de> 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 12/9/19 10:52 PM, Uwe Kleine-König wrote: > On Mon, Dec 09, 2019 at 03:25:03PM -0800, Florian Fainelli wrote: >> BCM7211 is supported using ARCH_BRCMSTB and uses this PWM controller >> driver, make it possible to build it. >> >> Signed-off-by: Florian Fainelli >> --- >> drivers/pwm/Kconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig >> index bd21655c37a6..0bb8a40c8d6c 100644 >> --- a/drivers/pwm/Kconfig >> +++ b/drivers/pwm/Kconfig >> @@ -100,7 +100,7 @@ config PWM_BCM_KONA >> >> config PWM_BCM2835 >> tristate "BCM2835 PWM support" >> - depends on ARCH_BCM2835 >> + depends on ARCH_BCM2835 || ARCH_BRCMSTB > > It would be nice to allow this driver to be compiled with COMPILE_TEST, > too. But also without this: > > Acked-by: Uwe Kleine-König Krysztof just submitted a patch doing that [1], which will conflict with this one. Thierry would you be able to resolve that conflict while applying? [1]: https://lore.kernel.org/linux-arm-kernel/20191230172113.17222-2-krzk@kernel.org/ -- Florian