Skip to content

Commit 80ef846

Browse files
committed
Merge tag 'staging-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging/IIO driver updates from Greg KH: "Here is the large set of staging and IIO driver changes for 5.8-rc1 Nothing major, but a lot of new IIO drivers are included in here, along with other core iio cleanups and changes. On the staging driver front, again, nothing noticable. No new deletions or additions, just a ton of tiny cleanups all over the tree done by a lot of different people. Most coding style, but many actual real fixes and cleanups that are nice to see. All of these have been in linux-next for a while with no reported issues" * tag 'staging-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (618 commits) staging: rtl8723bs: Use common packet header constants staging: sm750fb: Add names to proc_setBLANK args staging: most: usb: init return value in default path of switch/case expression staging: vchiq: Get rid of VCHIQ_SERVICE_OPENEND callback reason staging: vchiq: move vchiq_release_message() into vchiq staging: vchi: Get rid of C++ guards staging: vchi: Get rid of not implemented function declarations staging: vchi: Get rid of vchiq_status_to_vchi() staging: vchi: Get rid of vchi_service_set_option() staging: vchi: Merge vchi_msg_queue() into vchi_queue_kernel_message() staging: vchiq: Move copy callback handling into vchiq staging: vchi: Get rid of vchi_queue_user_message() staging: vchi: Get rid of vchi_service_destroy() staging: most: usb: use function sysfs_streq staging: most: usb: add missing put_device calls staging: most: usb: use correct error codes staging: most: usb: replace code to calculate array index staging: most: usb: don't use error path to exit function on success staging: most: usb: move allocation of URB out of critical section staging: most: usb: return 0 instead of variable ...
2 parents 081096d + 77f55d1 commit 80ef846

355 files changed

Lines changed: 13112 additions & 8986 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_nearlevel
2+
Date: March 2020
3+
KernelVersion: 5.7
4+
Contact: linux-iio@vger.kernel.org
5+
Description:
6+
Near level for proximity sensors. This is a single integer
7+
value that tells user space when an object should be
8+
considered close to the device. If the value read from the
9+
sensor is above or equal to the value in this file an object
10+
should typically be considered near.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
What: /sys/bus/iio/devices/iio:deviceX/in_proximity3_comb_raw
2+
Date: February 2019
3+
KernelVersion: 5.6
4+
Contact: Daniel Campello <campello@chromium.org>
5+
Description:
6+
Proximity measurement indicating that some object is
7+
near the combined sensor. The combined sensor presents
8+
proximity measurements constructed by hardware by
9+
combining measurements taken from a given set of
10+
physical sensors.

‎Documentation/ABI/testing/sysfs-bus-most‎

Lines changed: 53 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
What: /sys/bus/most/devices/.../description
1+
What: /sys/bus/most/devices/<dev>/description
22
Date: March 2017
33
KernelVersion: 4.15
44
Contact: Christian Gromm <christian.gromm@microchip.com>
55
Description:
6-
Provides information about the interface type and the physical
7-
location of the device. Hardware attached via USB, for instance,
6+
Provides information about the physical location of the
7+
device. Hardware attached via USB, for instance,
88
might return <1-1.1:1.0>
99
Users:
1010

11-
What: /sys/bus/most/devices/.../interface
11+
What: /sys/bus/most/devices/<dev>/interface
1212
Date: March 2017
1313
KernelVersion: 4.15
1414
Contact: Christian Gromm <christian.gromm@microchip.com>
1515
Description:
1616
Indicates the type of peripheral interface the device uses.
1717
Users:
1818

19-
What: /sys/bus/most/devices/.../dci
19+
What: /sys/bus/most/devices/<dev>/dci
2020
Date: June 2016
2121
KernelVersion: 4.15
2222
Contact: Christian Gromm <christian.gromm@microchip.com>
@@ -26,7 +26,7 @@ Description:
2626
write the controller's DCI registers.
2727
Users:
2828

29-
What: /sys/bus/most/devices/.../dci/arb_address
29+
What: /sys/bus/most/devices/<dev>/dci/arb_address
3030
Date: June 2016
3131
KernelVersion: 4.15
3232
Contact: Christian Gromm <christian.gromm@microchip.com>
@@ -35,7 +35,7 @@ Description:
3535
application wants to read from or write to.
3636
Users:
3737

