Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp853983pxu; Wed, 14 Oct 2020 16:03:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrGfbc6ot8FeUgn/p6cQPbIgk5vBCVhDaTIkpKlWxGrp2+v9yXicRZS8xpbezLoSYA+FLo X-Received: by 2002:a50:d987:: with SMTP id w7mr1355229edj.113.1602716614469; Wed, 14 Oct 2020 16:03:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602716614; cv=none; d=google.com; s=arc-20160816; b=AGGTcERXPDJqM/xNYE1qpXG4H3q3+V4lTrbqNvnpR4dlUapGUVFWtUSLnV8EPyrVxz 2hbJfsdq/eiWslzWM8+8PRCEK9lmfGQWiGP53WWiOWS88NiwWjXgYL/23+dQtZl/wXBK G5a0NpC9yOm1TiYPEuZc1rt4BKOkKTsmuOSuQYRB59I9pj9RtHjxStW7q/Sjr/td5JO7 HUdHLhvCTiyzUKzyv0xx1s4JEhR1SzadHhYUGTprpSn7Taf2j+fgXHSXl7q41MoTWLKQ cXA3f5vyMPriFbiGKR/zt04MLuUJDjOzWa8wKnoG3D/Gd8G/g3O+rxXtmyZe6/SQn6Hs 1ShQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=RpQtGDD6iaH9tDTleY0StmkVMredSu7hBNv0tLVtg5c=; b=Y3PefoBMxxkvQ2UTnH2oSPzwc7W8+VmRhymbz9Cq7Q5SA+CtTmDIegZwtW6wMD/T7C fJNg6eXrb45+YS9z22rdlP9J55NC7TsgiLheES8j4r5A9Hss72YfH/hJ5vMkpBAtY7xT tKu2gtTbQEF+z0AZKk5PYRoPI6u00AgxXZOMxyl5DGlU6CoSGfIkVdQJyFpKnM2Wng3n Z0ORzL5darlmJa3zPwCSllOQal5Gwe6UirZBCRne1SQQAYVyOO4QZxvgck11swXhS15j dsLCISrf9uxIsCsqwvMfF27s0A7FImL8LfZ28ts67ntOvalEThcCKjWGs/gF4QxYKW09 nkFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr7si805213ejc.731.2020.10.14.16.03.11; Wed, 14 Oct 2020 16:03:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731129AbgJNNOT (ORCPT + 99 others); Wed, 14 Oct 2020 09:14:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731124AbgJNNOT (ORCPT ); Wed, 14 Oct 2020 09:14:19 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AA6DC0613D2 for ; Wed, 14 Oct 2020 06:14:18 -0700 (PDT) Received: from ramsan ([84.195.186.194]) by laurent.telenet-ops.be with bizsmtp id fpEG2300i4C55Sk01pEGWb; Wed, 14 Oct 2020 15:14:16 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1kSgbg-0007vE-I1; Wed, 14 Oct 2020 15:14:16 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1kSgbg-0003jg-Fx; Wed, 14 Oct 2020 15:14:16 +0200 From: Geert Uytterhoeven To: Sebastian Reichel , Lars Povlsen Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] power: reset: POWER_RESET_OCELOT_RESET should depend on Ocelot or Sparx5 Date: Wed, 14 Oct 2020 15:14:15 +0200 Message-Id: <20201014131415.14034-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To add support for Sparx5, the dependency on MSCC_OCELOT was removed. However, this increases exposure of the driver question not only to Sparx5 platforms, but to everyone. Hence re-add the dependency on MSCC_OCELOT, and extend it with ARCH_SPARX5, to prevent asking the user about this driver when configuring a kernel without Ocelot and Sparx5 support. Fixes: ec871696b7776767 ("power: reset: ocelot: Add support for Sparx5") Signed-off-by: Geert Uytterhoeven --- drivers/power/reset/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 6361569aacb7eedf..d55b3727e00eb768 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -129,6 +129,7 @@ config POWER_RESET_QCOM_PON config POWER_RESET_OCELOT_RESET bool "Microsemi Ocelot reset driver" + depends on MSCC_OCELOT || ARCH_SPARX5 || COMPILE_TEST select MFD_SYSCON help This driver supports restart for Microsemi Ocelot SoC and similar. -- 2.17.1