| .. | .. |
|---|
| 1 | 1 | What: /sys/bus/siox/devices/siox-X/active |
|---|
| 2 | 2 | KernelVersion: 4.16 |
|---|
| 3 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 3 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 4 | 4 | Description: |
|---|
| 5 | 5 | On reading represents the current state of the bus. If it |
|---|
| 6 | 6 | contains a "0" the bus is stopped and connected devices are |
|---|
| .. | .. |
|---|
| 8 | 8 | When the file contains a "1" the bus is operated and periodically |
|---|
| 9 | 9 | does a push-pull cycle to write and read data from the |
|---|
| 10 | 10 | connected devices. |
|---|
| 11 | + |
|---|
| 11 | 12 | When writing a "0" or "1" the bus moves to the described state. |
|---|
| 12 | 13 | |
|---|
| 13 | 14 | What: /sys/bus/siox/devices/siox-X/device_add |
|---|
| 14 | 15 | KernelVersion: 4.16 |
|---|
| 15 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 16 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 16 | 17 | Description: |
|---|
| 17 | 18 | Write-only file. Write |
|---|
| 18 | 19 | |
|---|
| .. | .. |
|---|
| 21 | 22 | to add a new device dynamically. <type> is the name that is used to match |
|---|
| 22 | 23 | to a driver (similar to the platform bus). <inbytes> and <outbytes> define |
|---|
| 23 | 24 | the length of the input and output shift register in bytes respectively. |
|---|
| 25 | + |
|---|
| 24 | 26 | <statustype> defines the 4 bit device type that is check to identify connection |
|---|
| 25 | 27 | problems. |
|---|
| 28 | + |
|---|
| 26 | 29 | The new device is added to the end of the existing chain. |
|---|
| 27 | 30 | |
|---|
| 28 | 31 | What: /sys/bus/siox/devices/siox-X/device_remove |
|---|
| 29 | 32 | KernelVersion: 4.16 |
|---|
| 30 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 33 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 31 | 34 | Description: |
|---|
| 32 | 35 | Write-only file. A single write removes the last device in the siox chain. |
|---|
| 33 | 36 | |
|---|
| 34 | 37 | What: /sys/bus/siox/devices/siox-X/poll_interval_ns |
|---|
| 35 | 38 | KernelVersion: 4.16 |
|---|
| 36 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 39 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 37 | 40 | Description: |
|---|
| 38 | 41 | Defines the interval between two poll cycles in nano seconds. |
|---|
| 39 | 42 | Note this is rounded to jiffies on writing. On reading the current value |
|---|
| .. | .. |
|---|
| 41 | 44 | |
|---|
| 42 | 45 | What: /sys/bus/siox/devices/siox-X-Y/connected |
|---|
| 43 | 46 | KernelVersion: 4.16 |
|---|
| 44 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 47 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 45 | 48 | Description: |
|---|
| 46 | 49 | Read-only value. "0" means the Yth device on siox bus X isn't "connected" i.e. |
|---|
| 47 | 50 | communication with it is not ensured. "1" signals a working connection. |
|---|
| 48 | 51 | |
|---|
| 49 | 52 | What: /sys/bus/siox/devices/siox-X-Y/inbytes |
|---|
| 50 | 53 | KernelVersion: 4.16 |
|---|
| 51 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 54 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 52 | 55 | Description: |
|---|
| 53 | 56 | Read-only value reporting the inbytes value provided to siox-X/device_add |
|---|
| 54 | 57 | |
|---|
| 55 | 58 | What: /sys/bus/siox/devices/siox-X-Y/status_errors |
|---|
| 56 | 59 | KernelVersion: 4.16 |
|---|
| 57 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 60 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 58 | 61 | Description: |
|---|
| 59 | 62 | Counts the number of time intervals when the read status byte doesn't yield the |
|---|
| 60 | 63 | expected value. |
|---|
| 61 | 64 | |
|---|
| 62 | 65 | What: /sys/bus/siox/devices/siox-X-Y/type |
|---|
| 63 | 66 | KernelVersion: 4.16 |
|---|
| 64 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 67 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 65 | 68 | Description: |
|---|
| 66 | 69 | Read-only value reporting the type value provided to siox-X/device_add. |
|---|
| 67 | 70 | |
|---|
| 68 | 71 | What: /sys/bus/siox/devices/siox-X-Y/watchdog |
|---|
| 69 | 72 | KernelVersion: 4.16 |
|---|
| 70 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 73 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 71 | 74 | Description: |
|---|
| 72 | 75 | Read-only value reporting if the watchdog of the siox device is |
|---|
| 73 | 76 | active. "0" means the watchdog is not active and the device is expected to |
|---|
| .. | .. |
|---|
| 75 | 78 | |
|---|
| 76 | 79 | What: /sys/bus/siox/devices/siox-X-Y/watchdog_errors |
|---|
| 77 | 80 | KernelVersion: 4.16 |
|---|
| 78 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 81 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 79 | 82 | Description: |
|---|
| 80 | 83 | Read-only value reporting the number to time intervals when the |
|---|
| 81 | 84 | watchdog was active. |
|---|
| 82 | 85 | |
|---|
| 83 | 86 | What: /sys/bus/siox/devices/siox-X-Y/outbytes |
|---|
| 84 | 87 | KernelVersion: 4.16 |
|---|
| 85 | | -Contact: Gavin Schenk <g.schenk@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 88 | +Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|
| 86 | 89 | Description: |
|---|
| 87 | 90 | Read-only value reporting the outbytes value provided to siox-X/device_add. |
|---|