38-
What: /sys/bus/most/devices/.../dci/arb_value
38+
What: /sys/bus/most/devices/<dev>/dci/arb_value
3939
Date: June 2016
4040
KernelVersion: 4.15
4141
Contact: Christian Gromm <christian.gromm@microchip.com>
@@ -44,103 +44,103 @@ Description:
4444
is stored in arb_address.
4545
Users:
4646

47-
What: /sys/bus/most/devices/.../dci/mep_eui48_hi
47+
What: /sys/bus/most/devices/<dev>/dci/mep_eui48_hi
4848
Date: June 2016
4949
KernelVersion: 4.15
5050
Contact: Christian Gromm <christian.gromm@microchip.com>
5151
Description:
5252
This is used to check and configure the MAC address.
5353
Users:
5454

55-
What: /sys/bus/most/devices/.../dci/mep_eui48_lo
55+
What: /sys/bus/most/devices/<dev>/dci/mep_eui48_lo
5656
Date: June 2016
5757
KernelVersion: 4.15
5858
Contact: Christian Gromm <christian.gromm@microchip.com>
5959
Description:
6060
This is used to check and configure the MAC address.
6161
Users:
6262

63-
What: /sys/bus/most/devices/.../dci/mep_eui48_mi
63+
What: /sys/bus/most/devices/<dev>/dci/mep_eui48_mi
6464
Date: June 2016
6565
KernelVersion: 4.15
6666
Contact: Christian Gromm <christian.gromm@microchip.com>
6767
Description:
6868
This is used to check and configure the MAC address.
6969
Users:
7070

71-
What: /sys/bus/most/devices/.../dci/mep_filter
71+
What: /sys/bus/most/devices/<dev>/dci/mep_filter
7272
Date: June 2016
7373
KernelVersion: 4.15
7474
Contact: Christian Gromm <christian.gromm@microchip.com>
7575
Description:
7676
This is used to check and configure the MEP filter address.
7777
Users:
7878

79-
What: /sys/bus/most/devices/.../dci/mep_hash0
79+
What: /sys/bus/most/devices/<dev>/dci/mep_hash0
8080
Date: June 2016
8181
KernelVersion: 4.15
8282
Contact: Christian Gromm <christian.gromm@microchip.com>
8383
Description:
8484
This is used to check and configure the MEP hash table.
8585
Users:
8686

87-
What: /sys/bus/most/devices/.../dci/mep_hash1
87+
What: /sys/bus/most/devices/<dev>/dci/mep_hash1
8888
Date: June 2016
8989
KernelVersion: 4.15
9090
Contact: Christian Gromm <christian.gromm@microchip.com>
9191
Description:
9292
This is used to check and configure the MEP hash table.
9393
Users:
9494

95-
What: /sys/bus/most/devices/.../dci/mep_hash2
95+
What: /sys/bus/most/devices/<dev>/dci/mep_hash2
9696
Date: June 2016
9797
KernelVersion: 4.15
9898
Contact: Christian Gromm <christian.gromm@microchip.com>
9999
Description:
100100
This is used to check and configure the MEP hash table.
101101
Users:
102102

103-
What: /sys/bus/most/devices/.../dci/mep_hash3
103+
What: /sys/bus/most/devices/<dev>/dci/mep_hash3
104104
Date: June 2016
105105
KernelVersion: 4.15
106106
Contact: Christian Gromm <christian.gromm@microchip.com>
107107
Description:
108108
This is used to check and configure the MEP hash table.
109109
Users:
110110

111-
What: /sys/bus/most/devices/.../dci/ni_state
111+
What: /sys/bus/most/devices/<dev>/dci/ni_state
112112
Date: June 2016
113113
KernelVersion: 4.15
114114
Contact: Christian Gromm <christian.gromm@microchip.com>
115115
Description:
116116
Indicates the current network interface state.
117117
Users:
118118

119-
What: /sys/bus/most/devices/.../dci/node_address
119+
What: /sys/bus/most/devices/<dev>/dci/node_address
120120
Date: June 2016
121121
KernelVersion: 4.15
122122
Contact: Christian Gromm <christian.gromm@microchip.com>
123123
Description:
124124
Indicates the current node address.
125125
Users:
126126

127-
What: /sys/bus/most/devices/.../dci/node_position
127+
What: /sys/bus/most/devices/<dev>/dci/node_position
128128
Date: June 2016
129129
KernelVersion: 4.15
130130
Contact: Christian Gromm <christian.gromm@microchip.com>
131131
Description:
132132
Indicates the current node position.
133133
Users:
134134

