Thread (6 messages) flat view 6 messages, 4 authors, 2021-08-06

Re: [PATCH v4] soc: fsl: qe: convert QE interrupt controller to platform_device

From: Christophe Leroy <hidden>
Date: 2021-08-06 05:00:38
Also in: linuxppc-dev, lkml


Le 06/08/2021 à 06:39, Saravana Kannan a écrit :
On Thu, Aug 5, 2021 at 9:35 PM Maxim Kochetkov [off-list ref] wrote:
quoted
03.08.2021 20:51, Saravana Kannan wrote:
quoted
quoted
So lets convert this driver to simple platform_device with probe().
Also use platform_get_ and devm_ family function to get/allocate
resources and drop unused .compatible = "qeic".
Yes, please!
Should I totally drop { .type = "qeic"}, or keep?
Sorry for the confusion. My "Yes, please"!" was a show of support for
switching this to a proper platform driver. Not a response to that
specific question.

I didn't look at the code/DT close enough to know/care about the "type" part.
As far as I understand, Leo told it needs to remain, based on his answer below:

"From the original code, this should be type = "qeic".  It is not
defined in current binding but probably needed for backward
compatibility."


Christophe

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help