From patchwork Wed Sep 11 22:18:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 173640 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1328635ilq; Wed, 11 Sep 2019 15:19:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqywTMIhlMKps11IerD801ohnT85QVBJIcqM70Wn2fMNfQM56WXN26mlKiqyIdlW4FMs/1vo X-Received: by 2002:a50:858a:: with SMTP id a10mr12056867edh.284.1568240344631; Wed, 11 Sep 2019 15:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568240344; cv=none; d=google.com; s=arc-20160816; b=wzef1tM51+KEmml19yeCZSwrELppOzD+N+U5JlvxCmcxKHc0aD5IvG9wumJx3x4Mha bTpc1tbjgLtG3L0AuVzgRXp7t028ESQJ2wJ2yLfBXLHPQ5lOVIyABqTRr4j9J0PMk5I6 omrhuendRTf7RZ8SvUbM3Fi91NneYWjINh3fmmY3ZAP84ICJNGkuuK5SjP/l46In5woj e4JX16BGxrfO4s82QXVMXlyR+yRxi8m3xs+ycrDP3i67CQ+LbOVbvbLxbFdTx9DecRRB 07+5xta2OvohwHIkjhcs6fCmUuRIOlClgUAmaG4yTwF2hEFQOvt/hHm4wjjbJsjETvWd yOOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=6COMbNYiBAH3DK2IekDUzK6LyWxPCeshYdSnc/L9JbE=; b=Q78x3BuspGTm+6lWUAJpqpZyt9+Mq/hcySqvixdwo3uKKi/gK/gI+bBdBN6mxX6mua 22IzoU12j9i8RMULDDIVvF0G/93GgCmP/UlQtjlVlodmCwpGqU6awJrYVrTL7pjzgq9r ZvprReIEBCgikQXk7GbIo2xvFKnetHnjEWjV2dOJOdW0vYQGKVKt2BBQdluQ6vnrSO+6 /uqDig1XfGuUgK+JJ58Jw8QeJCnm2ihkkMGIr47/fYYiRfdnsBcgFJb9kztkTBsGpvOv sWbZvgsPEmgxMmhmPwOY8crCo7iYMXLfpmAZwW4PFwY6CBibuoiBzNZfC4NwN5l9EBmi sBQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MKCb5mvq; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fj16si12542526ejb.385.2019.09.11.15.19.04; Wed, 11 Sep 2019 15:19:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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=@linaro.org header.s=google header.b=MKCb5mvq; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729081AbfIKWTD (ORCPT + 11 others); Wed, 11 Sep 2019 18:19:03 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:43751 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729003AbfIKWTC (ORCPT ); Wed, 11 Sep 2019 18:19:02 -0400 Received: by mail-pf1-f193.google.com with SMTP id d15so14562494pfo.10 for ; Wed, 11 Sep 2019 15:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=6COMbNYiBAH3DK2IekDUzK6LyWxPCeshYdSnc/L9JbE=; b=MKCb5mvqx7vPVDdvPX6sQfysgXJv0ZZJl6EQ2OfyWJs4KKhQeIz+B5sY8CGkAWe3mr WLLmqjsA62JkEmSYcKh9IBNCO5nQso0zq79qJrBlQAJmaW0S5IAnKvrcnzq40sGoS9fj Thwp/O6v/DqgKe76f6Z/ADzXrx88+AIR8oKZ3M8cWyMWwh6Q2LF85onrjItleYz8UGWh h4lTXaIxEHBMSA9jLY5z/8YCeJ409s0es7VB4Usz3wWUBWqFHOR069KpMZN42JNP1vuj C09KT4kazMZogjTUByrzFV8gjkhdl2Cy95jtqmoC4mm48r0qtR/TblXm8+DreAIqVFUq 4nFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=6COMbNYiBAH3DK2IekDUzK6LyWxPCeshYdSnc/L9JbE=; b=igUbDWxs5cW3zdgNlzxVewG5yv07ies2aWiKN0MTiOF39dc2KgGTUkqOG0U8vY02bd sdb7GHDc7Y4D9FlWj45rqGz0SZpcsMsm9B082buO8aiWCGY1FmTyUqmVJYJ6mIt2aU3i gZPmN9TQkCKOjlTAU4v3iH0tY6rG0uzYhXlThWU/JGnRsAt9YDICRy+OALzWhQg1r+of OMJ141apc/dDc5EvO6vZZBrc6r3YAhxg6O/q8wvnnB6NwhZ5Jq+CsC7rwOcgjGEBek4s 7+lH0DvYj/AlQNfVix2ipK+lpQLkahuyJDxQ/Hivj/YgLEs3NxCG6YOVKLA5vswACiD9 rT1w== X-Gm-Message-State: APjAAAWg7k5Gt+0b3CafVmKcwWaIzkQ4LrXPcz+1Xkr4/VdC5hmsfqyn ph/54RAfvJ+ALs6yMWxoiNDAq6kTRGYNEQ== X-Received: by 2002:a65:6102:: with SMTP id z2mr34643771pgu.391.1568240341618; Wed, 11 Sep 2019 15:19:01 -0700 (PDT) Received: from localhost ([49.248.179.160]) by smtp.gmail.com with ESMTPSA id i194sm4085709pgc.0.2019.09.11.15.19.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2019 15:19:01 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm@kernel.org, Bartosz Golaszewski , Catalin Marinas , Kishon Vijay Abraham I , Liam Girdwood , Linus Walleij , Lorenzo Pieralisi , Mark Brown , Michael Turquette , Sebastian Reichel , Stephen Boyd , Will Deacon Cc: linux-pm@vger.kernel.org Subject: [PATCH 2/4] arm64: Kconfig: Fix BRCMSTB driver dependencies Date: Thu, 12 Sep 2019 03:48:46 +0530 Message-Id: <21b9dd0bf0bbc80b69bc81a7efb88243e4981c56.1568239378.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Push various BRCMSTB drivers behind ARCH_BRCMSTB dependency so that it doesn't get enabled by default on other platforms. Signed-off-by: Amit Kucheria --- drivers/bus/Kconfig | 1 + drivers/power/reset/Kconfig | 1 + drivers/soc/bcm/Kconfig | 1 + 3 files changed, 3 insertions(+) -- 2.17.1 diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index 1851112ccc29..d80e8d70bf10 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -22,6 +22,7 @@ config ARM_CCI400_PORT_CTRL config BRCMSTB_GISB_ARB bool "Broadcom STB GISB bus arbiter" + depends on ARCH_BRCMSTB depends on ARM || ARM64 || MIPS default ARCH_BRCMSTB || BMIPS_GENERIC help diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 651b763f80cd..6f0b1ed1a05a 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -59,6 +59,7 @@ config POWER_RESET_BRCMKONA config POWER_RESET_BRCMSTB bool "Broadcom STB reset driver" + depends on ARCH_BRCMSTB depends on ARM || ARM64 || MIPS || COMPILE_TEST depends on MFD_SYSCON default ARCH_BRCMSTB || BMIPS_GENERIC diff --git a/drivers/soc/bcm/Kconfig b/drivers/soc/bcm/Kconfig index 648e32693b7e..5a8ff33241ae 100644 --- a/drivers/soc/bcm/Kconfig +++ b/drivers/soc/bcm/Kconfig @@ -24,6 +24,7 @@ config RASPBERRYPI_POWER config SOC_BRCMSTB bool "Broadcom STB SoC drivers" + depends on ARCH_BRCMSTB depends on ARM || ARM64 || BMIPS_GENERIC || COMPILE_TEST select SOC_BUS help