Commit 228dfe98 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull char / misc driver updates from Greg KH:
 "Here is the large set of char and misc and other driver subsystem
  changes for 6.0-rc1.

  Highlights include:

   - large set of IIO driver updates, additions, and cleanups

   - new habanalabs device support added (loads of register maps much
     like GPUs have)

   - soundwire driver updates

   - phy driver updates

   - slimbus driver updates

   - tiny virt driver fixes and updates

   - misc driver fixes and updates

   - interconnect driver updates

   - hwtracing driver updates

   - fpga driver updates

   - extcon driver updates

   - firmware driver updates

   - counter driver update

   - mhi driver fixes and updates

   - binder driver fixes and updates

   - speakup driver fixes

  All of these have been in linux-next for a while without any reported
  problems"

* tag 'char-misc-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (634 commits)
  drivers: lkdtm: fix clang -Wformat warning
  char: remove VR41XX related char driver
  misc: Mark MICROCODE_MINOR unused
  spmi: trace: fix stack-out-of-bound access in SPMI tracing functions
  dt-bindings: iio: adc: Add compatible for MT8188
  iio: light: isl29028: Fix the warning in isl29028_remove()
  iio: accel: sca3300: Extend the trigger buffer from 16 to 32 bytes
  iio: fix iio_format_avail_range() printing for none IIO_VAL_INT
  iio: adc: max1027: unlock on error path in max1027_read_single_value()
  iio: proximity: sx9324: add empty line in front of bullet list
  iio: magnetometer: hmc5843: Remove duplicate 'the'
  iio: magn: yas530: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros
  iio: magnetometer: ak8974: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros
  iio: light: veml6030: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros
  iio: light: vcnl4035: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros
  iio: light: vcnl4000: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros
  iio: light: tsl2591: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr()
  iio: light: tsl2583: Use DEFINE_RUNTIME_DEV_PM_OPS and pm_ptr()
  iio: light: isl29028: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr()
  iio: light: gp2ap002: Switch to DEFINE_RUNTIME_DEV_PM_OPS and pm_ptr()
  ...
parents 798cd57c b5276c92
Loading
Loading
Loading
Loading
+28 −10
Original line number Diff line number Diff line
@@ -101,6 +101,15 @@ Description: Specify the size of the DMA transaction when using DMA to read
                When the write is finished, the user can read the "data_dma"
                blob

What:           /sys/kernel/debug/habanalabs/hl<n>/dump_razwi_events
Date:           Aug 2022
KernelVersion:  5.20
Contact:        fkassabri@habana.ai
Description:    Dumps all razwi events to dmesg if exist.
                After reading the status register of an existing event
                the routine will clear the status register.
                Usage: cat dump_razwi_events

What:           /sys/kernel/debug/habanalabs/hl<n>/dump_security_violations
Date:           Jan 2021
KernelVersion:  5.12
@@ -121,14 +130,16 @@ Date: Jan 2019
KernelVersion:  5.1
Contact:        ogabbay@kernel.org
Description:    Sets I2C device address for I2C transaction that is generated
                by the device's CPU
                by the device's CPU, Not available when device is loaded with secured
                firmware

What:           /sys/kernel/debug/habanalabs/hl<n>/i2c_bus
Date:           Jan 2019
KernelVersion:  5.1
Contact:        ogabbay@kernel.org
Description:    Sets I2C bus address for I2C transaction that is generated by
                the device's CPU
                the device's CPU, Not available when device is loaded with secured
                firmware

What:           /sys/kernel/debug/habanalabs/hl<n>/i2c_data
Date:           Jan 2019
@@ -136,39 +147,45 @@ KernelVersion: 5.1
Contact:        ogabbay@kernel.org
Description:    Triggers an I2C transaction that is generated by the device's
                CPU. Writing to this file generates a write transaction while
                reading from the file generates a read transaction
                reading from the file generates a read transaction, Not available
                when device is loaded with secured firmware

What:           /sys/kernel/debug/habanalabs/hl<n>/i2c_len
Date:           Dec 2021
KernelVersion:  5.17
Contact:        obitton@habana.ai
Description:    Sets I2C length in bytes for I2C transaction that is generated by
                the device's CPU
                the device's CPU, Not available when device is loaded with secured
                firmware

What:           /sys/kernel/debug/habanalabs/hl<n>/i2c_reg
Date:           Jan 2019
KernelVersion:  5.1
Contact:        ogabbay@kernel.org
Description:    Sets I2C register id for I2C transaction that is generated by
                the device's CPU
                the device's CPU, Not available when device is loaded with secured
                firmware

What:           /sys/kernel/debug/habanalabs/hl<n>/led0
Date:           Jan 2019
KernelVersion:  5.1
Contact:        ogabbay@kernel.org
Description:    Sets the state of the first S/W led on the device
Description:    Sets the state of the first S/W led on the device, Not available
                when device is loaded with secured firmware

