Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6486086imu; Mon, 21 Jan 2019 09:41:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN5ea+/QzNk6YrxrvfYTOrjcdIf3sadmuZ42jSbih96/kTz1izmvyd8iNP8Totq5dkoTdqu+ X-Received: by 2002:a63:f047:: with SMTP id s7mr28853793pgj.441.1548092505599; Mon, 21 Jan 2019 09:41:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548092505; cv=none; d=google.com; s=arc-20160816; b=Rxo960h7aE52dfhuqRY488CJV7Ug4Dv4ttVwoJj4SVq3x0VHHD4jDC3VEFGw24R0tK oCfGYg1BAM8R3rjaPSLl78g1FJaXytKIFiO0MPCGD53uwORzVEwwRyCTgE9uBu+tMg6d apeT0ipId7jDaolKVytF1jKt0HjEQEyiYpmdAf/RXeApQ3SHLLECI0c3DENwaZc273uq UDNJrf+9PVtWaNJus5altYS1xzKGJwHYywCqJCxEdRyROjzwQXLBZ07tg0/sxXry26XV iPh7SEoQSPLpcQ77vmsgdvWioLktRMdOWkf7Cp+Uh3DoUR8MmtpU7UvTKTm1a+G5bBP5 7rZg== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=drPo/hZKW8+DqlHW0eMJD99/S7cV7AMut32/tFImIU4=; b=GHhPjtM2qwle0aVUxiRg/h/yXxLYU9GuYVWjBZSGDehlBPzVtbEt2SOXmv8EUmRX68 jdix+HsEDjqk/Nf37XXMH1kxCu69cFl9tGLby0k9+JWqBRz57YKQu5v+M36/4iMGMxso DiIDEdc5OpQLXBR8r/MkMZtXJA0cQAvqR1xLFOJlZVqShvZH6LNqSXodYyGEmfoxKvEp DEvphvpsQCy0yYKSmIvY9Ekx8M8p1grmcw9m0aOF7VNxQmvXkO7rhNKkf6mLKEO7OGVf ghngJy1+cceh2ef9vxW5vFvCy4zB5SpK3CUZVi0XYikKLPRDsAczWd1JIol+ERzyDXeo d+Dw== 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 w2si12157243pgp.546.2019.01.21.09.41.29; Mon, 21 Jan 2019 09:41: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; 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 S1730687AbfAUQg0 (ORCPT + 99 others); Mon, 21 Jan 2019 11:36:26 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:57711 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729130AbfAUQg0 (ORCPT ); Mon, 21 Jan 2019 11:36:26 -0500 Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1glcYh-0005TT-Vh; Mon, 21 Jan 2019 17:36:23 +0100 Message-ID: <1548088583.3287.14.camel@pengutronix.de> Subject: Re: [PATCH v2 2/2] reset: Add Broadcom STB SW_INIT reset controller driver From: Philipp Zabel To: Scott Branden , Florian Fainelli , linux-kernel@vger.kernel.org Cc: Rob Herring , Mark Rutland , Brian Norris , Gregory Fong , "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE" Date: Mon, 21 Jan 2019 17:36:23 +0100 In-Reply-To: <7bc8d9ee-5be1-1765-55dd-b7407cff962f@broadcom.com> References: <20190115184406.3164-1-f.fainelli@gmail.com> <20190115184406.3164-3-f.fainelli@gmail.com> <7bc8d9ee-5be1-1765-55dd-b7407cff962f@broadcom.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@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 Hi Scott, On Wed, 2019-01-16 at 10:15 -0800, Scott Branden wrote: > On 2019-01-15 10:44 a.m., Florian Fainelli wrote: > > Add support for resetting blocks through the Linux reset controller > > subsystem when reset lines are provided through a SW_INIT-style reset > > controller on Broadcom STB SoCs. > > > > Signed-off-by: Florian Fainelli > > --- > > drivers/reset/Kconfig | 7 ++ > > drivers/reset/Makefile | 1 + > > drivers/reset/reset-brcmstb.c | 130 ++++++++++++++++++++++++++++++++++ > > 3 files changed, 138 insertions(+) > > create mode 100644 drivers/reset/reset-brcmstb.c > > > > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig > > index 2e01bd833ffd..1ca03c57e049 100644 > > --- a/drivers/reset/Kconfig > > +++ b/drivers/reset/Kconfig > > @@ -40,6 +40,13 @@ config RESET_BERLIN > > help > > This enables the reset controller driver for Marvell Berlin SoCs. > > > > +config RESET_BRCMSTB > > + bool "Broadcom STB reset controller" if COMPILE_TEST > > Could this even be: > > depends on ARCH_BRCMSTB || COMPILE_TEST I don't think this is necessary. Since the symbol is non-interactive if COMPILE_TEST is disabled, it just vanishes when both are disabled. > > + default ARCH_BRCMSTB And if it is actually needed, it defaults to the correct value. regards Philipp