Thread (24 messages) 24 messages, 4 authors, 2022-06-16

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

From: Christian Zigotzky <hidden>
Date: 2022-05-27 07:49:39

On 27 May 2022 at 09:23 am, Christophe Leroy wrote:
Hi

Le 26/05/2022 à 19:42, Christian Zigotzky a écrit :
quoted
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 [off-list ref]
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 [off-list ref]
      Acked-by: Marc Zyngier [off-list ref]
      Tested-by: Marc Zyngier [off-list ref]
      Signed-off-by: Rob Herring [off-list ref]
      Link:
https://lore.kernel.org/r/20220316200633.28974-1-prabhakar.mahadev-lad.rj@bp.renesas.com (local)



Can you please provide you device tree ?

Do you use any out-of-tree drivers ?

Thanks
Christophe
Hi Christophe,

No, I don't use any out-of-tree drivers. Please find attached the dtb, 
dts, and the dtsi file.

Thanks,
Christian

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help