Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1468753

Re: [PATCH v2] pwm: add pwm driver for HiSilicon BVT SOCs

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] pwm: add pwm driver for HiSilicon BVT SOCs
Date 2016-08-23 20:10 +0200
Message-ID <s9oj7-7vX-9@gated-at.bofh.it> (permalink)
References <s8Sjg-3ra-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 22, 2016 at 03:50:13PM +0800, Jian Yuan wrote:
> From: yuanjian <yuanjian12@hisilicon.com>
> 
> Add pwm driver for HiSilicon BVT SOCs
> 
> Reviewed-by: Jiancheng Xue <xuejiancheng@hisilicon.com>
> Signed-off-by: Jian Yuan <yuanjian12@hisilicon.com>
> ---
> Change Log:
> v2:
> The number of PWMs is change to be probeable based on the compatible string.
> 
>  .../devicetree/bindings/pwm/pwm-hibvt.txt          |  18 ++

For the binding:

Acked-by: Rob Herring <robh@kernel.org>

One comment though...

>  drivers/pwm/Kconfig                                |  10 +
>  drivers/pwm/Makefile                               |   1 +
>  drivers/pwm/pwm-hibvt.c                            | 274 +++++++++++++++++++++
>  4 files changed, 303 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/pwm/pwm-hibvt.txt
>  create mode 100644 drivers/pwm/pwm-hibvt.c

> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index c182efc..3c48768 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -158,6 +158,15 @@ config PWM_FSL_FTM
>  	  To compile this driver as a module, choose M here: the module
>  	  will be called pwm-fsl-ftm.
>  
> +config PWM_HIBVT
> +	tristate "HiSilicon BVT PWM support"
> +	depends on ARCH_HISI

Add "|| COMPILE_TEST" so it can build test on other configs

> +	help
> +	  Generic PWM framework driver for hisilicon BVT SOCs.
> +

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] pwm: add pwm driver for HiSilicon BVT SOCs Jian Yuan <yuanjian12@hisilicon.com> - 2016-08-22 10:00 +0200
  Re: [PATCH v2] pwm: add pwm driver for HiSilicon BVT SOCs Rob Herring <robh@kernel.org> - 2016-08-23 20:10 +0200
  Re: [PATCH v2] pwm: add pwm driver for HiSilicon BVT SOCs Thierry Reding <thierry.reding@gmail.com> - 2016-08-24 15:10 +0200
    Re: [PATCH v2] pwm: add pwm driver for HiSilicon BVT SOCs Jian Yuan <yuanjian12@hisilicon.com> - 2016-08-25 11:20 +0200

csiph-web