What:           /sys/kernel/debug/habanalabs/hl<n>/led1
Date:           Jan 2019
KernelVersion:  5.1
Contact:        ogabbay@kernel.org
Description:    Sets the state of the second S/W led on the device
Description:    Sets the state of the second S/W led on the device, Not available
                when device is loaded with secured firmware

What:           /sys/kernel/debug/habanalabs/hl<n>/led2
Date:           Jan 2019
KernelVersion:  5.1
Contact:        ogabbay@kernel.org
Description:    Sets the state of the third S/W led on the device
Description:    Sets the state of the third S/W led on the device, Not available
                when device is loaded with secured firmware

What:           /sys/kernel/debug/habanalabs/hl<n>/memory_scrub
Date:           May 2022
@@ -182,7 +199,8 @@ Date: May 2022
KernelVersion:  5.19
Contact:        dhirschfeld@habana.ai
Description:    The value to which the dram will be set to when the user
                scrubs the dram using 'memory_scrub' debugfs file
                scrubs the dram using 'memory_scrub' debugfs file and
                the scrubbing value when using module param 'memory_scrub'

What:           /sys/kernel/debug/habanalabs/hl<n>/mmu
Date:           Jan 2019
@@ -277,7 +295,7 @@ Description: Displays a list with information about the currently user
                to DMA addresses

What:           /sys/kernel/debug/habanalabs/hl<n>/userptr_lookup
Date:           Aug 2021
Date:           Oct 2021
KernelVersion:  5.15
Contact:        ogabbay@kernel.org
Description:    Allows to search for specific user pointers (user virtual
+8 −0
Original line number Diff line number Diff line
@@ -79,6 +79,11 @@ Description:
		* "accel-base"
		* "accel-display"

		For devices where an accelerometer is housed in the swivel camera subassembly
		(for AR application), the following standardized label is used:

		* "accel-camera"

What:		/sys/bus/iio/devices/iio:deviceX/current_timestamp_clock
KernelVersion:	4.5
Contact:	linux-iio@vger.kernel.org
@@ -102,6 +107,9 @@ Description:
		relevant directories.  If it affects all of the above
		then it is to be found in the base device directory.

		The stm32-timer-trigger has the additional characteristic that
		a sampling_frequency of 0 is defined to stop sampling.

What:		/sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
What:		/sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available
What:		/sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ Contact: Gwendal Grignou <gwendal@chromium.org>
Description:
		SX9324 has 3 inputs, CS0, CS1 and CS2. Hardware layout
		defines if the input is

		+ not connected (HZ),
		+ grounded (GD),
		+ connected to an antenna where it can act as a base
+0 −31
Original line number Diff line number Diff line
What:		/sys/bus/iio/devices/iio:deviceX/fault_oc
KernelVersion:	5.1
Contact:	linux-iio@vger.kernel.org
Description:
		Open-circuit fault. The detection of open-circuit faults,
		such as those caused by broken thermocouple wires.
		Reading returns either '1' or '0'.

		===  =======================================================
		'1'  An open circuit such as broken thermocouple wires
		     has been detected.
		'0'  No open circuit or broken thermocouple wires are detected
		===  =======================================================

What:		/sys/bus/iio/devices/iio:deviceX/fault_ovuv
KernelVersion:	5.1
Contact:	linux-iio@vger.kernel.org
Description:
		Overvoltage or Undervoltage Input Fault. The internal circuitry
		is protected from excessive voltages applied to the thermocouple
		cables by integrated MOSFETs at the T+ and T- inputs, and the
		BIAS output. These MOSFETs turn off when the input voltage is
		negative or greater than VDD.

		Reading returns either '1' or '0'.

		===  =======================================================
		'1'  The input voltage is negative or greater than VDD.
		'0'  The input voltage is positive and less than VDD (normal
		     state).
		===  =======================================================
+18 −0
Original line number Diff line number Diff line
What:		/sys/bus/iio/devices/iio:deviceX/fault_ovuv
KernelVersion:	5.11
KernelVersion:	5.1
Contact:	linux-iio@vger.kernel.org
Description:
		Overvoltage or Undervoltage Input fault. The internal circuitry
		Overvoltage or Undervoltage Input Fault. The internal circuitry
		is protected from excessive voltages applied to the thermocouple
		cables at FORCE+, FORCE2, RTDIN+ & RTDIN-. This circuitry turn
		off when the input voltage is negative or greater than VDD.
		cables. The device can also detect if such a condition occurs.

		Reading returns '1' if input voltage is negative or greater
		than VDD, otherwise '0'.

What:		/sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency
KernelVersion:	5.11
What:		/sys/bus/iio/devices/iio:deviceX/fault_oc
KernelVersion:	5.1
Contact:	linux-iio@vger.kernel.org
Description:
		Notch frequency in Hz for a noise rejection filter. Used i.e for
		line noise rejection.

		Valid notch filter values are 50 Hz and 60 Hz.
		Open-circuit fault. The detection of open-circuit faults,
		such as those caused by broken thermocouple wires.
		Reading returns '1' if fault, '0' otherwise.
Loading