[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yipakr7/nn3McDbd@robh.at.kernel.org>
Date:   Thu, 10 Mar 2022 14:07:46 -0600
From:   Rob Herring <robh@...nel.org>
To:     Lizhi Hou <lizhi.hou@...inx.com>
Cc:     linux-pci@...r.kernel.org, devicetree@...r.kernel.org,
        yilun.xu@...el.com, maxz@...inx.com, sonal.santan@...inx.com,
        yliu@...inx.com, michal.simek@...inx.com, stefanos@...inx.com,
        trix@...hat.com, mdf@...nel.org, dwmw2@...radead.org,
        linux-kernel@...r.kernel.org, Max Zhen <max.zhen@...inx.com>
Subject: Re: [PATCH V1 RESEND 4/4] of: enhance overlay applying interface to
 specific target base node
On Fri, Mar 04, 2022 at 09:23:04PM -0800, Lizhi Hou wrote:
> The self discovered device, e.g. PCIe device, may carry a device tree
> overlay to describe its downstream devices. In this case, the device node
> is created dynamically by device driver. And in the overlay it does not
> specify a fixed target path. Instead, a relative path to the device node
> is specified.
> Thus, a new parameter is added to overlay applying interface. This
> parameter is the pointer of target base node. Then the entire overlay
> target path is target base node path plus the relative path specified in
> the device tree overlay.
> 
> Signed-off-by: Sonal Santan <sonal.santan@...inx.com>
> Signed-off-by: Max Zhen <max.zhen@...inx.com>
> Signed-off-by: Lizhi Hou <lizhi.hou@...inx.com>
> ---
>  drivers/fpga/xrt/mgmt/Makefile       |  1 +
>  drivers/fpga/xrt/mgmt/dt-test.dts    | 15 ++++++++++
>  drivers/fpga/xrt/mgmt/dt-test.h      | 15 ++++++++++
>  drivers/fpga/xrt/mgmt/xmgmt-drv.c    | 41 +++++++++++++++++++++++++++-
>  drivers/gpu/drm/rcar-du/rcar_du_of.c |  2 +-
>  drivers/of/overlay.c                 | 37 +++++++++++++++++--------
>  drivers/of/unittest.c                |  2 +-
>  include/linux/of.h                   |  2 +-
The DT changes should be a 2nd patch.
That's the least of all the problems with this series though.
Rob
Powered by blists - more mailing lists
 
