Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 449fcf3a authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull staging and IIO updates from Greg KH:
 "Here is the "big" staging and IIO driver update for 4.15-rc1.

  Lots and lots of little changes, almost all minor code cleanups as the
  Outreachy application process happened during this development cycle.
  Also happened was a lot of IIO driver activity, and the typec USB code
  moving out of staging to drivers/usb (same commits are in the USB tree
  on a persistent branch to not cause merge issues.)

  Overall, it's a wash, I think we added a few hundred more lines than
  removed, but really only a few thousand were modified at all.

  All of these have been in linux-next for a while. There might be a
  merge issue with Al's vfs tree in the pi433 driver (take his changes,
  they are always better), and the media tree with some of the odd
  atomisp cleanups (take the media tree's version)"

* tag 'staging-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (507 commits)
  staging: lustre: add SPDX identifiers to all lustre files
  staging: greybus: Remove redundant license text
  staging: greybus: add SPDX identifiers to all greybus driver files
  staging: ccree: simplify ioread/iowrite
  staging: ccree: simplify registers access
  staging: ccree: simplify error handling logic
  staging: ccree: remove dead code
  staging: ccree: handle limiting of DMA masks
  staging: ccree: copy IV to DMAable memory
  staging: fbtft: remove redundant initialization of buf
  staging: sm750fb: Fix parameter mistake in poke32
  staging: wilc1000: Fix bssid buffer offset in Txq
  staging: fbtft: fb_ssd1331: fix mirrored display
  staging: android: Fix checkpatch.pl error
  staging: greybus: loopback: convert loopback to use generic async operations
  staging: greybus: operation: add private data with get/set accessors
  staging: greybus: loopback: Fix iteration count on async path
  staging: greybus: loopback: Hold per-connection mutex across operations
  staging: greybus/loopback: use ktime_get() for time intervals
  staging: fsl-dpaa2/eth: Extra headroom in RX buffers
  ...
parents 3c073991 c14dd9d5
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -522,6 +522,7 @@ Description:
		Specifies the output powerdown mode.
		DAC output stage is disconnected from the amplifier and
		1kohm_to_gnd: connected to ground via an 1kOhm resistor,
		2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor,
		6kohm_to_gnd: connected to ground via a 6kOhm resistor,
		20kohm_to_gnd: connected to ground via a 20kOhm resistor,
		90kohm_to_gnd: connected to ground via a 90kOhm resistor,
@@ -1242,9 +1243,9 @@ What: /sys/.../iio:deviceX/in_distance_raw
KernelVersion:	4.0
Contact:	linux-iio@vger.kernel.org
Description:
		This attribute is used to read the distance covered by the user
		since the last reboot while activated. Units after application
		of scale are meters.
		This attribute is used to read the measured distance to an object
		or the distance covered by the user since the last reboot while
		activated. Units after application of scale are meters.

What:		/sys/bus/iio/devices/iio:deviceX/store_eeprom
KernelVersion:	3.4.0
+10 −0
Original line number Diff line number Diff line
@@ -16,3 +16,13 @@ Description:
                the motion sensor is placed. For example, in a laptop a motion
                sensor can be located on the base or on the lid. Current valid
		values are 'base' and 'lid'.

What:		/sys/bus/iio/devices/iio:deviceX/id
Date:		Septembre 2017
KernelVersion:	4.14
Contact:	linux-iio@vger.kernel.org
Description:
		This attribute is exposed by the CrOS EC legacy accelerometer
		driver and represents the sensor ID as exposed by the EC. This
		ID is used by the Android sensor service hardware abstraction
		layer (sensor HAL) through the Android container on ChromeOS.
+14 −0
Original line number Diff line number Diff line
@@ -29,15 +29,29 @@ Required properties:
				"microchip,mcp3204"
				"microchip,mcp3208"
				"microchip,mcp3301"
				"microchip,mcp3550-50"
				"microchip,mcp3550-60"
				"microchip,mcp3551"
				"microchip,mcp3553"

			NOTE: The use of the compatibles with no vendor prefix
			is deprecated and only listed because old DT use them.

	- spi-cpha, spi-cpol (boolean):
			Either SPI mode (0,0) or (1,1) must be used, so specify
			none or both of spi-cpha, spi-cpol.  The MCP3550/1/3
			is more efficient in mode (1,1) as only 3 instead of
			4 bytes need to be read from the ADC, but not all SPI
			masters support it.

	- vref-supply:	Phandle to the external reference voltage supply.

Examples:
spi_controller {
	mcp3x0x@0 {
		compatible = "mcp3002";
		reg = <0>;
		spi-max-frequency = <1000000>;
		vref-supply = <&vref_reg>;
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ for the Thermal Controller which holds a phandle to the AUXADC.
Required properties:
  - compatible: Should be one of:
    - "mediatek,mt2701-auxadc": For MT2701 family of SoCs
    - "mediatek,mt2712-auxadc": For MT2712 family of SoCs
    - "mediatek,mt7622-auxadc": For MT7622 family of SoCs
    - "mediatek,mt8173-auxadc": For MT8173 family of SoCs
  - reg: Address range of the AUXADC unit.
+20 −0
Original line number Diff line number Diff line
Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC Device Driver

Datasheet publicly available at:
https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf

Required properties:
	- compatible: Should be one of
		maxim,ds4422
		maxim,ds4424
	- reg: Should contain the DAC I2C address

Optional properties:
	- vcc-supply: Power supply is optional. If not defined, driver will ignore it.

Example:
	ds4224@10 {
		compatible = "maxim,ds4424";
		reg = <0x10>; /* When A0, A1 pins are ground */
		vcc-supply = <&vcc_3v3>;
	};
Loading