From 169f47beec8d4c9dc6835649ef0c11eaa1f74127 Mon Sep 17 00:00:00 2001 From: Bowen Wang Date: Sun, 4 Feb 2024 14:30:39 +0800 Subject: [PATCH] rpmsg: make all the rpmsg services deponds on RPMSG After decoupled the rpmsg and rptun, all the rpmsg service should depends on the RPMSG. Signed-off-by: Bowen Wang --- drivers/clk/Kconfig | 2 +- drivers/input/Kconfig | 2 +- drivers/ioexpander/Kconfig | 2 +- drivers/misc/Kconfig | 8 ++++---- drivers/mtd/Kconfig | 4 ++-- drivers/net/Kconfig | 2 +- drivers/power/supply/Kconfig | 2 +- drivers/sensors/Kconfig | 2 +- drivers/serial/Kconfig | 2 +- drivers/syslog/Kconfig | 4 ++-- drivers/timers/Kconfig | 4 ++-- drivers/usrsock/Kconfig | 2 +- fs/rpmsgfs/Kconfig | 4 ++-- net/rpmsg/Kconfig | 2 +- 14 files changed, 21 insertions(+), 21 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 832247e320..ba421065d7 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -10,7 +10,7 @@ if CLK config CLK_RPMSG bool "RPMSG clk driver" default n - depends on RPTUN + depends on RPMSG ---help--- RPMSG clk are proxy/master pairs clock that operate clks between client and server processor. diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 5c07626d4e..dbb1c8d700 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -47,7 +47,7 @@ config INPUT_UINPUT config UINPUT_RPMSG bool "Enable uinput RPMSG" depends on INPUT_UINPUT - depends on RPTUN + depends on RPMSG default n ---help--- Enable support uinput cross core communication diff --git a/drivers/ioexpander/Kconfig b/drivers/ioexpander/Kconfig index f1f6cb9b25..b71704377a 100644 --- a/drivers/ioexpander/Kconfig +++ b/drivers/ioexpander/Kconfig @@ -16,7 +16,7 @@ if IOEXPANDER config IOEXPANDER_RPMSG bool "IO expander RPMSG server and client" - depends on RPTUN + depends on RPMSG default n select IOEXPANDER_INT_ENABLE ---help--- diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index f2582dc40d..05b5e6a53d 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -25,12 +25,12 @@ config DEV_ASCII config DEV_RPMSG bool "RPMSG Device Client Support" default n - depends on RPTUN + depends on RPMSG config DEV_RPMSG_SERVER bool "RPMSG Device Server Support" default n - depends on RPTUN + depends on RPMSG choice prompt "Select OP-TEE dev implementation" @@ -74,12 +74,12 @@ config DRVR_MKRD config BLK_RPMSG bool "RPMSG Block Client Support" default n - depends on RPTUN + depends on RPMSG config BLK_RPMSG_SERVER bool "RPMSG Block Server Support" default n - depends on RPTUN + depends on RPMSG # ARCH needs to support memory access while CPU is running to be able to use # the LWL CONSOLE diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index bf36892c53..0cf5f9de08 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -276,12 +276,12 @@ endif # MTD_NAND config RPMSGMTD bool "MTD RPMSG Client Enable" default n - depends on RPTUN + depends on RPMSG config RPMSGMTD_SERVER bool "MTD RPMSG Server Enable" default n - depends on RPTUN + depends on RPMSG config RAMMTD bool "RAM-based MTD driver" diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 6146978106..d277ed908e 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -56,7 +56,7 @@ comment "General Ethernet MAC Driver Options" config NET_RPMSG_DRV bool "RPMSG net driver" - depends on RPTUN + depends on RPMSG select ARCH_HAVE_NETDEV_STATISTICS ---help--- Use the RPMSG as net device, transfer packet between remoteproc. diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index 07b529f3ce..aadf309552 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -68,7 +68,7 @@ config REGULATOR_GPIO config REGULATOR_RPMSG bool "Regulator RPMSG driver support" - depends on RPTUN + depends on RPMSG default n ---help--- The RPMSG regulator driver implements the common regulator APIs, inside which diff --git a/drivers/sensors/Kconfig b/drivers/sensors/Kconfig index 8de08bc8c5..342daa2ff4 100644 --- a/drivers/sensors/Kconfig +++ b/drivers/sensors/Kconfig @@ -20,7 +20,7 @@ config USENSOR config SENSORS_RPMSG bool "Sensor RPMSG Support" default n - depends on RPTUN + depends on RPMSG ---help--- Allow application to read or control remote sensor device by RPMSG. diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 067795ea7e..15df3e5da2 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -86,7 +86,7 @@ config MCU_SERIAL config RPMSG_UART bool "UART RPMSG support" default n - depends on RPTUN + depends on RPMSG select ARCH_HAVE_SERIAL_TERMIOS select SERIAL_RXDMA select SERIAL_TXDMA diff --git a/drivers/syslog/Kconfig b/drivers/syslog/Kconfig index 227f81d843..9753aa4417 100644 --- a/drivers/syslog/Kconfig +++ b/drivers/syslog/Kconfig @@ -213,7 +213,7 @@ config RAMLOG_SYSLOG config SYSLOG_RPMSG bool "Log to RPMSG" - depends on RPTUN + depends on RPMSG depends on SCHED_WORKQUEUE default n ---help--- @@ -280,7 +280,7 @@ endif # SYSLOG_RPMSG config SYSLOG_RPMSG_SERVER bool "Enable RPMSG server for SYSLOG" default n - depends on RPTUN + depends on RPMSG ---help--- Use RPMSG to receive message from remote proc. diff --git a/drivers/timers/Kconfig b/drivers/timers/Kconfig index cda936a23e..37a8561c8a 100644 --- a/drivers/timers/Kconfig +++ b/drivers/timers/Kconfig @@ -367,12 +367,12 @@ endif # RTC_RX8010SJ config RTC_RPMSG bool "RPMSG RTC Driver" default n - depends on RPTUN + depends on RPMSG select ARCH_HAVE_RTC_SUBSECONDS config RTC_RPMSG_SERVER bool "The RTC RPMSG Role" - depends on RPTUN + depends on RPMSG config RTC_RPMSG_SERVER_NAME string "The name of RTC RPMSG Server" diff --git a/drivers/usrsock/Kconfig b/drivers/usrsock/Kconfig index 25d48d8d6a..2920575a2a 100644 --- a/drivers/usrsock/Kconfig +++ b/drivers/usrsock/Kconfig @@ -39,7 +39,7 @@ endif # NET_USRSOCK config NET_USRSOCK_RPMSG_SERVER bool "RPMSG usrsock" default n - depends on NET && RPTUN + depends on NET && RPMSG ---help--- Enable usrsock through RPMSG channel. diff --git a/fs/rpmsgfs/Kconfig b/fs/rpmsgfs/Kconfig index f4c88cc747..957c84199b 100644 --- a/fs/rpmsgfs/Kconfig +++ b/fs/rpmsgfs/Kconfig @@ -6,7 +6,7 @@ config FS_RPMSGFS bool "RPMSG File System" default n - depends on RPTUN + depends on RPMSG ---help--- Use RPMSG file system to mount remote directories to local. This the method for user to use remote file like own core. @@ -14,6 +14,6 @@ config FS_RPMSGFS config FS_RPMSGFS_SERVER bool "RPMSG File Server" default n - depends on RPTUN + depends on RPMSG ---help--- Initialize RPMSG file system server automatically. diff --git a/net/rpmsg/Kconfig b/net/rpmsg/Kconfig index b876c61651..4767abd8ee 100644 --- a/net/rpmsg/Kconfig +++ b/net/rpmsg/Kconfig @@ -8,7 +8,7 @@ menu "RPMSG Socket Support" config NET_RPMSG bool "RPMSG domain (remote) sockets" - depends on RPTUN + depends on RPMSG default n ---help--- Enable or disable RPMSG (aka remote) sockets.