1 .. SPDX-License-Identifier: GPL-2.0
3 ==========================
4 PCI NTB Endpoint Function
5 ==========================
7 1) Create a subdirectory to pci_epf_ntb directory in configfs.
9 Standard EPF Configurable Fields:
11 ================ ===========================================================
12 vendorid should be 0x104c
13 deviceid should be 0xb00d for TI's J721E SoC
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
21 interrupt_pin don't care
22 msi_interrupts don't care
23 msix_interrupts don't care
24 ================ ===========================================================
26 2) Create a subdirectory to directory created in 1
28 NTB EPF specific configurable fields:
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 ================ ===========================================================