Skip to contentSkip to conversation

pwm: Remove orphan HiSilicon hibvt driver

PATCH In review Rob Herring (Arm) 3 participants 3 messages Nov 4

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 pwm: Remove orphan HiSilicon hibvt driver

Remove the HiSilicon hibvt PWM driver as none of the SoCs exist upstream. The hi3516cv300 only has pwm, clock and ethernet drivers.

---
 .../devicetree/bindings/pwm/pwm-hibvt.txt     |  23 --
 drivers/pwm/Kconfig                           |  10 -
 drivers/pwm/Makefile                          |   1 -
 drivers/pwm/pwm-hibvt.c                       | 285 ------------------
 4 files changed, 319 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-hibvt.txt
 delete mode 100644 drivers/pwm/pwm-hibvt.c
Documentation/devicetree/bindings/pwm/pwm-hibvt.txt deleted +0 -23
deleted file mode 100644
index 54dbc2a0e648..000000000000
@@ -1,23 +0,0 @@
-Hisilicon PWM controller
-
-Required properties:
--compatible: should contain one SoC specific compatible string
- The SoC specific strings supported including:
-	"hisilicon,hi3516cv300-pwm"
-	"hisilicon,hi3519v100-pwm"
-	"hisilicon,hi3559v100-shub-pwm"
-	"hisilicon,hi3559v100-pwm
-- reg: physical base address and length of the controller's registers.
-- clocks: phandle and clock specifier of the PWM reference clock.
-- resets: phandle and reset specifier for the PWM controller reset.
-- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
-  the cells format.
-
-Example:
-	pwm: pwm@12130000 {
-		compatible = "hisilicon,hi3516cv300-pwm";
-		reg = <0x12130000 0x10000>;
-		clocks = <&crg_ctrl HI3516CV300_PWM_CLK>;
-		resets = <&crg_ctrl 0x38 0>;
-		#pwm-cells = <3>;
-	};
drivers/pwm/Kconfig +0 -10
index 729776086879..aacd800687e7 100644
@@ -282,16 +282,6 @@ config PWM_GPIO
 	  To compile this driver as a module, choose M here: the module
 	  will be called pwm-gpio.
 
-config PWM_HIBVT
-	tristate "HiSilicon BVT PWM support"
-	depends on ARCH_HISI || COMPILE_TEST
-	depends on HAS_IOMEM
-	help
-	  Generic PWM framework driver for HiSilicon BVT SoCs.
-
-	  To compile this driver as a module, choose M here: the module
-	  will be called pwm-hibvt.
-
 config PWM_IMG
 	tristate "Imagination Technologies PWM driver"
 	depends on HAS_IOMEM
drivers/pwm/Makefile +0 -1
index 5630a521a7cf..7e2c34cc4f6a 100644
@@ -23,7 +23,6 @@ obj-$(CONFIG_PWM_DWC)		+= pwm-dwc.o
 obj-$(CONFIG_PWM_EP93XX)	+= pwm-ep93xx.o
 obj-$(CONFIG_PWM_FSL_FTM)	+= pwm-fsl-ftm.o
 obj-$(CONFIG_PWM_GPIO)		+= pwm-gpio.o
-obj-$(CONFIG_PWM_HIBVT)		+= pwm-hibvt.o
 obj-$(CONFIG_PWM_IMG)		+= pwm-img.o
 obj-$(CONFIG_PWM_IMX1)		+= pwm-imx1.o
 obj-$(CONFIG_PWM_IMX27)		+= pwm-imx27.o
drivers/pwm/pwm-hibvt.c deleted +0 -285

285 lines not on this page · raw message

Signature · 1 line
2.53.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Rob Herring (Arm)

Remove the HiSilicon hibvt PWM driver as none of the SoCs exist upstream. The hi3516cv300 only has pwm, clock and ethernet drivers.

Quoted 8 lines
---
 .../devicetree/bindings/pwm/pwm-hibvt.txt     |  23 --
 drivers/pwm/Kconfig                           |  10 -
 drivers/pwm/Makefile                          |   1 -
 drivers/pwm/pwm-hibvt.c                       | 285 ------------------
 4 files changed, 319 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-hibvt.txt
 delete mode 100644 drivers/pwm/pwm-hibvt.c

Best regards,
Krzysztof