From patchwork Wed Apr 9 09:22:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 879426 Received: from cantor.telenet-ops.be (cantor.telenet-ops.be [195.130.132.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 018762620F5 for ; Wed, 9 Apr 2025 13:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744204073; cv=none; b=RzE3ymqpVWDuqrazCNVMkSwe7veSAAK82jzyGnXtH7zkewyfgUpkMh3U1tSGt2BC3pNj4U4plyf0iGdRFR18bzCvU/Q8FStpWUGwC8eLX7I0k3yGyReVB6ZlqSbxJfiec1s/kUEIlAz3VZRQzCgXgXkG8h1o2l4avvW8BO9+uGg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744204073; c=relaxed/simple; bh=AgR2NJ1i6IkFYhAepi/wcBw7sVFp4/vtZB2JgbedQ/g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MV/9A9AvzglMDgYu1h/4Wzs5ACKgwGRc+4zNcwYtkxMaYSwcuRnF35IN1Pyhqzj5Ck9jDzwBhcSsZ9w0uBdwFrDbd9UvczCnROG58QlSNnao2Jin9jNtXuWKnWwth/nuOhAttmt2vmoVaJsj5U/H0nuBfu4lg8x+KZCJq3joVbE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by cantor.telenet-ops.be (Postfix) with ESMTPS id 4ZXjsw3qypz4x7lB for ; Wed, 09 Apr 2025 15:07:48 +0200 (CEST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:d6c1:79b5:9acd:4fad]) by laurent.telenet-ops.be with cmsmtp id b17g2E00G1LzlAN0117gX0; Wed, 09 Apr 2025 15:07:41 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.97) (envelope-from ) id 1u2V9X-00000000DQW-2Bw7; Wed, 09 Apr 2025 15:07:40 +0200 Received: from geert by rox.of.borg with local (Exim 4.97) (envelope-from ) id 1u2Rdk-00000002xPc-0RiY; Wed, 09 Apr 2025 11:22:36 +0200 From: Geert Uytterhoeven To: Linus Walleij , Bartosz Golaszewski , Nikolaos Pasaloukos Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] gpio: GPIO_BLZP1600 should depend on ARCH_BLAIZE Date: Wed, 9 Apr 2025 11:22:35 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The Blaize BLZP1600 GPIO controller is only present on BLaize BLZP1600 SoCs. Hence add a dependency on ARCH_BLAIZE, to prevent asking the user about this driver when configuring a kernel without Blaize platform support. Fixes: 602ae04f56542d8e ("gpio: Enable Blaize BLZP1600 GPIO support") Signed-off-by: Geert Uytterhoeven --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index ae458fdb9da7dd8a..5f8cd5445c7121ae 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -216,6 +216,7 @@ config GPIO_BCM_XGS_IPROC config GPIO_BLZP1600 tristate "Blaize BLZP1600 GPIO support" default y if ARCH_BLAIZE + depends on ARCH_BLAIZE || COMPILE_TEST depends on OF_GPIO select GPIO_GENERIC select GPIOLIB_IRQCHIP