xref: /linux/Documentation/ABI/testing/sysfs-bus-soundwire-slave (revision 34f7c6e7d4396090692a09789db231e12cb4762b)
1What:		/sys/bus/soundwire/devices/sdw:.../status
2		/sys/bus/soundwire/devices/sdw:.../device_number
3
4Date:		September 2020
5
6Contact:	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
7		Bard Liao <yung-chuan.liao@linux.intel.com>
8		Vinod Koul <vkoul@kernel.org>
9
10Description:	SoundWire Slave status
11
12		These properties report the Slave status, e.g. if it
13		is UNATTACHED or not, and in the latter case show the
14		device_number. This status information is useful to
15		detect devices exposed by platform firmware but not
16		physically present on the bus, and conversely devices
17		not exposed in platform firmware but enumerated.
18
19What:		/sys/bus/soundwire/devices/sdw:.../dev-properties/mipi_revision
20		/sys/bus/soundwire/devices/sdw:.../dev-properties/wake_capable
21		/sys/bus/soundwire/devices/sdw:.../dev-properties/test_mode_capable
22		/sys/bus/soundwire/devices/sdw:.../dev-properties/clk_stop_mode1
23		/sys/bus/soundwire/devices/sdw:.../dev-properties/simple_clk_stop_capable
24		/sys/bus/soundwire/devices/sdw:.../dev-properties/clk_stop_timeout
25		/sys/bus/soundwire/devices/sdw:.../dev-properties/ch_prep_timeout
26		/sys/bus/soundwire/devices/sdw:.../dev-properties/reset_behave
27		/sys/bus/soundwire/devices/sdw:.../dev-properties/high_PHY_capable
28		/sys/bus/soundwire/devices/sdw:.../dev-properties/paging_support
29		/sys/bus/soundwire/devices/sdw:.../dev-properties/bank_delay_support
30		/sys/bus/soundwire/devices/sdw:.../dev-properties/p15_behave
31		/sys/bus/soundwire/devices/sdw:.../dev-properties/master_count
32		/sys/bus/soundwire/devices/sdw:.../dev-properties/source_ports
33		/sys/bus/soundwire/devices/sdw:.../dev-properties/sink_ports
34
35Date:		May 2020
36
37Contact:	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
38		Bard Liao <yung-chuan.liao@linux.intel.com>
39		Vinod Koul <vkoul@kernel.org>
40
41Description:	SoundWire Slave DisCo properties.
42		These properties are defined by MIPI DisCo Specification
43		for SoundWire. They define various properties of the
44		SoundWire Slave and are used by the bus to configure
45		the Slave
46
47
48What:		/sys/bus/soundwire/devices/sdw:.../dp0/max_word
49		/sys/bus/soundwire/devices/sdw:.../dp0/min_word
50		/sys/bus/soundwire/devices/sdw:.../dp0/words
51		/sys/bus/soundwire/devices/sdw:.../dp0/BRA_flow_controlled
52		/sys/bus/soundwire/devices/sdw:.../dp0/simple_ch_prep_sm
53		/sys/bus/soundwire/devices/sdw:.../dp0/imp_def_interrupts
54
55Date:		May 2020
56
57Contact:	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
58		Bard Liao <yung-chuan.liao@linux.intel.com>
59		Vinod Koul <vkoul@kernel.org>
60
61Description:	SoundWire Slave Data Port-0 DisCo properties.
62		These properties are defined by MIPI DisCo Specification
63		for the SoundWire. They define various properties of the
64		Data port 0 are used by the bus to configure the Data Port 0.
65
66
67What:		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/max_word
68		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/min_word
69		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/words
70		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/type
71		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/max_grouping
72		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/simple_ch_prep_sm
73		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/ch_prep_timeout
74		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/imp_def_interrupts
75		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/min_ch
76		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/max_ch
77		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/channels
78		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/ch_combinations
79		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/max_async_buffer
80		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/block_pack_mode
81		/sys/bus/soundwire/devices/sdw:.../dp<N>_src/port_encoding
82
83		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/max_word
84		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/min_word
85		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/words
86		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/type
87		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/max_grouping
88		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/simple_ch_prep_sm
89		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/ch_prep_timeout
90		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/imp_def_interrupts
91		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/min_ch
92		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/max_ch
93		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/channels
94		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/ch_combinations
95		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/max_async_buffer
96		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/block_pack_mode
97		/sys/bus/soundwire/devices/sdw:.../dp<N>_sink/port_encoding
98
99Date:		May 2020
100
101Contact:	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
102		Bard Liao <yung-chuan.liao@linux.intel.com>
103		Vinod Koul <vkoul@kernel.org>
104
105Description:	SoundWire Slave Data Source/Sink Port-N DisCo properties.
106		These properties are defined by MIPI DisCo Specification
107		for SoundWire. They define various properties of the
108		Source/Sink Data port N and are used by the bus to configure
109		the Data Port N.
110