Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Matt Porter | 394b701 | 2005-11-07 01:00:15 -0800 | [diff] [blame] | 2 | # |
| 3 | # RapidIO configuration |
| 4 | # |
Christoph Hellwig | 1753d50 | 2018-11-15 20:05:36 +0100 | [diff] [blame] | 5 | |
| 6 | config HAVE_RAPIDIO |
| 7 | bool |
| 8 | |
| 9 | menuconfig RAPIDIO |
| 10 | tristate "RapidIO support" |
| 11 | depends on HAVE_RAPIDIO || PCI |
| 12 | help |
| 13 | If you say Y here, the kernel will include drivers and |
| 14 | infrastructure code to support RapidIO interconnect devices. |
| 15 | |
Alexandre Bounine | 48618fb | 2011-11-02 13:39:09 -0700 | [diff] [blame] | 16 | source "drivers/rapidio/devices/Kconfig" |
| 17 | |
Matt Porter | 394b701 | 2005-11-07 01:00:15 -0800 | [diff] [blame] | 18 | config RAPIDIO_DISC_TIMEOUT |
| 19 | int "Discovery timeout duration (seconds)" |
| 20 | depends on RAPIDIO |
| 21 | default "30" |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 22 | help |
Matt Porter | 394b701 | 2005-11-07 01:00:15 -0800 | [diff] [blame] | 23 | Amount of time a discovery node waits for a host to complete |
Matt LaPlante | 0950960 | 2006-10-03 22:31:37 +0200 | [diff] [blame] | 24 | enumeration before giving up. |
Alexandre Bounine | 07590ff | 2010-05-26 14:43:57 -0700 | [diff] [blame] | 25 | |
Thomas Moll | 933af4a | 2010-05-26 14:44:01 -0700 | [diff] [blame] | 26 | config RAPIDIO_ENABLE_RX_TX_PORTS |
| 27 | bool "Enable RapidIO Input/Output Ports" |
| 28 | depends on RAPIDIO |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 29 | help |
Thomas Moll | 933af4a | 2010-05-26 14:44:01 -0700 | [diff] [blame] | 30 | The RapidIO specification describes a Output port transmit |
| 31 | enable and a Input port receive enable. The recommended state |
| 32 | for Input ports and Output ports should be disabled. When |
| 33 | this switch is set the RapidIO subsystem will enable all |
| 34 | ports for Input/Output direction to allow other traffic |
| 35 | than Maintenance transfers. |
| 36 | |
Alexandre Bounine | e42d98e | 2012-05-31 16:26:38 -0700 | [diff] [blame] | 37 | config RAPIDIO_DMA_ENGINE |
| 38 | bool "DMA Engine support for RapidIO" |
| 39 | depends on RAPIDIO |
Laurent Pinchart | d2b8610 | 2020-07-29 01:19:40 +0300 | [diff] [blame] | 40 | depends on DMADEVICES |
Alexandre Bounine | e42d98e | 2012-05-31 16:26:38 -0700 | [diff] [blame] | 41 | select DMA_ENGINE |
| 42 | help |
| 43 | Say Y here if you want to use DMA Engine frameork for RapidIO data |
| 44 | transfers to/from target RIO devices. RapidIO uses NREAD and |
| 45 | NWRITE (NWRITE_R, SWRITE) requests to transfer data between local |
| 46 | memory and memory on remote target device. You need a DMA controller |
| 47 | capable to perform data transfers to/from RapidIO. |
| 48 | |
| 49 | If you are unsure about this, say Y here. |
| 50 | |
Alexandre Bounine | 011507e | 2010-05-26 14:44:03 -0700 | [diff] [blame] | 51 | config RAPIDIO_DEBUG |
| 52 | bool "RapidIO subsystem debug messages" |
| 53 | depends on RAPIDIO |
| 54 | help |
| 55 | Say Y here if you want the RapidIO subsystem to produce a bunch of |
| 56 | debug messages to the system log. Select this if you are having a |
| 57 | problem with the RapidIO subsystem and want to see more of what is |
| 58 | going on. |
| 59 | |
| 60 | If you are unsure about this, say N here. |
Alexandre Bounine | 48618fb | 2011-11-02 13:39:09 -0700 | [diff] [blame] | 61 | |
Alexandre Bounine | a11650e | 2013-05-24 15:55:05 -0700 | [diff] [blame] | 62 | choice |
| 63 | prompt "Enumeration method" |
| 64 | depends on RAPIDIO |
| 65 | default RAPIDIO_ENUM_BASIC |
| 66 | help |
| 67 | There are different enumeration and discovery mechanisms offered |
| 68 | for RapidIO subsystem. You may select single built-in method or |
| 69 | or any number of methods to be built as modules. |
| 70 | Selecting a built-in method disables use of loadable methods. |
| 71 | |
| 72 | If unsure, select Basic built-in. |
| 73 | |
| 74 | config RAPIDIO_ENUM_BASIC |
| 75 | tristate "Basic" |
| 76 | help |
| 77 | This option includes basic RapidIO fabric enumeration and discovery |
| 78 | mechanism similar to one described in RapidIO specification Annex 1. |
| 79 | |
| 80 | endchoice |
| 81 | |
Alexandre Bounine | b6e8d4a | 2016-08-02 14:06:25 -0700 | [diff] [blame] | 82 | config RAPIDIO_CHMAN |
| 83 | tristate "RapidIO Channelized Messaging driver" |
| 84 | depends on RAPIDIO |
| 85 | help |
| 86 | This option includes RapidIO channelized messaging driver which |
| 87 | provides socket-like interface to allow sharing of single RapidIO |
| 88 | messaging mailbox between multiple user-space applications. |
Mauro Carvalho Chehab | d2bdd48 | 2019-06-18 16:03:23 -0300 | [diff] [blame] | 89 | See "Documentation/driver-api/rapidio/rio_cm.rst" for driver description. |
Alexandre Bounine | b6e8d4a | 2016-08-02 14:06:25 -0700 | [diff] [blame] | 90 | |
Alexandre Bounine | e8de370 | 2016-03-22 14:27:08 -0700 | [diff] [blame] | 91 | config RAPIDIO_MPORT_CDEV |
| 92 | tristate "RapidIO /dev mport device driver" |
| 93 | depends on RAPIDIO |
| 94 | help |
| 95 | This option includes generic RapidIO mport device driver which |
| 96 | allows to user space applications to perform RapidIO-specific |
| 97 | operations through selected RapidIO mport. |
| 98 | |
Alexandre Bounine | 2ec3ba6 | 2013-07-03 15:08:50 -0700 | [diff] [blame] | 99 | menu "RapidIO Switch drivers" |
| 100 | depends on RAPIDIO |
| 101 | |
Alexandre Bounine | 48618fb | 2011-11-02 13:39:09 -0700 | [diff] [blame] | 102 | source "drivers/rapidio/switches/Kconfig" |
Alexandre Bounine | 2ec3ba6 | 2013-07-03 15:08:50 -0700 | [diff] [blame] | 103 | |
| 104 | endmenu |