[3/6] vlynq: remove bus driver

Message ID 20230920201035.3445-4-wsa+renesas@sang-engineering.com
State New
Headers
Series remove AR7 platform and associated drivers |

Commit Message

Wolfram Sang Sept. 20, 2023, 8:10 p.m. UTC
  There are no users with a vlynq_driver in the Kernel tree. Also, only
the AR7 platform ever initialized a VLYNQ bus, but AR7 is going to be
removed from the Kernel. OpenWRT had some out-of-tree drivers which they
probably intended to upport, but AR7 devices are even there not
supported anymore because they are "stuck with Kernel
3.18" [1]. This code can go.

[1] https://openwrt.org/docs/techref/targets/ar7

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 MAINTAINERS            |   7 -
 drivers/Kconfig        |   2 -
 drivers/Makefile       |   1 -
 drivers/vlynq/Kconfig  |  21 --
 drivers/vlynq/Makefile |   6 -
 drivers/vlynq/vlynq.c  | 799 -----------------------------------------
 include/linux/vlynq.h  | 149 --------
 7 files changed, 985 deletions(-)
 delete mode 100644 drivers/vlynq/Kconfig
 delete mode 100644 drivers/vlynq/Makefile
 delete mode 100644 drivers/vlynq/vlynq.c
 delete mode 100644 include/linux/vlynq.h
  

Comments

Florian Fainelli Sept. 20, 2023, 9:26 p.m. UTC | #1
On 9/20/23 13:10, Wolfram Sang wrote:
> There are no users with a vlynq_driver in the Kernel tree. Also, only
> the AR7 platform ever initialized a VLYNQ bus, but AR7 is going to be
> removed from the Kernel. OpenWRT had some out-of-tree drivers which they
> probably intended to upport, but AR7 devices are even there not
> supported anymore because they are "stuck with Kernel
> 3.18" [1]. This code can go.
> 
> [1] https://openwrt.org/docs/techref/targets/ar7
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
  
Philippe Mathieu-Daudé Sept. 21, 2023, 10:37 a.m. UTC | #2
On 20/9/23 22:10, Wolfram Sang wrote:
> There are no users with a vlynq_driver in the Kernel tree. Also, only
> the AR7 platform ever initialized a VLYNQ bus, but AR7 is going to be
> removed from the Kernel. OpenWRT had some out-of-tree drivers which they
> probably intended to upport, but AR7 devices are even there not

Typo "support".

> supported anymore because they are "stuck with Kernel
> 3.18" [1]. This code can go.
> 
> [1] https://openwrt.org/docs/techref/targets/ar7
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> ---
>   MAINTAINERS            |   7 -
>   drivers/Kconfig        |   2 -
>   drivers/Makefile       |   1 -
>   drivers/vlynq/Kconfig  |  21 --
>   drivers/vlynq/Makefile |   6 -
>   drivers/vlynq/vlynq.c  | 799 -----------------------------------------
>   include/linux/vlynq.h  | 149 --------
>   7 files changed, 985 deletions(-)
>   delete mode 100644 drivers/vlynq/Kconfig
>   delete mode 100644 drivers/vlynq/Makefile
>   delete mode 100644 drivers/vlynq/vlynq.c
>   delete mode 100644 include/linux/vlynq.h
  
Wolfram Sang Sept. 21, 2023, 12:06 p.m. UTC | #3
On Thu, Sep 21, 2023 at 12:37:54PM +0200, Philippe Mathieu-Daudé wrote:
> On 20/9/23 22:10, Wolfram Sang wrote:
> > There are no users with a vlynq_driver in the Kernel tree. Also, only
> > the AR7 platform ever initialized a VLYNQ bus, but AR7 is going to be
> > removed from the Kernel. OpenWRT had some out-of-tree drivers which they
> > probably intended to upport, but AR7 devices are even there not
> 
> Typo "support".

"support" would also fit, but we use the term "upporting" frequently to
express that we want to bring some code from downstream to upstream.
  
Philippe Mathieu-Daudé Sept. 21, 2023, 12:32 p.m. UTC | #4
On 21/9/23 14:06, Wolfram Sang wrote:
> On Thu, Sep 21, 2023 at 12:37:54PM +0200, Philippe Mathieu-Daudé wrote:
>> On 20/9/23 22:10, Wolfram Sang wrote:
>>> There are no users with a vlynq_driver in the Kernel tree. Also, only
>>> the AR7 platform ever initialized a VLYNQ bus, but AR7 is going to be
>>> removed from the Kernel. OpenWRT had some out-of-tree drivers which they
>>> probably intended to upport, but AR7 devices are even there not
>>
>> Typo "support".
> 
> "support" would also fit, but we use the term "upporting" frequently to
> express that we want to bring some code from downstream to upstream.

Oh I see, thanks, TIL :)
  

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index bf0f54c24f81..bdd6e7ce962d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -22961,13 +22961,6 @@  W:	https://linuxtv.org
 T:	git git://linuxtv.org/media_tree.git
 F:	drivers/media/test-drivers/vivid/*
 
-VLYNQ BUS
-M:	Florian Fainelli <f.fainelli@gmail.com>
-L:	openwrt-devel@lists.openwrt.org (subscribers-only)
-S:	Maintained
-F:	drivers/vlynq/vlynq.c
-F:	include/linux/vlynq.h
-
 VM SOCKETS (AF_VSOCK)
 M:	Stefano Garzarella <sgarzare@redhat.com>
 L:	virtualization@lists.linux-foundation.org
diff --git a/drivers/Kconfig b/drivers/Kconfig
index efb66e25fa2d..9c8b82ddebfe 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -135,8 +135,6 @@  source "drivers/uio/Kconfig"
 
 source "drivers/vfio/Kconfig"
 
-source "drivers/vlynq/Kconfig"
-
 source "drivers/virt/Kconfig"
 
 source "drivers/virtio/Kconfig"
diff --git a/drivers/Makefile b/drivers/Makefile
index 1bec7819a837..f7eeec79ef66 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -151,7 +151,6 @@  obj-$(CONFIG_BCMA)		+= bcma/
 obj-$(CONFIG_VHOST_RING)	+= vhost/
 obj-$(CONFIG_VHOST_IOTLB)	+= vhost/
 obj-$(CONFIG_VHOST)		+= vhost/
-obj-$(CONFIG_VLYNQ)		+= vlynq/
 obj-$(CONFIG_GREYBUS)		+= greybus/
 obj-$(CONFIG_COMEDI)		+= comedi/
 obj-$(CONFIG_STAGING)		+= staging/
diff --git a/drivers/vlynq/Kconfig b/drivers/vlynq/Kconfig
deleted file mode 100644
index e7f9492a0b04..000000000000
diff --git a/drivers/vlynq/Makefile b/drivers/vlynq/Makefile
deleted file mode 100644
index d9ce5b2b5ce0..000000000000
diff --git a/drivers/vlynq/vlynq.c b/drivers/vlynq/vlynq.c
deleted file mode 100644
index 4af6615808cc..000000000000
diff --git a/include/linux/vlynq.h b/include/linux/vlynq.h
deleted file mode 100644
index e9c0cd36c48a..000000000000