From 5c87a553f356f4af2fc7daa7737d8c9509462d97 Mon Sep 17 00:00:00 2001 From: Po-Jung Lai Date: Tue, 17 Oct 2023 14:27:44 -0700 Subject: [PATCH] ARM: dts: msm: gunyah: Add dbl test node for sun Add doorbell test node to sun.dtsi, sun-vm.dtsi and sun-oemvm.dtsi validate hypervisor doorbell functionality. Change-Id: I8535600c66692b4254e54da773f4d2bb6e717583 Signed-off-by: Po-Jung Lai --- qcom/sun-oemvm.dtsi | 19 +++++++++++++++++++ qcom/sun-vm.dtsi | 19 +++++++++++++++++++ qcom/sun.dtsi | 10 ++++++++++ 3 files changed, 48 insertions(+) diff --git a/qcom/sun-oemvm.dtsi b/qcom/sun-oemvm.dtsi index 48666a02..ac30bb4f 100644 --- a/qcom/sun-oemvm.dtsi +++ b/qcom/sun-oemvm.dtsi @@ -134,6 +134,20 @@ base = <0x0 0xFFF00000>; }; }; + + test-dbl-oemvm { + vdevice-type = "doorbell"; + generate = "/hypervisor/test-dbl-oemvm"; + qcom,label = <0x5>; + peer-default; + }; + + test-dbl-oemvm-source { + vdevice-type = "doorbell-source"; + generate = "/hypervisor/test-dbl-oemvm-source"; + qcom,label = <0x5>; + peer-default; + }; }; }; @@ -176,4 +190,9 @@ ; clock-frequency = <19200000>; }; + + qcom,test-dbl-oemvm { + compatible = "qcom,gh-dbl"; + qcom,label = <0x5>; + }; }; diff --git a/qcom/sun-vm.dtsi b/qcom/sun-vm.dtsi index 290dce39..290b8f84 100644 --- a/qcom/sun-vm.dtsi +++ b/qcom/sun-vm.dtsi @@ -173,6 +173,20 @@ }; }; + test-dbl-tuivm { + vdevice-type = "doorbell"; + generate = "/hypervisor/test-dbl-tuivm"; + qcom,label = <0x4>; + peer-default; + }; + + test-dbl-tuivm-source { + vdevice-type = "doorbell-source"; + generate = "/hypervisor/test-dbl-tuivm-source"; + qcom,label = <0x4>; + peer-default; + }; + ddump-shm { vdevice-type = "shm-doorbell"; generate = "/hypervisor/ddump-shm"; @@ -324,6 +338,11 @@ qcom,support-hypervisor; }; + qcom,test-dbl-tuivm { + compatible = "qcom,gh-dbl"; + qcom,label = <0x4>; + }; + qcom,gunyah-panic-notifier { compatible = "qcom,gh-panic-notifier"; gunyah-label = <9>; diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index daaacaf5..4a22d9e8 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -2502,6 +2502,16 @@ thermal_zones: thermal-zones { }; + qcom,test-dbl-tuivm { + compatible = "qcom,gh-dbl"; + qcom,label = <0x4>; + }; + + qcom,test-dbl-oemvm { + compatible = "qcom,gh-dbl"; + qcom,label = <0x5>; + }; + qcom,gunyah-panic-notifier { compatible = "qcom,gh-panic-notifier"; qcom,primary-vm;