From 66dfe7b99ab35136cc762b925a78aa109a3bd60d Mon Sep 17 00:00:00 2001 From: Mykola Kvach Date: Wed, 15 Mar 2023 13:33:30 +0200 Subject: [PATCH] dts: bindings: xen: add xen,xen.yaml file Add yaml file for 'xen,xen', because without it an appropriate 'CONFIG_DT_HAS_XEN_XEN_ENABLED' isn't generated. It will be used for checking Xen support on current setup, instead of checking if it is BOARD/SOC "xenvm" (which is not correct for Domain-0 configurations). Remove xen,xen-4.15.yaml at all, because it isn't necessary to have yaml for some specific Xen version. Signed-off-by: Mykola Kvach Signed-off-by: Dmytro Firsov --- boards/arm64/xenvm/xenvm.dts | 6 +++--- dts/bindings/xen/{xen,xen-4.15.yaml => xen,xen.yaml} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename dts/bindings/xen/{xen,xen-4.15.yaml => xen,xen.yaml} (83%) diff --git a/boards/arm64/xenvm/xenvm.dts b/boards/arm64/xenvm/xenvm.dts index fb6daa3656..bbba268d9a 100644 --- a/boards/arm64/xenvm/xenvm.dts +++ b/boards/arm64/xenvm/xenvm.dts @@ -18,8 +18,8 @@ #include / { - model = "XENVM-4.15"; - compatible = "xen,xenvm-4.15", "xen,xenvm"; + model = "XENVM"; + compatible = "xen,xenvm"; interrupt-parent = <&gic>; #address-cells = <0x02>; #size-cells = <0x02>; @@ -68,7 +68,7 @@ }; hypervisor: hypervisor@38000000 { - compatible = "xen,xen-4.15", "xen,xen"; + compatible = "xen,xen"; reg = <0x00 0x38000000 0x00 0x1000000>; interrupts = ; interrupt-parent = <&gic>; diff --git a/dts/bindings/xen/xen,xen-4.15.yaml b/dts/bindings/xen/xen,xen.yaml similarity index 83% rename from dts/bindings/xen/xen,xen-4.15.yaml rename to dts/bindings/xen/xen,xen.yaml index 7456450d3a..1627f6d934 100644 --- a/dts/bindings/xen/xen,xen-4.15.yaml +++ b/dts/bindings/xen/xen,xen.yaml @@ -1,6 +1,6 @@ description: Xen Platform Control Registers -compatible: "xen,xen-4.15" +compatible: "xen,xen" include: base.yaml