[FSL P50x0] Keyboard and mouse don't work anymore after the devicetree updates for 5.19

Christophe Leroy christophe.leroy at csgroup.eu
Fri May 27 17:23:05 AEST 2022


Hi

Le 26/05/2022 à 19:42, Christian Zigotzky a écrit :
> Hello,
> 
> My keyboard and mouse don't work anymore with my Cyrus+ board with a FSL 
> P50x0 PowerPC SoC [1] after the devicetree updates for 5.19 [2].
> After reverting the devicetree updates, my keyboard and mouse work 
> without any problems.
> I figured out that the issue is in the patch for the file platform.c 
> [3].  I created a patch for reverting the problematic code. (see 
> attachment)
> After reverting the changes with the attached patch, the keyboard and 
> mouse work again.
> Please check your changes in the file platform.c [3].
> 
> Thanks,
> Christian
> 
> [1] http://wiki.amiga.org/index.php?title=X5000
> [2] 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=86c87bea6b42100c67418af690919c44de6ede6e 
> 
> [3] 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/of/platform.c?id=86c87bea6b42100c67418af690919c44de6ede6e


Based on your patch I would say the culprit commit is 
https://github.com/torvalds/linux/commit/a1a2b7125e1079cfcc13a116aa3af3df2f9e002b

commit a1a2b7125e1079cfcc13a116aa3af3df2f9e002b
Author: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
Date:   Wed Mar 16 20:06:33 2022 +0000

     of/platform: Drop static setup of IRQ resource from DT core

     Now that all the DT drivers have switched to platform_get_irq() we 
can now
     safely drop the static setup of IRQ resource from DT core code.

     With the above change hierarchical setup of irq domains is no longer
     bypassed and thus allowing hierarchical interrupt domains to describe
     interrupts using "interrupts" DT property.

     Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
     Acked-by: Marc Zyngier <maz at kernel.org>
     Tested-by: Marc Zyngier <maz at kernel.org>
     Signed-off-by: Rob Herring <robh at kernel.org>
     Link: 
https://lore.kernel.org/r/20220316200633.28974-1-prabhakar.mahadev-lad.rj@bp.renesas.com



Can you please provide you device tree ?

Do you use any out-of-tree drivers ?

Thanks
Christophe


More information about the Linuxppc-dev mailing list