135-
What: /sys/bus/most/devices/.../dci/packet_bandwidth
135+
What: /sys/bus/most/devices/<dev>/dci/packet_bandwidth
136136
Date: June 2016
137137
KernelVersion: 4.15
138138
Contact: Christian Gromm <christian.gromm@microchip.com>
139139
Description:
140140
Indicates the configured packet bandwidth.
141141
Users:
142142

143-
What: /sys/bus/most/devices/.../dci/sync_ep
143+
What: /sys/bus/most/devices/<dev>/dci/sync_ep
144144
Date: June 2016
145145
KernelVersion: 4.15
146146
Contact: Christian Gromm <christian.gromm@microchip.com>
@@ -149,7 +149,7 @@ Description:
149149
endpoint.
150150
Users:
151151

152-
What: /sys/bus/most/devices/.../<channel>/
152+
What: /sys/bus/most/devices/<dev>/<channel>/
153153
Date: March 2017
154154
KernelVersion: 4.15
155155
Contact: Christian Gromm <christian.gromm@microchip.com>
@@ -160,122 +160,124 @@ Description:
160160
configure it.
161161
Users:
162162

163-
What: /sys/bus/most/devices/.../<channel>/available_datatypes
163+
What: /sys/bus/most/devices/<dev>/<channel>/available_datatypes
164164
Date: March 2017
165165
KernelVersion: 4.15
166166
Contact: Christian Gromm <christian.gromm@microchip.com>
167167
Description:
168-
Indicates the data types the current channel can transport.
168+
Indicates the data types the channel can transport.
169169
Users:
170170

171-
What: /sys/bus/most/devices/.../<channel>/available_directions
171+
What: /sys/bus/most/devices/<dev>/<channel>/available_directions
172172
Date: March 2017
173173
KernelVersion: 4.15
174174
Contact: Christian Gromm <christian.gromm@microchip.com>
175175
Description:
176-
Indicates the directions the current channel is capable of.
176+
Indicates the directions the channel is capable of.
177177
Users:
178178

179-
What: /sys/bus/most/devices/.../<channel>/number_of_packet_buffers
179+
What: /sys/bus/most/devices/<dev>/<channel>/number_of_packet_buffers
180180
Date: March 2017
181181
KernelVersion: 4.15
182182
Contact: Christian Gromm <christian.gromm@microchip.com>
183183
Description:
184-
Indicates the number of packet buffers the current channel can
184+
Indicates the number of packet buffers the channel can
185185
handle.
186186
Users:
187187

188-
What: /sys/bus/most/devices/.../<channel>/number_of_stream_buffers
188+
What: /sys/bus/most/devices/<dev>/<channel>/number_of_stream_buffers
189189
Date: March 2017
190190
KernelVersion: 4.15
191191
Contact: Christian Gromm <christian.gromm@microchip.com>
192192
Description:
193-
Indicates the number of streaming buffers the current channel can
193+
Indicates the number of streaming buffers the channel can
194194
handle.
195195
Users:
196196

197-
What: /sys/bus/most/devices/.../<channel>/size_of_packet_buffer
197+
What: /sys/bus/most/devices/<dev>/<channel>/size_of_packet_buffer
198198
Date: March 2017
199199
KernelVersion: 4.15
200200
Contact: Christian Gromm <christian.gromm@microchip.com>
201201
Description:
202-
Indicates the size of a packet buffer the current channel can
202+
Indicates the size of a packet buffer the channel can
203203
handle.
204204
Users:
205205

206-
What: /sys/bus/most/devices/.../<channel>/size_of_stream_buffer
206+
What: /sys/bus/most/devices/<dev>/<channel>/size_of_stream_buffer
207207
Date: March 2017
208208
KernelVersion: 4.15
209209
Contact: Christian Gromm <christian.gromm@microchip.com>
210210
Description:
211-
Indicates the size of a streaming buffer the current channel can
211+
Indicates the size of a streaming buffer the channel can
212212
handle.
213213
Users:
214214

215-
What: /sys/bus/most/devices/.../<channel>/set_number_of_buffers
215+
What: /sys/bus/most/devices/<dev>/<channel>/set_number_of_buffers
216216
Date: March 2017
217217
KernelVersion: 4.15
218218
Contact: Christian Gromm <christian.gromm@microchip.com>
219219
Description:
220-
This is to configure the number of buffers of the current channel.
220+
This is to read back the configured number of buffers of
221+
the channel.
221222
Users:
222223

