From patchwork Wed Oct 30 10:03:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 2004081 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=2404:9400:2221:ea00::3; helo=mail.ozlabs.org; envelope-from=srs0=hqm8=r2=vger.kernel.org=sparclinux+bounces-2521-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XdjQJ1tH2z1xwK for ; Wed, 30 Oct 2024 21:04:08 +1100 (AEDT) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4XdjQ74vnZz4x8g for ; Wed, 30 Oct 2024 21:03:59 +1100 (AEDT) Received: by gandalf.ozlabs.org (Postfix) id 4XdjQ74s0jz4xFb; Wed, 30 Oct 2024 21:03:59 +1100 (AEDT) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; arc=pass smtp.remote-ip=139.178.88.99 arc.chain=subspace.kernel.org ARC-Seal: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1730282636; cv=pass; b=Xzto+SBisZJxEtrgU9biTG7/9NLTFZGSFRv0/6OmSPj8cQvQGMmRBmcUi1Hbdik3MSv4JZWafF0Is2q0VM20I+1tmCf077B65U+dQlPE+DKvJkVVk1OkkikvFx55ZN2Ph76ELRy/z9/ct2bvAKbee3Nm7DsjnAz31wyjHFgc6W6JgoAP9/U5lMxpY451et8mkL+Se6XI8yUndU+gopHmDGFFMPilqimRHMGlVpnlOfpf34T/IYx6NOWOmzpPV+4OOC2+htq1olw8ESF0nCsqjTXCM3O6SMB4en8lcx189tH1r62hM62BOpp1hoB6xuDwJeuD+3PuaqNc2A79VkoQlg== ARC-Message-Signature: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1730282636; c=relaxed/relaxed; bh=4smloPQArTYjwGJRUX2rbzjALOIiqAyn8ZFNcN2AuBw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=omGShvnkM52tDZ2a9Pk6ztbJa+Zy14cUnQbN0EAY39O6kiuEqCNTFAhsZZt1t36x8MS1aBx2cqXvXuYZXqu9CcuHCiTNwV6ArPP2QY7kBXfJbxFkYsjqMCDiYXSlFnGl61e7i0JTnNyS+a6Itnx4OPE8v9IUzIO1eVju5beztLyJ8tRIZ9hgRcRRvCYJtHct+xHlWRhcFEqjEVti465zOLavgKjXp0jMHOAQRGMPGjG3TURRtIDL6ejHCZlhQFj4Nf9KiQziyv5CdogXXmHLTbs4lppYX3c3LtjM75o53MIiih8AuFpggj4lsMzqZJUw5h7AgUjHhM3RytpQ3NsSYA== ARC-Authentication-Results: i=2; gandalf.ozlabs.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=pass (client-ip=139.178.88.99; helo=sv.mirrors.kernel.org; envelope-from=sparclinux+bounces-2521-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org Authentication-Results: gandalf.ozlabs.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=139.178.88.99; helo=sv.mirrors.kernel.org; envelope-from=sparclinux+bounces-2521-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [139.178.88.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by gandalf.ozlabs.org (Postfix) with ESMTPS id 4XdjQ42PQgz4x8g for ; Wed, 30 Oct 2024 21:03:56 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C923B284F02 for ; Wed, 30 Oct 2024 10:03:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55C14194151; Wed, 30 Oct 2024 10:03:54 +0000 (UTC) X-Original-To: sparclinux@vger.kernel.org Received: from andre.telenet-ops.be (andre.telenet-ops.be [195.130.132.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65C811E201F for ; Wed, 30 Oct 2024 10:03:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730282634; cv=none; b=FqE4IWQrMksPukUi/RrG7mzMVox/qP7qb7OoBcjlXkl2pyorUd8P29oI6WYtarccTUPrSqSkS8btC0kYJTbPb+hZgWT8MbSfmuTuKgb/KwK5TuLYsyqou/ESio8fsxe9BOtQMW0z+t2llaXJQX0vSvbSQbsVk8XcETDUhlJjXoA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730282634; c=relaxed/simple; bh=2cCEL9RNEPA/wSwV1FpgaIWUGyOAFLvkcTMhuuH2In0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=lwOcvBvn1aMFCnzvwMlUlSZWvP5eYJTTPrxlMQ6LZP3xOALKKbyoHkT3fTgDBcGww2RyJQ2CjASwjK8eJxH7NMAuMQ5LSwYGVyRPZCaf9BsfjC5X2Bt7u0R9zeKSkHZtaAOjTwj83/ghAk45y2/BqlKIjviQPTU6MOqHiQOB4dk= 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.53 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 ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:ceb8:3fda:3601:820f]) by andre.telenet-ops.be with cmsmtp id Wa3o2D0064BbGPD01a3olR; Wed, 30 Oct 2024 11:03:48 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1t65Y1-005zPF-Jg; Wed, 30 Oct 2024 11:03:48 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1t65YJ-006QV3-UG; Wed, 30 Oct 2024 11:03:47 +0100 From: Geert Uytterhoeven To: Bartosz Golaszewski , Linus Walleij , Andreas Larsson Cc: linux-gpio@vger.kernel.org, sparclinux@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] gpio: GPIO_GRGPIO should depend on OF_GPIO Date: Wed, 30 Oct 2024 11:03:46 +0100 Message-Id: <140b0f7522ff2f86a7fad0be88c19111fa6cb5b1.1730282507.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: sparclinux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Status: No, score=-3.1 required=5.0 tests=ARC_SIGNED,ARC_VALID, DMARC_MISSING,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on gandalf.ozlabs.org While the Aeroflex Gaisler GRGPIO driver has no build-time dependency on gpiolib-of, it supports only DT-based configuration, and is used only on DT systems. Hence re-add the dependency on OF_GPIO, to prevent asking the user about this driver when configuring a kernel without DT support. Fixes: bc40668def384256 ("gpio: grgpio: drop Kconfig dependency on OF_GPIO") Signed-off-by: Geert Uytterhoeven Reviewed-by: Andreas Larsson --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 158ec0d7e52e2e51..a7b27a8541f572d5 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -341,6 +341,7 @@ config GPIO_GRANITERAPIDS config GPIO_GRGPIO tristate "Aeroflex Gaisler GRGPIO support" + depends on OF_GPIO || COMPILE_TEST select GPIO_GENERIC select IRQ_DOMAIN help