Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: PCI: Add configfs binding documentation for pci-ntb endpoint function

Add binding documentation for pci-ntb endpoint function that helps in
adding and configuring pci-ntb endpoint function.

Link: https://lore.kernel.org/r/20210201195809.7342-17-kishon@ti.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

authored by

Kishon Vijay Abraham I and committed by
Bjorn Helgaas
250c475b 812ce2f8

+39
+38
Documentation/PCI/endpoint/function/binding/pci-ntb.rst
··· 1 + .. SPDX-License-Identifier: GPL-2.0 2 + 3 + ========================== 4 + PCI NTB Endpoint Function 5 + ========================== 6 + 7 + 1) Create a subdirectory to pci_epf_ntb directory in configfs. 8 + 9 + Standard EPF Configurable Fields: 10 + 11 + ================ =========================================================== 12 + vendorid should be 0x104c 13 + deviceid should be 0xb00d for TI's J721E SoC 14 + revid don't care 15 + progif_code don't care 16 + subclass_code should be 0x00 17 + baseclass_code should be 0x5 18 + cache_line_size don't care 19 + subsys_vendor_id don't care 20 + subsys_id don't care 21 + interrupt_pin don't care 22 + msi_interrupts don't care 23 + msix_interrupts don't care 24 + ================ =========================================================== 25 + 26 + 2) Create a subdirectory to directory created in 1 27 + 28 + NTB EPF specific configurable fields: 29 + 30 + ================ =========================================================== 31 + db_count Number of doorbells; default = 4 32 + mw1 size of memory window1 33 + mw2 size of memory window2 34 + mw3 size of memory window3 35 + mw4 size of memory window4 36 + num_mws Number of memory windows; max = 4 37 + spad_count Number of scratchpad registers; default = 64 38 + ================ ===========================================================
+1
Documentation/PCI/endpoint/index.rst
··· 14 14 pci-ntb-function 15 15 16 16 function/binding/pci-test 17 + function/binding/pci-ntb