gpio: remove the gpio-tn48m driver
Subsystems (4)
PATCH 1/1 gpio: remove the gpio-tn48m driver
The gpio-tn48m driver is useless without the simple-mfd parent, which is not present in the kernel tree, so delete it and all references to it. Also delete references to the (missing) mfd driver.
---
Based on v6.19-rc4.
.../devicetree/bindings/gpio/delta,tn48m-gpio.yaml | 39 -------- .../devicetree/bindings/mfd/delta,tn48m-cpld.yaml | 90 ------------------- MAINTAINERS | 9 -- drivers/gpio/Kconfig | 12 --- drivers/gpio/Makefile | 1 - drivers/gpio/gpio-tn48m.c | 100 --------------------- 6 files changed, 251 deletions(-)
Documentation/devicetree/bindings/gpio/delta,tn48m-gpio.yaml deleted +0 -39
@@ -1,39 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/delta,tn48m-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Delta Networks TN48M CPLD GPIO controller - -maintainers: - - Robert Marko <[email protected]> - -description: | - This module is part of the Delta TN48M multi-function device. For more - details see ../mfd/delta,tn48m-cpld.yaml. - - Delta TN48M has an onboard Lattice CPLD that is used as an GPIO expander. - It provides 12 pins in total, they are input-only or ouput-only type. - -properties: - compatible: - enum: - - delta,tn48m-gpo - - delta,tn48m-gpi - - reg: - maxItems: 1 - - "#gpio-cells": - const: 2 - - gpio-controller: true - -required: - - compatible - - reg - - "#gpio-cells" - - gpio-controller - -additionalProperties: false
Documentation/devicetree/bindings/mfd/delta,tn48m-cpld.yaml deleted +0 -90
90 lines not on this page · raw message
MAINTAINERS +0 -9
@@ -7107,15 +7107,6 @@ S: Maintained F: Documentation/hwmon/dps920ab.rst F: drivers/hwmon/pmbus/dps920ab.c -DELTA NETWORKS TN48M CPLD DRIVERS -M: Robert Marko <[email protected]> -S: Maintained -F: Documentation/devicetree/bindings/gpio/delta,tn48m-gpio.yaml -F: Documentation/devicetree/bindings/mfd/delta,tn48m-cpld.yaml -F: Documentation/devicetree/bindings/reset/delta,tn48m-reset.yaml -F: drivers/gpio/gpio-tn48m.c -F: include/dt-bindings/reset/delta,tn48m-reset.h - DELTA ST MEDIA DRIVER M: Hugues Fruchet <[email protected]> L: [email protected]
drivers/gpio/Kconfig +0 -12
@@ -1619,18 +1619,6 @@ config GPIO_TIMBERDALE help Add support for the GPIO IP in the timberdale FPGA. -config GPIO_TN48M_CPLD - tristate "Delta Networks TN48M switch CPLD GPIO driver" - depends on MFD_TN48M_CPLD || COMPILE_TEST - select GPIO_REGMAP - help - This enables support for the GPIOs found on the Delta - Networks TN48M switch Lattice CPLD. It provides 12 pins in total, - they are input-only or output-only type. - - This driver can also be built as a module. If so, the - module will be called gpio-tn48m. - config GPIO_TPS65086 tristate "TI TPS65086 GPO" depends on MFD_TPS65086
drivers/gpio/Makefile +0 -1
@@ -181,7 +181,6 @@ obj-$(CONFIG_GPIO_TEGRA186) += gpio-tegra186.o obj-$(CONFIG_GPIO_TEGRA) += gpio-tegra.o obj-$(CONFIG_GPIO_THUNDERX) += gpio-thunderx.o obj-$(CONFIG_GPIO_TIMBERDALE) += gpio-timberdale.o -obj-$(CONFIG_GPIO_TN48M_CPLD) += gpio-tn48m.o obj-$(CONFIG_GPIO_TPIC2810) += gpio-tpic2810.o obj-$(CONFIG_GPIO_TPS65086) += gpio-tps65086.o obj-$(CONFIG_GPIO_TPS65218) += gpio-tps65218.o
drivers/gpio/gpio-tn48m.c deleted +0 -100
100 lines not on this page · raw message
Quoted 2 lines · Randy Dunlap
The gpio-tn48m driver is useless without the simple-mfd parent, which is not present in the kernel tree, so delete it and all references to it.
Same comment, simple-mfd exists in the kernel, so driver is perfectly usable based on above sentence...
Best regards,
Krzysztof
Robert Marko
maintainerQuoted 7 lines · Krzysztof Kozlowski
Quoted 2 lines · Randy Dunlap
The gpio-tn48m driver is useless without the simple-mfd parent, which is not present in the kernel tree, so delete it and all references to it.
Same comment, simple-mfd exists in the kernel, so driver is perfectly usable based on above sentence...
My reply from the reset driver is valid here as well [1].
Quoted 3 lines
Best regards,
Krzysztof
Signature · 7 lines
Robert Marko Staff Embedded Linux Engineer Sartura d.d. Lendavska ulica 16a 10000 Zagreb, Croatia Email: [email protected] Web: www.sartura.hr
Linus Walleij
maintainerQuoted 8 lines · Randy Dunlap
The gpio-tn48m driver is useless without the simple-mfd parent, which is not present in the kernel tree, so delete it and all references to it. Also delete references to the (missing) mfd driver.
Fixes b3dcb5de6209 ("gpio: Add Delta TN48M CPLD GPIO driver")Signed-off-by Randy Dunlap <[email protected]>---
Based on v6.19-rc4.
Linus Walleij
Linus Walleij
maintainerQuoted 6 lines · Randy Dunlap
The gpio-tn48m driver is useless without the simple-mfd parent, which is not present in the kernel tree, so delete it and all references to it. Also delete references to the (missing) mfd driver.
Fixes b3dcb5de6209 ("gpio: Add Delta TN48M CPLD GPIO driver")Signed-off-by Randy Dunlap <[email protected]>
Is an equally fine solution to get a rebased version of this patch:
https://lore.kernel.org/all/[email protected]/
to Lee, given that Robert indicates the driver has users?
AFAICT it was just reverted out because of process, not because of any problem wit the driver/subdrivers themselves.
Lee might have something to add though.
Yours,
Linus Walleij
Robert Marko
maintainerQuoted 10 lines · Linus Walleij
Quoted 6 lines · Randy Dunlap
The gpio-tn48m driver is useless without the simple-mfd parent, which is not present in the kernel tree, so delete it and all references to it. Also delete references to the (missing) mfd driver.
Fixes b3dcb5de6209 ("gpio: Add Delta TN48M CPLD GPIO driver")Signed-off-by Randy Dunlap <[email protected]>
Quoted 7 lines
Is an equally fine solution to get a rebased version of this patch:
https://lore.kernel.org/all/[email protected]/to Lee, given that Robert indicates the driver has users?
AFAICT it was just reverted out because of process, not because of any problem wit the driver/subdrivers themselves.
It would be awesome to see it in the tree again, as the drivers themselves work just fine
and allow SFP-s to work on the TN48M and I have patches for TN4810M (Which is a SFP only version).
I still have both switches and there are some in the wild being actually used as L3 switches so
it would be great to have the required CPLD drivers be compileable.
Regards,
Robert
Quoted 5 lines
Lee might have something to add though.
Yours,
Linus Walleij
Signature · 7 lines
Robert Marko Staff Embedded Linux Engineer Sartura d.d. Lendavska ulica 16a 10000 Zagreb, Croatia Email: [email protected] Web: www.sartura.hr
Linus Walleij
maintainerQuoted 4 lines · Robert Marko
It would be awesome to see it in the tree again, as the drivers themselves work just fine
and allow SFP-s to work on the TN48M and I have patches for TN4810M (Which is a SFP only version).
I sent a rebased version of the old patch as v11 of that series so Lee can pick it up and we sort out this.
Yours,
Linus Walleij
Quoted 7 lines · Linus Walleij
Quoted 4 lines · Robert Marko
It would be awesome to see it in the tree again, as the drivers themselves work just fine
and allow SFP-s to work on the TN48M and I have patches for TN4810M (Which is a SFP only version).
Quoted 5 lines
I sent a rebased version of the old patch as v11 of that series so Lee can pick it up and we sort out this.
Yours,
Linus Walleij
Thanks. Sounds good.
Signature · 1 line
~Randy
Quoted 9 lines · Linus Walleij
Quoted 4 lines · Robert Marko
It would be awesome to see it in the tree again, as the drivers themselves work just fine
and allow SFP-s to work on the TN48M and I have patches for TN4810M (Which is a SFP only version).I sent a rebased version of the old patch as v11 of that series so Lee can pick it up and we sort out this.
Applied.
Signature · 1 line
Lee Jones [李琼斯]