From aa69cb8e873e52802ea7ff8be9b6722bf45cc7a3 Mon Sep 17 00:00:00 2001 From: Jinyoung Park Date: Thu, 27 Jul 2017 21:05:51 +0900 Subject: virt: tegra: Add tegra_hv_pm_ctl driver Added Nvidia Tegra hypervisor PM control to handle power state transition commands over IVC channel. Supported system shutdown/reboot initiation via sysfs. Updated hyp_guest_reset hvc call interface. STR-293 STR-294 STR-364 Jira VFND-4029 Jira HYP-77 Change-Id: I60274121de27495e5ae11ba34b02b65350496a9b Signed-off-by: Jinyoung Park Reviewed-on: https://git-master.nvidia.com/r/1528042 GVS: Gerrit_Virtual_Submit Reviewed-by: Abhijit . Tested-by: Sang-Hun Lee Reviewed-by: Sumeet Gupta --- .../devicetree/bindings/tegra_hv/tegra_hv_pm_ctl.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/tegra_hv/tegra_hv_pm_ctl.txt (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/tegra_hv/tegra_hv_pm_ctl.txt b/Documentation/devicetree/bindings/tegra_hv/tegra_hv_pm_ctl.txt new file mode 100644 index 000000000..1b59ffe8c --- /dev/null +++ b/Documentation/devicetree/bindings/tegra_hv/tegra_hv_pm_ctl.txt @@ -0,0 +1,12 @@ +* Tegra Hypervisor PM control (tegra_hv_pm_ctl) + +Required properties: +- compatible: Should be "nvidia,tegra-hv-pm-ctl". +- ivc : IVC channel ID between Guest VM and Sysmgr. + +Example: + tegra_hv_pm_ctl { + compatible = "nvidia,tegra-hv-pm-ctl"; + status = "okay"; + ivc = <&tegra_hv 102>; + }; -- cgit v1.2.2