Re: [PATCH] dt-bindings: soc: xilinx: Add support for KV260 CC

From: Rob Herring
Date: Tue Jan 30 2024 - 15:52:15 EST



On Tue, 23 Jan 2024 15:23:08 +0100, Michal Simek wrote:
> When DT overlay is applied at run time compatible string or model AFAIK is
> not updated. But when fdtoverlay tool is used it actually creates full
> description for used SOM and carrier card(CC). That's why there is no
> reason to use generic SOM name and its compatible strings because they are
> not properly reflected in newly created DT.
> Composing dt overlays together was introduced by commit 7a4c31ee877a
> ("arm64: zynqmp: Add support for Xilinx Kria SOM board") and later renamed
> by commit 45fe0dc4ea2e ("arm64: xilinx: Use zynqmp prefix for SOM dt
> overlays").
> DTB selection is done prior booting OS that's why there is no need to do
> run time composition for SOM and CC combination. And user space can use
> compatible string and all listed revisions to figured it out which SOM and
> CC combinations OS is running at.
>
> Signed-off-by: Michal Simek <michal.simek@xxxxxxx>
> ---
>
> We are using U-Boot DTB reselection feature to identify SOM + CC
> combination.
>
> This patch depends on
> https://lore.kernel.org/r/90e1a393154c3d87e8ee7dc9eef07fc937c1eaf7.1706019397.git.michal.simek@xxxxxxx
>
> ---
> .../bindings/soc/xilinx/xilinx.yaml | 34 +++++++++++++++++++
> 1 file changed, 34 insertions(+)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>