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

Commit 382063d9 authored by Magnus Damm's avatar Magnus Damm Committed by Greg Kroah-Hartman
Browse files

staging: board: Initial board staging support



Add staging board base support to allow continuous upstream
in-tree development and integration of platform devices.

Helps developers integrate devices as platform devices for
device drivers that only provide platform device bindings.
This in turn allows for incremental development of both
hardware feature support and DT binding work in parallel.

Two separate pieces of board staging functionality is
provided to ease per-board staging board support:
 - The board_staging() macro allows easy per-board callbacks
 - The board_staging_dt_node_available() provides DT node checking

Tested on the KZM9D board with the emxx_udc staging driver.

Signed-off-by: default avatarMagnus Damm <damm+renesas@opensource.se>
Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a62956e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -110,6 +110,8 @@ source "drivers/staging/media/Kconfig"

source "drivers/staging/android/Kconfig"

source "drivers/staging/board/Kconfig"

source "drivers/staging/ozwpan/Kconfig"

source "drivers/staging/gdm72xx/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ obj-$(CONFIG_TOUCHSCREEN_CLEARPAD_TM1217) += cptm1217/
obj-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4)	+= ste_rmi4/
obj-$(CONFIG_MFD_NVEC)		+= nvec/
obj-$(CONFIG_ANDROID)		+= android/
obj-$(CONFIG_STAGING_BOARD)	+= board/
obj-$(CONFIG_USB_WPAN_HCD)	+= ozwpan/
obj-$(CONFIG_WIMAX_GDM72XX)	+= gdm72xx/
obj-$(CONFIG_LTE_GDM724X)	+= gdm724x/
+8 −0
Original line number Diff line number Diff line
config STAGING_BOARD
	boolean "Staging Board Support"
	depends on OF_ADDRESS
	help
	  Select to enable per-board staging support code.

	  If in doubt, say N here.
+1 −0
Original line number Diff line number Diff line
obj-y	:= board.o
+2 −0
Original line number Diff line number Diff line
* replace platform device code with DT nodes once the driver supports DT
* remove staging board code when no more platform devices are needed
Loading