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 2B89D3A8737; Sat, 12 Sep 2026 08:23:33 +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=1789201415; cv=none; b=hsoZIL2xUrbBAQaLnwiAgA0x/FnhmOiJajl3gCmRrD7p25taDDe9tIpzQb7tIbFK79h9hswTx3boCc1g24LtM94uJ3i+Ru60rVwd20REn4kItjOuZ6rfXLMXXgsrzA2o/C15D6cj7qbm9tgXbSrZvhdBDoCIbUC6bmsJOjBpSHQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789201415; c=relaxed/simple; bh=LlvhD+OixCwMZ5lnwE3SArDqpCiNu1Q0PgaEwfcHTvg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Fpur1PUZk853F+u11NEWfAs55uA53UPFQKbWgAQ4asgTJmuqr0OWRsiQqy4vniR2Os8i67GmMRbh+BqMlGwt/KlXVJSgUjETOKfu2o8DOoRgp8G1TZ2xn3k48PCM+/b0A9BMzSXupbzPOUGixSvmAJBMXu8raR7TVgwaxJTTkVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XZerrOMf; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="XZerrOMf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73E051F000FF; Sat, 12 Sep 2026 08:23:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789201412; bh=Nwn9MwmEYrOvfM3Gy+7NrHvYX4HZfUWVn4gOaxckUYk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=XZerrOMff6b8OIklNRqgZcBsskMjw8WvfpOjlfTFtMBX+VpIWHyVlK9zAgprUVyK5 VN9gG+2SvAcY/rzQ0iiW0NJM7pntGb86KXd//7tW8t6ao36qgnrj3uMRqx6+2lWWa9 aHoWyF4V04Jm147HA0bMPE06Bp+R4c0my9d5C1Hc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Herve Codina , "Christophe Leroy (CS GROUP)" , Sasha Levin Subject: [PATCH 7.2 0990/1815] soc: fsl: qe: properly scan GPIO nodes at startup Date: Sat, 12 Sep 2026 08:45:40 +0200 Message-ID: <20260912065712.235641136@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065648.999753832@linuxfoundation.org> References: <20260912065648.999753832@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.2-stable review patch. If anyone has any objections, please let me know. ------------------ From: Christophe Leroy (CS GROUP) [ Upstream commit e2414b289c2b68afab361def612ca3791cd70d12 ] Before commit 156460811def ("soc: fsl: qe: Change GPIO driver to a proper platform driver") qe_add_gpiochips() was walking the device tree to find all nodes with compatible "fsl,mpc8323-qe-pario-bank". After that commit the discovery is handled by the platform core, therefore it is necessary to call of_platform_default_populate() on the par_io node. Fixes: 156460811def ("soc: fsl: qe: Change GPIO driver to a proper platform driver") Reviewed-by: Herve Codina Link: https://lore.kernel.org/r/a1db12ef75bf881dd5fba893a37db0c8517eca1b.1785414349.git.chleroy@kernel.org Signed-off-by: Christophe Leroy (CS GROUP) Signed-off-by: Sasha Levin --- drivers/soc/fsl/qe/qe_io.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/soc/fsl/qe/qe_io.c b/drivers/soc/fsl/qe/qe_io.c index a5e2d0e5ab511..150913fce9818 100644 --- a/drivers/soc/fsl/qe/qe_io.c +++ b/drivers/soc/fsl/qe/qe_io.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include @@ -184,3 +185,17 @@ int par_io_of_config(struct device_node *np) return 0; } EXPORT_SYMBOL(par_io_of_config); + +static int __init par_io_populate(void) +{ + struct device_node *np = of_find_node_by_type(NULL, "par_io"); + + if (!np) + return 0; + + of_platform_default_populate(np, NULL, NULL); + of_node_put(np); + + return 0; +} +arch_initcall(par_io_populate); -- 2.53.0