223-
What: /sys/bus/most/devices/.../<channel>/set_buffer_size
224+
What: /sys/bus/most/devices/<dev>/<channel>/set_buffer_size
224225
Date: March 2017
225226
KernelVersion: 4.15
226227
Contact: Christian Gromm <christian.gromm@microchip.com>
227228
Description:
228-
This is to configure the size of a buffer of the current channel.
229+
This is to read back the configured buffer size of the channel.
229230
Users:
230231

231-
What: /sys/bus/most/devices/.../<channel>/set_direction
232+
What: /sys/bus/most/devices/<dev>/<channel>/set_direction
232233
Date: March 2017
233234
KernelVersion: 4.15
234235
Contact: Christian Gromm <christian.gromm@microchip.com>
235236
Description:
236-
This is to configure the direction of the current channel.
237+
This is to read back the configured direction of the channel.
237238
The following strings will be accepted:
238-
'dir_tx',
239-
'dir_rx'
239+
'tx',
240+
'rx'
240241
Users:
241242

242-
What: /sys/bus/most/devices/.../<channel>/set_datatype
243+
What: /sys/bus/most/devices/<dev>/<channel>/set_datatype
243244
Date: March 2017
244245
KernelVersion: 4.15
245246
Contact: Christian Gromm <christian.gromm@microchip.com>
246247
Description:
247-
This is to configure the data type of the current channel.
248+
This is to read back the configured data type of the channel.
248249
The following strings will be accepted:
249250
'control',
250251
'async',
251252
'sync',
252253
'isoc_avp'
253254
Users:
254255

255-
What: /sys/bus/most/devices/.../<channel>/set_subbuffer_size
256+
What: /sys/bus/most/devices/<dev>/<channel>/set_subbuffer_size
256257
Date: March 2017
257258
KernelVersion: 4.15
258259
Contact: Christian Gromm <christian.gromm@microchip.com>
259260
Description:
260-
This is to configure the subbuffer size of the current channel.
261+
This is to read back the configured subbuffer size of
262+
the channel.
261263
Users:
262264

263-
What: /sys/bus/most/devices/.../<channel>/set_packets_per_xact
265+
What: /sys/bus/most/devices/<dev>/<channel>/set_packets_per_xact
264266
Date: March 2017
265267
KernelVersion: 4.15
266268
Contact: Christian Gromm <christian.gromm@microchip.com>
267269
Description:
268-
This is to configure the number of packets per transaction of
269-
the current channel. This is only needed network interface
270-
controller is attached via USB.
270+
This is to read back the configured number of packets per
271+
transaction of the channel. This is only applicable when
272+
connected via USB.
271273
Users:
272274

273-
What: /sys/bus/most/devices/.../<channel>/channel_starving
275+
What: /sys/bus/most/devices/<dev>/<channel>/channel_starving
274276
Date: March 2017
275277
KernelVersion: 4.15
276278
Contact: Christian Gromm <christian.gromm@microchip.com>
277279
Description:
278-
Indicates whether current channel ran out of buffers.
280+
Indicates whether channel ran out of buffers.
279281
Users:
280282

281283
What: /sys/bus/most/drivers/most_core/components

‎Documentation/devicetree/bindings/iio/accel/bma180.txt‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
* Bosch BMA180 / BMA25x triaxial acceleration sensor
1+
* Bosch BMA023 / BMA150/ BMA180 / BMA25x / SMB380 triaxial acceleration sensor
22

3+
https://media.digikey.com/pdf/Data%20Sheets/Bosch/BMA150.pdf
34
http://omapworld.com/BMA180_111_1002839.pdf
45
http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf
56

67
Required properties:
78

89
- compatible : should be one of:
10+
"bosch,bma023"
11+
"bosch,bma150"
912
"bosch,bma180"
1013
"bosch,bma250"
1114
"bosch,bma254"
15+
"bosch,smb380"
1216
- reg : the I2C address of the sensor
17+
- vdd-supply : regulator phandle connected to the VDD pin
18+
- vddio-supply : regulator phandle connected to the VDDIO pin
1319

1420
Optional properties:
1521

0 commit comments

Comments
 (0)