Thread (7 messages) 7 messages, 4 authors, 2022-08-01

Re: [PATCH] powerpc/85xx: P2020: Add law_trgt_if property to PCIe DT nodes

From: Pali Rohár <pali@kernel.org>
Date: 2022-05-05 15:47:28
Also in: lkml

On Thursday 05 May 2022 10:40:09 Rob Herring wrote:
On Wed, May 4, 2022 at 1:09 PM Pali Rohár [off-list ref] wrote:
quoted
DT law_trgt_if property defines Local Access Window Target Interface.
Documentation?
I was not able to find it :-( So the only documentation for me was the
source code and decoding how it works and how it is used.
fsl,law-trgt-if would be the preferred form.
quoted
Local Access Window Target Interface is used for identifying individual
peripheral and mapping its memory to CPU. Interface id is defined by
hardware itself.
Normally, we avoid instance indices like this, but if it is more than
just documentation convention maybe that's fine.

Rob
It is id defined by HW. Software needs to know how to pair DT node with
address range defined in "ranges" to the correct HW PCIe controller.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help