Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: soc: xilinx: Add support for KV260 CC

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.

Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/14c184225cc4f0a61da5f8c98bc0767f8deba0df.1706019781.git.michal.simek@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>

+34
+34
Documentation/devicetree/bindings/soc/xilinx/xilinx.yaml
··· 148 148 - contains: 149 149 const: xlnx,zynqmp-smk-k26 150 150 151 + - description: Xilinx Kria SOM KV260 revA/Y/Z 152 + minItems: 3 153 + items: 154 + enum: 155 + - xlnx,zynqmp-sk-kv260-revA 156 + - xlnx,zynqmp-sk-kv260-revY 157 + - xlnx,zynqmp-sk-kv260-revZ 158 + - xlnx,zynqmp-sk-kv260 159 + - xlnx,zynqmp 160 + allOf: 161 + - contains: 162 + const: xlnx,zynqmp-sk-kv260-revA 163 + - contains: 164 + const: xlnx,zynqmp-sk-kv260 165 + - contains: 166 + const: xlnx,zynqmp 167 + 168 + - description: Xilinx Kria SOM KV260 rev2/1/B 169 + minItems: 3 170 + items: 171 + enum: 172 + - xlnx,zynqmp-sk-kv260-rev2 173 + - xlnx,zynqmp-sk-kv260-rev1 174 + - xlnx,zynqmp-sk-kv260-revB 175 + - xlnx,zynqmp-sk-kv260 176 + - xlnx,zynqmp 177 + allOf: 178 + - contains: 179 + const: xlnx,zynqmp-sk-kv260-revB 180 + - contains: 181 + const: xlnx,zynqmp-sk-kv260 182 + - contains: 183 + const: xlnx,zynqmp 184 + 151 185 - description: AMD MicroBlaze V (QEMU) 152 186 items: 153 187 - const: qemu,mbv