Commit 399eb9b6 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull ARM SoC driver updates from Arnd Bergmann:
 "This contains driver changes that are tightly connected to SoC
  specific code. Aside from smaller cleanups and bug fixes, here is a
  list of the notable changes.

  New device drivers:

   - The Turris Mox router has a new "moxtet" bus driver for its
     on-board pluggable extension bus. The same platform also gains a
     firmware driver.

   - The Samsung Exynos family gains a new Chipid driver exporting using
     the soc device sysfs interface

   - A similar socinfo driver for Qualcomm Snapdragon chips.

   - A firmware driver for the NXP i.MX DSP IPC protocol using shared
     memory and a mailbox

  Other changes:

   - The i.MX reset controller driver now supports the NXP i.MX8MM chip

   - Amlogic SoC specific drivers gain support for the S905X3 and A311D
     chips

   - A rework of the TI Davinci framebuffer driver to allow important
     cleanups in the platform code

   - A couple of device drivers for removed ARM SoC platforms are
     removed. Most of the removals were picked up by other maintainers,
     this contains whatever was left"

* tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (123 commits)
  bus: uniphier-system-bus: use devm_platform_ioremap_resource()
  soc: ti: ti_sci_pm_domains: Add support for exclusive and shared access
  dt-bindings: ti_sci_pm_domains: Add support for exclusive and shared access
  firmware: ti_sci: Allow for device shared and exclusive requests
  bus: imx-weim: remove incorrect __init annotations
  fbdev: remove w90x900/nuc900 platform drivers
  spi: remove w90x900 driver
  net: remove w90p910-ether driver
  net: remove ks8695 driver
  firmware: turris-mox-rwtm: Add sysfs documentation
  firmware: Add Turris Mox rWTM firmware driver
  dt-bindings: firmware: Document cznic,turris-mox-rwtm binding
  bus: moxtet: fix unsigned comparison to less than zero
  bus: moxtet: remove set but not used variable 'dummy'
  ARM: scoop: Use the right include
  dt-bindings: power: add Amlogic Everything-Else power domains bindings
  soc: amlogic: Add support for Everything-Else power domains controller
  fbdev: da8xx: use resource management for dma
  fbdev: da8xx-fb: drop a redundant if
  fbdev: da8xx-fb: use devm_platform_ioremap_resource()
  ...
parents 2b97c395 3dc8dcb0
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
What:		/sys/kernel/debug/moxtet/input
Date:		March 2019
KernelVersion:	5.3
Contact:	Marek Behún <marek.behun@nic.cz>
Description:	(R) Read input from the shift registers, in hexadecimal.
		Returns N+1 bytes, where N is the number of Moxtet connected
		modules. The first byte is from the CPU board itself.
		Example: 101214
			 10: CPU board with SD card
			 12: 2 = PCIe module, 1 = IRQ not active
			 14: 4 = Peridot module, 1 = IRQ not active

What:		/sys/kernel/debug/moxtet/output
Date:		March 2019
KernelVersion:	5.3
Contact:	Marek Behún <marek.behun@nic.cz>
Description:	(RW) Read last written value to the shift registers, in
		hexadecimal, or write values to the shift registers, also
		in hexadecimal.
		Example: 0102
			 01: 01 was last written, or is to be written, to the
			     first module's shift register
			 02: the same for second module
+17 −0
Original line number Diff line number Diff line
What:		/sys/bus/moxtet/devices/moxtet-<name>.<addr>/module_description
Date:		March 2019
KernelVersion:	5.3
Contact:	Marek Behún <marek.behun@nic.cz>
Description:	(R) Moxtet module description. Format: string

What:		/sys/bus/moxtet/devices/moxtet-<name>.<addr>/module_id
Date:		March 2019
KernelVersion:	5.3
Contact:	Marek Behún <marek.behun@nic.cz>
Description:	(R) Moxtet module ID. Format: %x

What:		/sys/bus/moxtet/devices/moxtet-<name>.<addr>/module_name
Date:		March 2019
KernelVersion:	5.3
Contact:	Marek Behún <marek.behun@nic.cz>
Description:	(R) Moxtet module name. Format: string
+7 −0
Original line number Diff line number Diff line
@@ -26,6 +26,13 @@ Description:
		Read-only attribute common to all SoCs. Contains SoC family name
		(e.g. DB8500).

What:		/sys/devices/socX/serial_number
Date:		January 2019
contact:	Bjorn Andersson <bjorn.andersson@linaro.org>
Description:
		Read-only attribute supported by most SoCs. Contains the SoC's
		serial number, if available.

What:		/sys/devices/socX/soc_id
Date:		January 2012
contact:	Lee Jones <lee.jones@linaro.org>
+37 −0
Original line number Diff line number Diff line
What:		/sys/firmware/turris-mox-rwtm/board_version
Date:		August 2019
KernelVersion:	5.4
Contact:	Marek Behún <marek.behun@nic.cz>
Description:	(R) Board version burned into eFuses of this Turris Mox board.
		Format: %i

What:		/sys/firmware/turris-mox-rwtm/mac_address*
Date:		August 2019
KernelVersion:	5.4
Contact:	Marek Behún <marek.behun@nic.cz>
Description:	(R) MAC addresses burned into eFuses of this Turris Mox board.
		Format: %pM

What:		/sys/firmware/turris-mox-rwtm/pubkey
Date:		August 2019
KernelVersion:	5.4
Contact:	Marek Behún <marek.behun@nic.cz>
Description:	(R) ECDSA public key (in pubkey hex compressed form) computed
		as pair to the ECDSA private key burned into eFuses of this
		Turris Mox Board.
		Format: string

What:		/sys/firmware/turris-mox-rwtm/ram_size
Date:		August 2019
KernelVersion:	5.4
Contact:	Marek Behún <marek.behun@nic.cz>
Description:	(R) RAM size in MiB of this Turris Mox board as was detected
		during manufacturing and burned into eFuses. Can be 512 or 1024.
		Format: %i

What:		/sys/firmware/turris-mox-rwtm/serial_number
Date:		August 2019
KernelVersion:	5.4
Contact:	Marek Behún <marek.behun@nic.cz>
Description:	(R) Serial number burned into eFuses of this Turris Mox device.
		Format: %016X
+17 −0
Original line number Diff line number Diff line
@@ -73,6 +73,16 @@ Required properties:
			 as used by the firmware. Refer to  platform details
			 for your implementation for the IDs to use.

Reset signal bindings for the reset domains based on SCMI Message Protocol
------------------------------------------------------------

This binding for the SCMI reset domain providers uses the generic reset
signal binding[5].

Required properties:
 - #reset-cells : Should be 1. Contains the reset domain ID value used
		  by SCMI commands.

SRAM and Shared Memory for SCMI
-------------------------------

@@ -93,6 +103,7 @@ Required sub-node properties:
[2] Documentation/devicetree/bindings/power/power_domain.txt
[3] Documentation/devicetree/bindings/thermal/thermal.txt
[4] Documentation/devicetree/bindings/sram/sram.txt
[5] Documentation/devicetree/bindings/reset/reset.txt

Example:

@@ -152,6 +163,11 @@ firmware {
			reg = <0x15>;
			#thermal-sensor-cells = <1>;
		};

		scmi_reset: protocol@16 {
			reg = <0x16>;
			#reset-cells = <1>;
		};
	};
};

@@ -166,6 +182,7 @@ hdlcd@7ff60000 {
	reg = <0 0x7ff60000 0 0x1000>;
	clocks = <&scmi_clk 4>;
	power-domains = <&scmi_devpd 1>;
	resets = <&scmi_reset 10>;
};

thermal-zones {
Loading