mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge "ARM: dts: msm: Add virtual subsystem notification nodes for SA8155 VM"
This commit is contained in:
commit
edd45d07b1
2 changed files with 67 additions and 0 deletions
49
bindings/arm/msm/subsystem_notif_virt.txt
Normal file
49
bindings/arm/msm/subsystem_notif_virt.txt
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
Subsystem Notification Virtual Driver
|
||||
|
||||
The guest VM uses this driver to communicate
|
||||
subsystem state notifications to a backend driver
|
||||
via the virtual device's registers.
|
||||
|
||||
[Root level node]
|
||||
Required Properties:
|
||||
-compatible : Should be "qcom,subsys-notif-virt"
|
||||
-reg : The start and size of the virtual device's
|
||||
register set.
|
||||
-reg-names : Should be "vdev_base" for virtual device's
|
||||
base address.
|
||||
|
||||
[Child nodes]
|
||||
-subsys-names : The name of the subsystem that the
|
||||
driver is registering to notifications for.
|
||||
-offset : The offset from the virtual device's register
|
||||
base where the subsystem state will be written.
|
||||
-type : The type of the subsystem.
|
||||
"virtual" - When the subsystem is loaded by the host VM.
|
||||
"native" - When the subsystem is loaded by the guest VM.
|
||||
|
||||
Required Property for "virtual" subsystem types:
|
||||
-interrupts : Tuple defining the interrupt which the driver must
|
||||
register for to receive subsystem state notifications
|
||||
from the backend.
|
||||
-interrupt-names: Must be "state-irq"
|
||||
|
||||
Example:
|
||||
|
||||
subsys_notif_virt: qcom,subsys_notif_virt@2D000000 {
|
||||
compatible = "qcom,subsys-notif-virt";
|
||||
reg = <0x2D000000 0x400>;
|
||||
reg-names = "vdev_base";
|
||||
adsp {
|
||||
subsys-name = "adsp";
|
||||
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "state-irq";
|
||||
type = "virtual";
|
||||
offset = <0>;
|
||||
};
|
||||
modem {
|
||||
subsys-name = "modem";
|
||||
type = "native";
|
||||
offset = <256>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -275,6 +275,24 @@
|
|||
qcom,qsee-reentrancy-support = <2>;
|
||||
};
|
||||
|
||||
subsys_notif_virt: qcom,subsys_notif_virt@2D000000 {
|
||||
compatible = "qcom,subsys-notif-virt";
|
||||
reg = <0x2D000000 0x400>;
|
||||
reg-names = "vdev_base";
|
||||
adsp {
|
||||
subsys-name = "adsp";
|
||||
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "state-irq";
|
||||
type = "virtual";
|
||||
offset = <0>;
|
||||
};
|
||||
|
||||
wlan {
|
||||
subsys-name = "wlan";
|
||||
type = "native";
|
||||
offset = <512>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
®ulator {
|
||||
|
|
|
|||
Loading…
Reference in a new issue