From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 F34002E7379 for ; Tue, 7 Jul 2026 15:00:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783436452; cv=none; b=qsIYmMrOnjVxDuFImBagA1DmEiWPSbr7aQpYW83xXd2sTTAa0e8GG+SJkoMcK1PvSALNkGncWDkDe/npNN+nUubkg6H4CEKZKMv3zxz4Cg3vqEkknWBxY5fpyauEP9jD40ePlSmPAN84aFHGy+7DmZZ4I7CIbxWZLeXFvd4os7Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783436452; c=relaxed/simple; bh=+904wY+BTglsrOGG1A3VF0W9Aan7cNN/y9nA+a4QttE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FoSrffKpe8RuJiytJu/o1HWBJv8oxZpZeQp3tFNSmIgp6Dev2pJglO4L0ZaWLAY7Z80REd2IQizFHZdGy9nxIk0UB13stB7nk+I8Hu7fsfap/2QpQ7dJLSx1uCjeMSMvBEfOBJ2gEWs6kA9t8yjG/18Hfo/M6FKK27oOgXz4Ktg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Hgkafo9n; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Hgkafo9n" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 157531F000E9; Tue, 7 Jul 2026 15:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783436450; bh=wOBcKHJQyOMU4HZK6o3IdwDSoAOxpnL1hOf/TAAIhys=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Hgkafo9nh3j6b868H5hloDHa6TQeLPS8/oJuDEXLrC5YWas1t5XAJcfRDZ5wcOROR suoJ7weC+FDxNwwzuR4ODiintZN15O8UU7UC9B+tQK9jblz1Eq9yT8e8JYzmMflLBU 6eFEGJrv6x1GP9Wwh2kbxqVJ97xlFJcmFBa0LN2dLOZIqTTb+Zb9kC1Xf0zRmKbbxQ ZqdXOLFh2N0dcVlJRbZR3fKIsbX8B35OtssIfEL2Bcbegt4Xwcd9DhIBecnPACiTjM WpVT8y4kyX6lVL91BH5YxfKYVjsS3AkDueAPa55oLvALNfsLWchBtIUYOseuevp1Z8 W+bZ4tyhbPn0g== From: "Christophe Leroy (CS GROUP)" To: Qiang Zhao , Madhavan Srinivasan , "Christophe Leroy (CS GROUP)" Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Paul Louvel Subject: [PATCH 2/2] powerpc: Move CONFIG_QE_GPIO to SoC Date: Tue, 7 Jul 2026 17:00:45 +0200 Message-ID: X-Mailer: git-send-email 2.54.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1808; i=chleroy@kernel.org; h=from:subject:message-id; bh=+904wY+BTglsrOGG1A3VF0W9Aan7cNN/y9nA+a4QttE=; b=owGbwMvMwCV2d0KB2p7V54MZT6slMWT5isy7O3/+S8/3321eHGYuipoe9bsxT9jiycEnf2ffD 9rp6rN0d0cpC4MYF4OsmCLL8f/cu2Z0fUnNn7pLH2YOKxPIEAYuTgGYyOLbDP+9WO6suHhFt2BH m8+28OXP9Y4bdvIwyz2wFXIqXtrNEreHkWFSiOlye27DkwcXyoTpCTvuPOaU8JThnVZd/vf4f+q LDRkA X-Developer-Key: i=chleroy@kernel.org; a=openpgp; fpr=10FFE6F8B390DE17ACC2632368A92FEB01B8DD78 Content-Transfer-Encoding: 8bit Commit 7aa1aa6ecec2 ("QE: Move QE from arch/powerpc to drivers/soc") moved QE into drivers/soc including gpio.c but left CONFIG_QE_GPIO in powerpc's Kconfig. Move it to SoC as well as it is the only place it is used: drivers/soc/fsl/qe/Makefile:obj-$(CONFIG_QE_GPIO) += gpio.o qe_ports_ic.o include/soc/fsl/qe/qe.h:#ifdef CONFIG_QE_GPIO include/soc/fsl/qe/qe.h:#endif /* CONFIG_QE_GPIO */ Link: https://lore.kernel.org/r/16a187116511f5c844c43a12d09f263e77f4fd60.1780936729.git.chleroy@kernel.org Signed-off-by: Christophe Leroy (CS GROUP) --- arch/powerpc/platforms/Kconfig | 8 -------- drivers/soc/fsl/qe/Kconfig | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index c4e61843d9d99..2f797ac6f1b3f 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig @@ -228,14 +228,6 @@ config TAU_AVERAGE If in doubt, say N here. -config QE_GPIO - bool "QE GPIO support" - depends on QUICC_ENGINE - select GPIOLIB - help - Say Y here if you're going to use hardware that connects to the - QE GPIOs. - config CPM2 bool "Enable support for the CPM2 (Communications Processor Module)" depends on (FSL_SOC_BOOKE && PPC32) || PPC_82xx diff --git a/drivers/soc/fsl/qe/Kconfig b/drivers/soc/fsl/qe/Kconfig index eb03f42ab9781..b35a8fd30ebfb 100644 --- a/drivers/soc/fsl/qe/Kconfig +++ b/drivers/soc/fsl/qe/Kconfig @@ -67,3 +67,11 @@ config QE_USB default y if USB_FSL_QE help QE USB Controller support + +config QE_GPIO + bool "QE GPIO support" + depends on QUICC_ENGINE + select GPIOLIB + help + Say Y here if you're going to use hardware that connects to the + QE GPIOs. -- 2.54.0