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