* Re: [PATCH 23/28] staging: most: dim2: use device tree
[not found] ` <1525772716-15742-24-git-send-email-christian.gromm@microchip.com>
@ 2021-10-12 18:14 ` Geert Uytterhoeven
2021-10-13 12:24 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-10-12 18:14 UTC (permalink / raw)
To: Christian Gromm, gregkh
Cc: Rob Herring, Nikita Yushchenko, linux-staging, devicetree,
linux-renesas-soc
Hi Christian, Greg,
CC devicetree, linux-renesas-soc
On Tue, 8 May 2018, Christian Gromm wrote:
> This patch removes the dependency to platform specific source files
> that do platform specific initialization and supply the IRQ number.
> Instead DT code is added
>
> Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
This patch bypassed review by the DT people, and ended up in v4.18 as
commit 21e57ff086056c01 ("staging: most: dim2: use device tree").
> --- a/drivers/staging/most/dim2/dim2.c
> +++ b/drivers/staging/most/dim2/dim2.c
> +static const struct of_device_id dim2_of_match[] = {
> + {
> + .compatible = "fsl,imx6q-mlb150",
> + .data = plat_data + FSL_MX6
> + },
> + {
> + .compatible = "renesas,mlp",
> + .data = plat_data + RCAR_H2
> + },
> + {
> + .compatible = "rcar,medialb-dim2",
> + .data = plat_data + RCAR_M3
> + },
> + {
> + .compatible = "xlnx,axi4-os62420_3pin-1.00.a",
> + },
> + {
> + .compatible = "xlnx,axi4-os62420_6pin-1.00.a",
> + },
> + {},
> };
There are no documented DT bindings for this hardware block, nor any
upstream example users. Given some compatible values do not follow
standard practises (no idea about the other parts), it's very likely
these de facto bindings, and all their out-of-tree users, will have to
be changed.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 23/28] staging: most: dim2: use device tree
2021-10-12 18:14 ` [PATCH 23/28] staging: most: dim2: use device tree Geert Uytterhoeven
@ 2021-10-13 12:24 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2021-10-13 12:24 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Christian Gromm, Rob Herring, Nikita Yushchenko, linux-staging,
devicetree, linux-renesas-soc
On Tue, Oct 12, 2021 at 08:14:14PM +0200, Geert Uytterhoeven wrote:
> Hi Christian, Greg,
>
> CC devicetree, linux-renesas-soc
>
> On Tue, 8 May 2018, Christian Gromm wrote:
> > This patch removes the dependency to platform specific source files
> > that do platform specific initialization and supply the IRQ number.
> > Instead DT code is added
> >
> > Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
>
> This patch bypassed review by the DT people, and ended up in v4.18 as
> commit 21e57ff086056c01 ("staging: most: dim2: use device tree").
Yeah, staging-only dt changes are not usually run by the dt maintainers.
>
> > --- a/drivers/staging/most/dim2/dim2.c
> > +++ b/drivers/staging/most/dim2/dim2.c
> > +static const struct of_device_id dim2_of_match[] = {
> > + {
> > + .compatible = "fsl,imx6q-mlb150",
> > + .data = plat_data + FSL_MX6
> > + },
> > + {
> > + .compatible = "renesas,mlp",
> > + .data = plat_data + RCAR_H2
> > + },
> > + {
> > + .compatible = "rcar,medialb-dim2",
> > + .data = plat_data + RCAR_M3
> > + },
> > + {
> > + .compatible = "xlnx,axi4-os62420_3pin-1.00.a",
> > + },
> > + {
> > + .compatible = "xlnx,axi4-os62420_6pin-1.00.a",
> > + },
> > + {},
> > };
>
> There are no documented DT bindings for this hardware block, nor any
> upstream example users. Given some compatible values do not follow
> standard practises (no idea about the other parts), it's very likely
> these de facto bindings, and all their out-of-tree users, will have to
> be changed.
Great, fix the bindings and anything in-kernel here please. We don't
care about out-of-kernel stuff for drivers/staging/ at all.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-13 12:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1525772716-15742-1-git-send-email-christian.gromm@microchip.com>
[not found] ` <1525772716-15742-24-git-send-email-christian.gromm@microchip.com>
2021-10-12 18:14 ` [PATCH 23/28] staging: most: dim2: use device tree Geert Uytterhoeven
2021-10-13 12:24 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).