]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Documentation: PCI: Add binding documentation for pci-test endpoint function
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 27 Mar 2017 09:45:04 +0000 (15:15 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Apr 2017 15:23:16 +0000 (10:23 -0500)
Add binding documentation for pci-test endpoint function that helps in
adding and configuring pci-test endpoint function.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Documentation/PCI/00-INDEX
Documentation/PCI/endpoint/function/binding/pci-test.txt [new file with mode: 0644]

index ab35e4bbdb1cfa578f01a7b47b1ec36edac116e3..2fc901a1c32e87325232a813f7fc57076fe13225 100644 (file)
@@ -18,3 +18,5 @@ endpoint/pci-endpoint-cfs.txt
        - guide to use configfs to configure the PCI endpoint function.
 endpoint/pci-test-function.txt
        - specification of *PCI test* function device.
+endpoint/function/binding/
+       - binding documentation for PCI endpoint function
diff --git a/Documentation/PCI/endpoint/function/binding/pci-test.txt b/Documentation/PCI/endpoint/function/binding/pci-test.txt
new file mode 100644 (file)
index 0000000..3b68b95
--- /dev/null
@@ -0,0 +1,17 @@
+PCI TEST ENDPOINT FUNCTION
+
+name: Should be "pci_epf_test" to bind to the pci_epf_test driver.
+
+Configurable Fields:
+vendorid        : should be 0x104c
+deviceid        : should be 0xb500 for DRA74x and 0xb501 for DRA72x
+revid           : don't care
+progif_code     : don't care
+subclass_code   : don't care
+baseclass_code  : should be 0xff
+cache_line_size         : don't care
+subsys_vendor_id : don't care
+subsys_id       : don't care
+interrupt_pin   : Should be 1 - INTA, 2 - INTB, 3 - INTC, 4 -INTD
+msi_interrupts  : Should be 1 to 32 depending on the number of MSI interrupts
+                  to test