summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-10-24 02:25:59 +0300
committerSimon Glass <sjg@chromium.org>2021-11-29 02:51:51 +0300
commit0bf61aced283a4ec256f1d8fe919e8890da2191c (patch)
tree43039f82ef8bc930c20551ffad78327de6e019f0 /doc/device-tree-bindings
parenta0ff280a8988dd62c8dc9a3156f6f80a346000e5 (diff)
downloadu-boot-0bf61aced283a4ec256f1d8fe919e8890da2191c.tar.xz
sandbox: mmc: Support a backing file
Provide a way for sandbox MMC to present data from a backing file. This allows a filesystem to be created on the host and easily served via an emulated mmc device. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/device-tree-bindings')
-rw-r--r--doc/device-tree-bindings/mmc/sandbox,mmc.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/mmc/sandbox,mmc.txt b/doc/device-tree-bindings/mmc/sandbox,mmc.txt
new file mode 100644
index 0000000000..1170bcd6a0
--- /dev/null
+++ b/doc/device-tree-bindings/mmc/sandbox,mmc.txt
@@ -0,0 +1,18 @@
+Sandbox MMC
+===========
+
+Required properties:
+- compatible : "sandbox,mmc"
+
+Optional properties:
+- filename : Name of backing file, if any. This is mapped into the MMC device
+ so can be used to provide a filesystem or other test data
+
+
+Example
+-------
+
+mmc2 {
+ compatible = "sandbox,mmc";
+ non-removable;
+};