Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/siox/devices/siox-X/active
0002 KernelVersion:  4.16
0003 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0004 Description:
0005                 On reading represents the current state of the bus. If it
0006                 contains a "0" the bus is stopped and connected devices are
0007                 expected to not do anything because their watchdog triggered.
0008                 When the file contains a "1" the bus is operated and periodically
0009                 does a push-pull cycle to write and read data from the
0010                 connected devices.
0011 
0012                 When writing a "0" or "1" the bus moves to the described state.
0013 
0014 What:           /sys/bus/siox/devices/siox-X/device_add
0015 KernelVersion:  4.16
0016 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0017 Description:
0018                 Write-only file. Write
0019 
0020                         <type> <inbytes> <outbytes> <statustype>
0021 
0022                 to add a new device dynamically. <type> is the name that is used to match
0023                 to a driver (similar to the platform bus). <inbytes> and <outbytes> define
0024                 the length of the input and output shift register in bytes respectively.
0025 
0026                 <statustype> defines the 4 bit device type that is check to identify connection
0027                 problems.
0028 
0029                 The new device is added to the end of the existing chain.
0030 
0031 What:           /sys/bus/siox/devices/siox-X/device_remove
0032 KernelVersion:  4.16
0033 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0034 Description:
0035                 Write-only file. A single write removes the last device in the siox chain.
0036 
0037 What:           /sys/bus/siox/devices/siox-X/poll_interval_ns
0038 KernelVersion:  4.16
0039 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0040 Description:
0041                 Defines the interval between two poll cycles in nano seconds.
0042                 Note this is rounded to jiffies on writing. On reading the current value
0043                 is returned.
0044 
0045 What:           /sys/bus/siox/devices/siox-X-Y/connected
0046 KernelVersion:  4.16
0047 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0048 Description:
0049                 Read-only value. "0" means the Yth device on siox bus X isn't "connected" i.e.
0050                 communication with it is not ensured. "1" signals a working connection.
0051 
0052 What:           /sys/bus/siox/devices/siox-X-Y/inbytes
0053 KernelVersion:  4.16
0054 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0055 Description:
0056                 Read-only value reporting the inbytes value provided to siox-X/device_add
0057 
0058 What:           /sys/bus/siox/devices/siox-X-Y/status_errors
0059 KernelVersion:  4.16
0060 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0061 Description:
0062                 Counts the number of time intervals when the read status byte doesn't yield the
0063                 expected value.
0064 
0065 What:           /sys/bus/siox/devices/siox-X-Y/type
0066 KernelVersion:  4.16
0067 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0068 Description:
0069                 Read-only value reporting the type value provided to siox-X/device_add.
0070 
0071 What:           /sys/bus/siox/devices/siox-X-Y/watchdog
0072 KernelVersion:  4.16
0073 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0074 Description:
0075                 Read-only value reporting if the watchdog of the siox device is
0076                 active. "0" means the watchdog is not active and the device is expected to
0077                 be operational. "1" means the watchdog keeps the device in reset.
0078 
0079 What:           /sys/bus/siox/devices/siox-X-Y/watchdog_errors
0080 KernelVersion:  4.16
0081 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0082 Description:
0083                 Read-only value reporting the number to time intervals when the
0084                 watchdog was active.
0085 
0086 What:           /sys/bus/siox/devices/siox-X-Y/outbytes
0087 KernelVersion:  4.16
0088 Contact:        Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
0089 Description:
0090                 Read-only value reporting the outbytes value provided to siox-X/device_add.