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 DD49032B131 for ; Thu, 30 Jul 2026 05:45:58 +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=1785390360; cv=none; b=nIee+0QF6iQI1Gt4wSgVlE5KjdGl3v7P/GDvXFaomHBUlBvRU6PxV1njN5xBoqIQ0jhPahkRzT4Ddu6fMr3JWcu/TwfNd2PCfjKNQ/k2Ik3BiHV99OVDdT5t1kQxm9TkKDkoUCYptXUbvZbvcYT4XKg05hSadkN92jd8rXNoaYc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785390360; c=relaxed/simple; bh=d17aUZvngdMBjj23Gdu+cV0pBIqz9AjAbF5T7eOHLFk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ikEOQNykWbKumIsJrpPi9OAxKm+8UFFM1PtlvhKm6M1eJ8Dvm6Xffnip/6HRnZuZOMWi0JfgbkmuGn/7XKuIfiYQK2Uc49xMw8oS3MB/VUVOTM3cFoBAfj9dj+gbtFSrcH0WbTSbDLr7vT3iXSbE5Rdvu7bKFEe9u2n/yvhLAaY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=liAZZRL6; 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="liAZZRL6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73C541F000E9; Thu, 30 Jul 2026 05:45:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785390358; bh=GDPgVfCvJUVZHLi5ReYPJHcf8KbYBm6zZv41ejFPKZI=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=liAZZRL6qtfZiXGKKUDrxXmMAKJ9rcrjjFd6mAQWBEpuW6PxMQECqi1V/uAbjJH8O k+e9Xzweyjnsiqrtki68mQdqN/0lembd5VTLhHROx2lLyPBlYONTogWxgW7iNeKwoj sP5liedv6crQgVFVJePttQguwv1ug4oQInCVZZQhgxBM4oqOK/VbFN54mkjLqipksB +TBuUjNyZPRHar4SxKB0iew9860CKltRk8LzfwfznvhK+llf/78Kqj/6FD+T1Xls0e 4+h5oybXONhG1LlvnIhdHGTWUydkjPQGZrsfI5/JgWc97h8IQxbV6jFFdX2CggdG+s KxQgXI3cNGcVA== Message-ID: <1062ee0c-cf44-479e-a442-3dfda7d7614f@kernel.org> Date: Thu, 30 Jul 2026 07:45:53 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCHv2] powerpc/44x: Set GPIO chip parent To: Rosen Penev , Madhavan Srinivasan Cc: Michael Ellerman , Nicholas Piggin , Linus Walleij , open list , linuxppc-dev@lists.ozlabs.org References: <20260517063754.21819-1-rosenp@gmail.com> Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 17/07/2026 à 21:05, Rosen Penev a écrit : > On Sat, May 16, 2026 at 11:38 PM Rosen Penev wrote: >> >> The PPC4xx GPIO driver stopped assigning an explicit parent >> to the gpio_chip when it moved away from of_mm_gpiochip_add_data(). >> >> Restore that association from the platform device so OF GPIO lookup >> can match phandles to the registered gpiochip. >> >> Tested on: Cisco MX60W. No more probe deferral. >> >> Assisted-by: Codex:GPT-5.5 >> Fixes: 1044dbaf2a77 ("powerpc/44x: Change GPIO driver to a proper platform driver") > Did I forget to ping someone? Probably not, but afterwards you sent your series which moves the driver into drivers/gpio/ and which does the same, so this one was flagged "superseeded" in Patchwork (https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260517063754.21819-1-rosenp@gmail.com/) I put it back to 'new'. Maddy, can you pick it up ? Christophe >> Signed-off-by: Rosen Penev >> --- >> arch/powerpc/platforms/44x/gpio.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/arch/powerpc/platforms/44x/gpio.c b/arch/powerpc/platforms/44x/gpio.c >> index aea0d913b59d..4413a94cf7a6 100644 >> --- a/arch/powerpc/platforms/44x/gpio.c >> +++ b/arch/powerpc/platforms/44x/gpio.c >> @@ -169,6 +169,7 @@ static int ppc4xx_gpio_probe(struct platform_device *ofdev) >> >> gc = &chip->gc; >> >> + gc->parent = dev; >> gc->base = -1; >> gc->ngpio = 32; >> gc->direction_input = ppc4xx_gpio_dir_in; >> -- >> 2.54.0 >>