Commit 80ef846e authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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
  ...
parents 081096d9 77f55d13
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
What:		/sys/bus/iio/devices/iio:deviceX/in_proximity_nearlevel
Date:		March 2020
KernelVersion:	5.7
Contact:	linux-iio@vger.kernel.org
Description:
		Near level for proximity sensors. This is a single integer
		value that tells user space when an object should be
		considered close to the device. If the value read from the
		sensor is above or equal to the value in this file an object
		should typically be considered near.
+10 −0
Original line number Diff line number Diff line
What:		/sys/bus/iio/devices/iio:deviceX/in_proximity3_comb_raw
Date:		February 2019
KernelVersion:	5.6
Contact:	Daniel Campello <campello@chromium.org>
Description:
		Proximity measurement indicating that some object is
		near the combined sensor. The combined sensor presents
		proximity measurements constructed by hardware by
		combining measurements taken from a given set of
		physical sensors.
+53 −51
Original line number Diff line number Diff line
What:		/sys/bus/most/devices/.../description
What:		/sys/bus/most/devices/<dev>/description
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		Provides information about the interface type and the physical
		location of the device. Hardware attached via USB, for instance,
		Provides information about the physical location of the
		device. Hardware attached via USB, for instance,
		might return <1-1.1:1.0>
Users:

What:		/sys/bus/most/devices/.../interface
What:		/sys/bus/most/devices/<dev>/interface
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -16,7 +16,7 @@ Description:
		Indicates the type of peripheral interface the device uses.
Users:

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

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

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

What:		/sys/bus/most/devices/.../dci/mep_eui48_hi
What:		/sys/bus/most/devices/<dev>/dci/mep_eui48_hi
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -52,7 +52,7 @@ Description:
		This is used to check and configure the MAC address.
Users:

What:		/sys/bus/most/devices/.../dci/mep_eui48_lo
What:		/sys/bus/most/devices/<dev>/dci/mep_eui48_lo
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -60,7 +60,7 @@ Description:
		This is used to check and configure the MAC address.
Users:

What:		/sys/bus/most/devices/.../dci/mep_eui48_mi
What:		/sys/bus/most/devices/<dev>/dci/mep_eui48_mi
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -68,7 +68,7 @@ Description:
		This is used to check and configure the MAC address.
Users:

What:		/sys/bus/most/devices/.../dci/mep_filter
What:		/sys/bus/most/devices/<dev>/dci/mep_filter
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -76,7 +76,7 @@ Description:
		This is used to check and configure the MEP filter address.
Users:

What:		/sys/bus/most/devices/.../dci/mep_hash0
What:		/sys/bus/most/devices/<dev>/dci/mep_hash0
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -84,7 +84,7 @@ Description:
		This is used to check and configure the MEP hash table.
Users:

What:		/sys/bus/most/devices/.../dci/mep_hash1
What:		/sys/bus/most/devices/<dev>/dci/mep_hash1
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -92,7 +92,7 @@ Description:
		This is used to check and configure the MEP hash table.
Users:

What:		/sys/bus/most/devices/.../dci/mep_hash2
What:		/sys/bus/most/devices/<dev>/dci/mep_hash2
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -100,7 +100,7 @@ Description:
		This is used to check and configure the MEP hash table.
Users:

What:		/sys/bus/most/devices/.../dci/mep_hash3
What:		/sys/bus/most/devices/<dev>/dci/mep_hash3
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -108,7 +108,7 @@ Description:
		This is used to check and configure the MEP hash table.
Users:

What:		/sys/bus/most/devices/.../dci/ni_state
What:		/sys/bus/most/devices/<dev>/dci/ni_state
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -116,7 +116,7 @@ Description:
		Indicates the current network interface state.
Users:

What:		/sys/bus/most/devices/.../dci/node_address
What:		/sys/bus/most/devices/<dev>/dci/node_address
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -124,7 +124,7 @@ Description:
		Indicates the current node address.
Users:

What:		/sys/bus/most/devices/.../dci/node_position
What:		/sys/bus/most/devices/<dev>/dci/node_position
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -132,7 +132,7 @@ Description:
		Indicates the current node position.
Users:

What:		/sys/bus/most/devices/.../dci/packet_bandwidth
What:		/sys/bus/most/devices/<dev>/dci/packet_bandwidth
Date:		June 2016
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -140,7 +140,7 @@ Description:
		Indicates the configured packet bandwidth.
Users:

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

What:		/sys/bus/most/devices/.../<channel>/
What:		/sys/bus/most/devices/<dev>/<channel>/
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
@@ -160,91 +160,92 @@ Description:
		configure it.
Users:

What:		/sys/bus/most/devices/.../<channel>/available_datatypes
What:		/sys/bus/most/devices/<dev>/<channel>/available_datatypes
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		Indicates the data types the current channel can transport.
		Indicates the data types the channel can transport.
Users:

What:		/sys/bus/most/devices/.../<channel>/available_directions
What:		/sys/bus/most/devices/<dev>/<channel>/available_directions
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		Indicates the directions the current channel is capable of.
		Indicates the directions the channel is capable of.
Users:

