From 513926501dc0d43ce78fd72d00acc9be7fa8c405 Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva Date: Thu, 2 Jul 2015 19:32:05 +0100 Subject: [PATCH] greybus: examples: add manifest file for sdio Add example manifest file for sdio. Signed-off-by: Rui Miguel Silva Signed-off-by: Greg Kroah-Hartman --- .../examples/IID1-simple-sdio-module.mnfs | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 drivers/staging/greybus/examples/IID1-simple-sdio-module.mnfs diff --git a/drivers/staging/greybus/examples/IID1-simple-sdio-module.mnfs b/drivers/staging/greybus/examples/IID1-simple-sdio-module.mnfs new file mode 100644 index 000000000000..10ec8b488768 --- /dev/null +++ b/drivers/staging/greybus/examples/IID1-simple-sdio-module.mnfs @@ -0,0 +1,53 @@ +; +; Simple GPIO Interface Manifest +; +; Copyright 2014 Google Inc. +; Copyright 2014 Linaro Ltd. +; +; Provided under the three clause BSD license found in the LICENSE file. +; + +[manifest-header] +version-major = 0 +version-minor = 1 + +[interface-descriptor] +vendor-string-id = 1 +product-string-id = 2 + +; Interface vendor string (id can't be 0) +[string-descriptor "1"] +id = 1 +string = Project Ara + +; Interface product string (id can't be 0) +[string-descriptor "2"] +id = 2 +string = Simple SDIO Interface + +; Control cport and bundle are optional. +; - Control cport's id must be 2 and its bundle number must be 0. +; - No other bundle or control cport may use these values. +; - Class and protocol of bundle and cport must be marked as 0x00. +; +;Control protocol on CPort 2 +[cport-descriptor "2"] +bundle = 0 +id = 2 +protocol = 0x00 + +;Control protocol Bundle 0 +[bundle-descriptor "0"] +class = 0 +id = 0 + +; GPIO protocol on CPort 1 +[cport-descriptor "1"] +bundle = 1 +id = 1 +protocol = 0x07 + +; Bundle 1 +[bundle-descriptor "1"] +class = 7 +id = 1 -- 2.20.1