nvidia: port vsc driver's device-tree binding files

Bug 4231381

Change-Id: Ib26c24ce8fea89444d1d2d5313eec04f1505bb93
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3011283
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Manish Bhardwaj
2023-11-06 19:06:31 +00:00
committed by mobile promotions
parent 9b0b059027
commit a64e56d31d
2 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
Tegra Virtual Storage driver for OOPS partition
Virtual Storage Driver is the front end driver that interfaces with
- the Storage Virtualization System for Tegra SOC OOPS partition and
- the pstore system for storing OOPS/panic logs
Required Properties:
- compatible: should be "nvidia,tegra-hv-oops-storage"
- instance: to identify a specific instance of the device
- ivc: ivc channel to used for communication with Virtualization System
- mempool: mempool used for data transfers with Virtualization System
- pstore_max_reason: one of KMSG_DUMP_* values from kmsg_dump.h. Driver only
supports KMSG_DUMP_OOPS (value = 2) which allows PANIC and OOPS logs
to be stored. KMSG logs above this reason level will be ignored.
- pstore_kmsg_size: record size (should be block size aligned) for KMSG logs.
Default is 64KB.
Example:
tegra_virt_storage31 {
compatible = "nvidia,tegra-hv-oops-storage";
status = "okay";
pstore_max_reason = <2>;
pstore_kmsg_size = <0x10000>;
instance = <31>;
ivc = <&tegra_hv 230>;
mempool = <69>;
};

View File

@@ -0,0 +1,21 @@
Tegra Virtual Storage driver
Virtual Storage Driver is the front end driver that interfaces with the
Storage Virtualization System for Tegra SOC and provides a block device
interface
Required Properties:
- compatible: should be "nvidia,tegra-hv-storage"
- instance: to identify a specific instance of the device
- ivc: ivc channel to used for communication with Virtualization System
- mempool: mempool used for data transfers with Virtualization System
Example:
tegra_virt_storage0 {
compatible = "nvidia,tegra-hv-storage";
instance = <0>;
ivc = <&tegra_hv 63>;
mempool = <10>;
status = "okay";
};