Commit bffd678d authored by Ke Chen's avatar Ke Chen Committed by Zheng Zengkai
Browse files

roh/core: Add ROH device driver

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5WKYW



-----------------------------------------------------------------------

Add ROH device driver support, include:
1. roh core initialization
2. provide a registration framework for roh device.
3. etc.

Signed-off-by: default avatarKe Chen <chenke54@huawei.com>
Reviewed-by: default avatarGang Zhang <gang.zhang@huawei.com>
Reviewed-by: default avatarYefeng Yan <yanyefeng@huawei.com>
Reviewed-by: default avatarJingchao Dai <daijingchao1@huawei.com>
parent 33e7f3b4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -237,4 +237,7 @@ source "drivers/interconnect/Kconfig"
source "drivers/counter/Kconfig"

source "drivers/most/Kconfig"

source "drivers/roh/Kconfig"

endmenu
+1 −0
Original line number Diff line number Diff line
@@ -191,3 +191,4 @@ obj-$(CONFIG_GNSS) += gnss/
obj-$(CONFIG_INTERCONNECT)	+= interconnect/
obj-$(CONFIG_COUNTER)		+= counter/
obj-$(CONFIG_MOST)		+= most/
obj-$(CONFIG_ROH)		+= roh/

drivers/roh/Kconfig

0 → 100644
+16 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0+

menuconfig ROH
	tristate "ROH support"
	depends on HAS_IOMEM && HAS_DMA
	depends on NET
	depends on INET
	depends on m
	select IRQ_POLL
	select DIMLIB
	help
	  Core support for ROH.  Make sure to also select
	  any protocols you wish to use as well as drivers
	  for your ROH hardware.

	  To compile ROH core as module, choose M here.

drivers/roh/Makefile

0 → 100644
+6 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0+
#
# Makefile for the Linux kernel ROH device drivers.
#

obj-$(CONFIG_ROH)		+= core/
+7 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0+
#
# Makefile for the Linux kernel ROH Core drivers.
#

roh_core-objs := main.o core.o
obj-$(CONFIG_ROH) += roh_core.o
Loading