devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bad DT binding (hisi-pcie-almost-ecam)
@ 2017-03-10 17:40 Mark Rutland
  2017-03-13  8:14 ` Gabriele Paoloni
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Rutland @ 2017-03-10 17:40 UTC (permalink / raw)
  To: Dongdong Liu, Bjorn Helgaas
  Cc: Gabriele Paoloni, Zhou Wang, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-pci-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

I've just spotted commit:

  a2ec1996098c7da0 ("PCI: hisi: Add DT almost-ECAM support for Hip06/Hip07 host controllers")

... which went in for v4.11-rc1.

I hadn't seen this until now, and as far as I can tell this never went
to the devicetree list.

The commit adds the "hisilicon,pcie-almost-ecam", which goes against the
usual DT conventions, and is non-sensical in that it describes the IP
based on what it isn't.

This binding shouldn't have gone in as-is, and we should fix it before
v4.11.

The binding states that this IP is found in Hip06 and Hip07. For these
cases we'd usually take the name of the first implementation, e.g.
something like "hisilicon,hip06-pcie", which can be used as a fallback
in the compatible list if reused in subsequent SoC generations.

I also see that "hisilicon,hip06-pcie" already exists, so I'm even more
suspicious.

What exactly is the "hisilicon,pcie-almost-ecam" binding trying to
describe? Is it a different IP also found on Hip06, or is it a new
binding for the same IP?

Thanks,
Mark.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-13 13:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-10 17:40 Bad DT binding (hisi-pcie-almost-ecam) Mark Rutland
2017-03-13  8:14 ` Gabriele Paoloni
     [not found]   ` <EE11001F9E5DDD47B7634E2F8A612F2E2047A8C1-WFPaWmAhWqtUuCJht5byYAK1hpo4iccwjNknBlVQO8k@public.gmane.org>
2017-03-13  8:48     ` Geert Uytterhoeven
2017-03-13  9:34       ` Gabriele Paoloni
2017-03-13 10:44   ` Mark Rutland
2017-03-13 13:09     ` Gabriele Paoloni

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).