Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp496492pxb; Tue, 14 Sep 2021 02:17:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrwi/mjY/gFu62WFHLVxiySzfgw4RVY3j9ZtRjan8cxi9/QZiYwurxseNfdmJrwpdmeKWT X-Received: by 2002:a05:6e02:1546:: with SMTP id j6mr11346184ilu.154.1631611073044; Tue, 14 Sep 2021 02:17:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631611073; cv=none; d=google.com; s=arc-20160816; b=D2cwRQawlwocrD23DXM7caZgTms/BnjLRVRSvfNbIHMnaVap2EX9nMItQHguep7alB ndwCpgGi/NV/HIJWpnVbNIdEQlegnMexv4CyQwJGD10JsFuuw4ZCn1u3aLTG/5uWO6/+ K8B7Tu+CSR8Hrz+ikoAQI9HrUk1Gnrvo3HkB12iUhHqpGhQGO52y0f1ENtD8yDN4dd3B L9/KawxcLl2OaNkGdqnzYscXfhfe5Q7OfH+RFN8HfEwaXvY4OBwmY0XsA9BJNCN8olc+ MygPOTUfvTBKj4VSP8HrSiMadZspSaURddTzujQlp9opjrenyCW0Uk3M8YsN5JUxTud+ xTpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=JodaeI32xuMXQHCjq7bHL4cMvGGx4AmH3VI4+W9irnM=; b=YwdGNucGMvj0/O0tn5JexPtQfl5Rp7kdd0Br837dTcuuK1aIjPWr6gaSYCZvIe1mUS zh09NpTQd8U8kcWaGDIVK+IooYLU72uBnxWxYvFI3CHVJnJy/p1hzCv2qpohndRns3Jf 7k/w2mfS9LGakLNRlpL+g0Pz/MuCUk+iaQL2STpxaXFQ8W6JoiJk9SO6a84U+cD+fxZ4 2fOXyFEEdFkS0xZrckz1WDBd4HTLAnthV4+Wa9dXNVR8CRaI7fbVxA6DT2uj0qHDIk3N +yTakdfN0+1LvJrwMZVooybHliHQ+5nSrHW0nzx38M/NaV5iNvhmN20GdVZwT/rwHzKK fbyA== 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 v15si9662725jal.73.2021.09.14.02.17.41; Tue, 14 Sep 2021 02:17:53 -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 S229581AbhINJRV (ORCPT + 99 others); Tue, 14 Sep 2021 05:17:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229624AbhINJRU (ORCPT ); Tue, 14 Sep 2021 05:17:20 -0400 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A06A7C061764 for ; Tue, 14 Sep 2021 02:16:03 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:d46f:7eb5:4a37:9d14]) by xavier.telenet-ops.be with bizsmtp id tlG12500n2aSKa101lG1wz; Tue, 14 Sep 2021 11:16:01 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mQ4Xp-004Qtl-2T; Tue, 14 Sep 2021 11:16:01 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mQ4Xo-0008ie-CV; Tue, 14 Sep 2021 11:16:00 +0200 From: Geert Uytterhoeven To: Philipp Zabel , Thomas Bogendoerfer , Jiaxun Yang , Rahul Bedarkar Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] reset: pistachio: Re-enable driver selection Date: Tue, 14 Sep 2021 11:15:59 +0200 Message-Id: <2c399e52540536df9c4006e46ef93fbccdde88db.1631610825.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After the retirement of MACH_PISTACHIO, the Pistachio Reset Driver is no longer auto-enabled when building a kernel for Pistachio systems. Worse, the driver cannot be enabled by the user at all (unless compile-testing), as the config symbol is invisible. Fix this partially by making the symbol visible again when compiling for MIPS, and dropping the useless default. The user still has to enable the driver manually when building a kernel for Pistachio systems, though. Fixes: 104f942b2832ab13 ("MIPS: Retire MACH_PISTACHIO") Signed-off-by: Geert Uytterhoeven --- drivers/reset/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index be799a5abf8a6edc..b0056ae5d463aedd 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -147,8 +147,8 @@ config RESET_OXNAS bool config RESET_PISTACHIO - bool "Pistachio Reset Driver" if COMPILE_TEST - default MACH_PISTACHIO + bool "Pistachio Reset Driver" + depends on MIPS || COMPILE_TEST help This enables the reset driver for ImgTec Pistachio SoCs. -- 2.25.1