What:		/sys/bus/most/devices/.../<channel>/number_of_packet_buffers
What:		/sys/bus/most/devices/<dev>/<channel>/number_of_packet_buffers
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		Indicates the number of packet buffers the current channel can
		Indicates the number of packet buffers the channel can
		handle.
Users:

What:		/sys/bus/most/devices/.../<channel>/number_of_stream_buffers
What:		/sys/bus/most/devices/<dev>/<channel>/number_of_stream_buffers
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		Indicates the number of streaming buffers the current channel can
		Indicates the number of streaming buffers the channel can
		handle.
Users:

What:		/sys/bus/most/devices/.../<channel>/size_of_packet_buffer
What:		/sys/bus/most/devices/<dev>/<channel>/size_of_packet_buffer
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		Indicates the size of a packet buffer the current channel can
		Indicates the size of a packet buffer the channel can
		handle.
Users:

What:		/sys/bus/most/devices/.../<channel>/size_of_stream_buffer
What:		/sys/bus/most/devices/<dev>/<channel>/size_of_stream_buffer
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		Indicates the size of a streaming buffer the current channel can
		Indicates the size of a streaming buffer the channel can
		handle.
Users:

What:		/sys/bus/most/devices/.../<channel>/set_number_of_buffers
What:		/sys/bus/most/devices/<dev>/<channel>/set_number_of_buffers
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		This is to configure the number of buffers of the current channel.
		This is to read back the configured number of buffers of
		the channel.
Users:

What:		/sys/bus/most/devices/.../<channel>/set_buffer_size
What:		/sys/bus/most/devices/<dev>/<channel>/set_buffer_size
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		This is to configure the size of a buffer of the current channel.
		This is to read back the configured buffer size of the channel.
Users:

What:		/sys/bus/most/devices/.../<channel>/set_direction
What:		/sys/bus/most/devices/<dev>/<channel>/set_direction
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		This is to configure the direction of the current channel.
		This is to read back the configured direction of the channel.
		The following strings will be accepted:
			'dir_tx',
			'dir_rx'
			'tx',
			'rx'
Users:

What:		/sys/bus/most/devices/.../<channel>/set_datatype
What:		/sys/bus/most/devices/<dev>/<channel>/set_datatype
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		This is to configure the data type of the current channel.
		This is to read back the configured data type of the channel.
		The following strings will be accepted:
			'control',
			'async',
@@ -252,30 +253,31 @@ Description:
			'isoc_avp'
Users:

What:		/sys/bus/most/devices/.../<channel>/set_subbuffer_size
What:		/sys/bus/most/devices/<dev>/<channel>/set_subbuffer_size
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		This is to configure the subbuffer size of the current channel.
		This is to read back the configured subbuffer size of
		the channel.
Users:

What:		/sys/bus/most/devices/.../<channel>/set_packets_per_xact
What:		/sys/bus/most/devices/<dev>/<channel>/set_packets_per_xact
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		This is to configure the number of packets per transaction of
		the current channel. This is only needed network interface
		controller is attached via USB.
		This is to read back the configured number of packets per
		transaction of the channel. This is only applicable when
		connected via USB.
Users:

What:		/sys/bus/most/devices/.../<channel>/channel_starving
What:		/sys/bus/most/devices/<dev>/<channel>/channel_starving
Date:		March 2017
KernelVersion:	4.15
Contact:	Christian Gromm <christian.gromm@microchip.com>
Description:
		Indicates whether current channel ran out of buffers.
		Indicates whether channel ran out of buffers.
Users:

What:		/sys/bus/most/drivers/most_core/components
+7 −1
Original line number Diff line number Diff line
* Bosch BMA180 / BMA25x triaxial acceleration sensor
* Bosch BMA023 / BMA150/ BMA180 / BMA25x / SMB380 triaxial acceleration sensor

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

Required properties:

  - compatible : should be one of:
    "bosch,bma023"
    "bosch,bma150"
    "bosch,bma180"
    "bosch,bma250"
    "bosch,bma254"
    "bosch,smb380"
  - reg : the I2C address of the sensor
  - vdd-supply : regulator phandle connected to the VDD pin
  - vddio-supply : regulator phandle connected to the VDDIO pin

Optional properties:

+65 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/adi,ad9467.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Analog Devices AD9467 High-Speed ADC

maintainers:
  - Michael Hennerich <michael.hennerich@analog.com>
  - Alexandru Ardelean <alexandru.ardelean@analog.com>

description: |
  The AD9467 is a 16-bit, monolithic, IF sampling analog-to-digital
  converter (ADC).

  https://www.analog.com/media/en/technical-documentation/data-sheets/AD9467.pdf

properties:
  compatible:
    enum:
      - adi,ad9467

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: adc-clk

  powerdown-gpios:
    description:
      Pin that controls the powerdown mode of the device.
    maxItems: 1

  reset-gpios:
    description:
      Reset pin for the device.
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - clock-names

additionalProperties: false

examples:
  - |
    spi {
        #address-cells = <1>;
        #size-cells = <0>;

        adc@0 {
          compatible = "adi,ad9467";
          reg = <0>;
          clocks = <&adc_clk>;
          clock-names = "adc-clk";
        };
    };
...
Loading