Re: [PATCH] pwm: remove zte zx driver

From: Thierry Reding
Date: Wed Jan 20 2021 - 10:57:59 EST


On Wed, Jan 20, 2021 at 04:09:22PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The zte zx platform is getting removed, so this driver is no
> longer needed.
>
> Cc: Jun Nie <jun.nie@xxxxxxxxxx>
> Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> .../devicetree/bindings/pwm/pwm-zx.txt | 22 --
> drivers/pwm/Kconfig | 20 --
> drivers/pwm/Makefile | 2 -
> drivers/pwm/pwm-zx.c | 278 ------------------
> 4 files changed, 322 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-zx.txt
> delete mode 100644 drivers/pwm/pwm-zx.c
>
> diff --git a/Documentation/devicetree/bindings/pwm/pwm-zx.txt b/Documentation/devicetree/bindings/pwm/pwm-zx.txt
> deleted file mode 100644
> index 3c8fe7aa8269..000000000000
> --- a/Documentation/devicetree/bindings/pwm/pwm-zx.txt
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -ZTE ZX PWM controller
> -
> -Required properties:
> - - compatible: Should be "zte,zx296718-pwm".
> - - reg: Physical base address and length of the controller's registers.
> - - clocks : The phandle and specifier referencing the controller's clocks.
> - - clock-names: "pclk" for PCLK, "wclk" for WCLK to the PWM controller. The
> - PCLK is for register access, while WCLK is the reference clock for
> - calculating period and duty cycles.
> - - #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
> - the cells format.
> -
> -Example:
> -
> - pwm: pwm@1439000 {
> - compatible = "zte,zx296718-pwm";
> - reg = <0x1439000 0x1000>;
> - clocks = <&lsp1crm LSP1_PWM_PCLK>,
> - <&lsp1crm LSP1_PWM_WCLK>;
> - clock-names = "pclk", "wclk";
> - #pwm-cells = <3>;
> - };
> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index 0937e1c047ac..4c28d0634ce9 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -601,24 +601,4 @@ config PWM_TWL_LED
> To compile this driver as a module, choose M here: the module
> will be called pwm-twl-led.
>
> -config PWM_VT8500
> - tristate "vt8500 PWM support"
> - depends on ARCH_VT8500 || COMPILE_TEST
> - depends on HAS_IOMEM
> - help
> - Generic PWM framework driver for vt8500.
> -
> - To compile this driver as a module, choose M here: the module
> - will be called pwm-vt8500.
> -

I assume that you dropped the PWM_VT8500 symbol by mistake? I can fix
that up while applying, so no need to resend.

Thierry

Attachment: signature.asc
Description: PGP signature