162306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X/active
262306a36Sopenharmony_ciKernelVersion:	4.16
362306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
462306a36Sopenharmony_ciDescription:
562306a36Sopenharmony_ci		On reading represents the current state of the bus. If it
662306a36Sopenharmony_ci		contains a "0" the bus is stopped and connected devices are
762306a36Sopenharmony_ci		expected to not do anything because their watchdog triggered.
862306a36Sopenharmony_ci		When the file contains a "1" the bus is operated and periodically
962306a36Sopenharmony_ci		does a push-pull cycle to write and read data from the
1062306a36Sopenharmony_ci		connected devices.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci		When writing a "0" or "1" the bus moves to the described state.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X/device_add
1562306a36Sopenharmony_ciKernelVersion:	4.16
1662306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
1762306a36Sopenharmony_ciDescription:
1862306a36Sopenharmony_ci		Write-only file. Write
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci			<type> <inbytes> <outbytes> <statustype>
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci		to add a new device dynamically. <type> is the name that is used to match
2362306a36Sopenharmony_ci		to a driver (similar to the platform bus). <inbytes> and <outbytes> define
2462306a36Sopenharmony_ci		the length of the input and output shift register in bytes respectively.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ci		<statustype> defines the 4 bit device type that is check to identify connection
2762306a36Sopenharmony_ci		problems.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci		The new device is added to the end of the existing chain.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X/device_remove
3262306a36Sopenharmony_ciKernelVersion:	4.16
3362306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
3462306a36Sopenharmony_ciDescription:
3562306a36Sopenharmony_ci		Write-only file. A single write removes the last device in the siox chain.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X/poll_interval_ns
3862306a36Sopenharmony_ciKernelVersion:	4.16
3962306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
4062306a36Sopenharmony_ciDescription:
4162306a36Sopenharmony_ci		Defines the interval between two poll cycles in nano seconds.
4262306a36Sopenharmony_ci		Note this is rounded to jiffies on writing. On reading the current value
4362306a36Sopenharmony_ci		is returned.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X-Y/connected
4662306a36Sopenharmony_ciKernelVersion:	4.16
4762306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
4862306a36Sopenharmony_ciDescription:
4962306a36Sopenharmony_ci		Read-only value. "0" means the Yth device on siox bus X isn't "connected" i.e.
5062306a36Sopenharmony_ci		communication with it is not ensured. "1" signals a working connection.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X-Y/inbytes
5362306a36Sopenharmony_ciKernelVersion:	4.16
5462306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
5562306a36Sopenharmony_ciDescription:
5662306a36Sopenharmony_ci		Read-only value reporting the inbytes value provided to siox-X/device_add
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X-Y/status_errors
5962306a36Sopenharmony_ciKernelVersion:	4.16
6062306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
6162306a36Sopenharmony_ciDescription:
6262306a36Sopenharmony_ci		Counts the number of time intervals when the read status byte doesn't yield the
6362306a36Sopenharmony_ci		expected value.
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X-Y/type
6662306a36Sopenharmony_ciKernelVersion:	4.16
6762306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
6862306a36Sopenharmony_ciDescription:
6962306a36Sopenharmony_ci		Read-only value reporting the type value provided to siox-X/device_add.
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X-Y/watchdog
7262306a36Sopenharmony_ciKernelVersion:	4.16
7362306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
7462306a36Sopenharmony_ciDescription:
7562306a36Sopenharmony_ci		Read-only value reporting if the watchdog of the siox device is
7662306a36Sopenharmony_ci		active. "0" means the watchdog is not active and the device is expected to
7762306a36Sopenharmony_ci		be operational. "1" means the watchdog keeps the device in reset.
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X-Y/watchdog_errors
8062306a36Sopenharmony_ciKernelVersion:	4.16
8162306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8262306a36Sopenharmony_ciDescription:
8362306a36Sopenharmony_ci		Read-only value reporting the number to time intervals when the
8462306a36Sopenharmony_ci		watchdog was active.
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ciWhat:		/sys/bus/siox/devices/siox-X-Y/outbytes
8762306a36Sopenharmony_ciKernelVersion:	4.16
8862306a36Sopenharmony_ciContact:	Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
8962306a36Sopenharmony_ciDescription:
9062306a36Sopenharmony_ci		Read-only value reporting the outbytes value provided to siox-X/device_add.
91