An error occurred fetching the project authors.
  1. 25 Jan, 2017 1 commit
    • Benjamin Gaignard's avatar
      pwm: Add driver for STM32 plaftorm · 7edf7369
      Benjamin Gaignard authored
      This driver adds support for PWM driver on STM32 platform.
      The SoC have multiple instances of the hardware IP and each
      of them could have small differences: number of channels,
      complementary output, auto reload register size...
      
      version 9:
      - fix commit message header
      - remove one space MODULE_ALIAS
      
      version 8:
      - fix comments done by Thierry on version 7
      
      version 6:
      - change st,breakinput parameter to make it usuable for stm32f7 too.
      
      version 4:
      - detect at probe time hardware capabilities
      - fix comments done on v2 and v3
      - use PWM atomic ops
      
      version 2:
      - only keep one comptatible
      - use DT parameters to discover hardware block configuration
      Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@st.com>
      Acked-by: default avatarThierry Reding <treding@nvidia.com>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      7edf7369
  2. 29 Nov, 2016 1 commit
  3. 08 Sep, 2016 1 commit
  4. 25 Jul, 2016 1 commit
    • Brian Norris's avatar
      pwm: Add ChromeOS EC PWM driver · 1f0d3bb0
      Brian Norris authored
      Use the new ChromeOS EC EC_CMD_PWM_{GET,SET}_DUTY commands to control
      one or more PWMs attached to the Embedded Controller. Because the EC
      allows us to modify the duty cycle (as a percentage, where U16_MAX is
      100%) but not the period, we assign the period a fixed value of
      EC_PWM_MAX_DUTY and reject all attempts to change it.
      
      This driver supports only device tree at the moment, because that
      provides a very flexible way of describing the relationship between PWMs
      and their consumer devices (e.g., backlight). On a non-DT system, we'll
      probably want to use the non-GENERIC addressing (i.e., we'll need to
      make special device instances that will use EC_PWM_TYPE_KB_LIGHT or
      EC_PWM_TYPE_DISPLAY_LIGHT), as well as the relatively inflexible
      pwm_lookup infrastructure for matching devices. Defer that work for now.
      Signed-off-by: default avatarBrian Norris <briannorris@chromium.org>
      Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
      1f0d3bb0
  5. 11 Jul, 2016 3 commits
  6. 23 Mar, 2016 1 commit
  7. 04 Jan, 2016 1 commit
    • Vegard Nossum's avatar
      pwm: add HAS_IOMEM dependency to PWM_FSL_FTM · 36d5be4b
      Vegard Nossum authored
      Ran into this on UML:
      
      drivers/built-in.o: In function `fsl_pwm_probe':
      linux/drivers/pwm/pwm-fsl-ftm.c:436: undefined reference to `devm_ioremap_resource'
      collect2: error: ld returned 1 exit status
      
      devm_ioremap_resource() is defined only when HAS_IOMEM is selected.
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Cc: Xiubo Li <Li.Xiubo@freescale.com>
      Cc: Alison Wang <b18965@freescale.com>
      Cc: Jingchang Lu <b35083@freescale.com>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Yuan Yao <yao.yuan@freescale.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
      36d5be4b
  8. 16 Dec, 2015 2 commits
  9. 06 Nov, 2015 1 commit
  10. 06 Oct, 2015 5 commits
  11. 09 Sep, 2015 1 commit
    • Ariel D'Alessandro's avatar
      pwm: NXP LPC18xx PWM/SCT driver · 841e6f90
      Ariel D'Alessandro authored
      This commit adds support for NXP LPC18xx PWM/SCT.
      
      NXP LPC SoCs family, which includes LPC18xx/LPC43xx, provides a State
      Configurable Timer (SCT) which can be configured as a Pulse Width
      Modulator. Other SoCs in that family may share the same hardware.
      
      The PWM supports a total of 16 channels, but only 15 can be simultaneously
      requested. There's only one period, global to all the channels, thus PWM
      driver will refuse setting different values to it, unless there's only one
      channel requested.
      Signed-off-by: default avatarAriel D'Alessandro <ariel@vanguardiasur.com.ar>
      [thierry.reding@gmail.com: remove excessive padding of fields]
      Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
      841e6f90
  12. 21 Jul, 2015 1 commit
  13. 30 Jan, 2015 3 commits
  14. 17 Nov, 2014 3 commits
  15. 20 Oct, 2014 1 commit
  16. 25 Aug, 2014 1 commit
  17. 22 Aug, 2014 2 commits
  18. 07 Aug, 2014 1 commit
  19. 11 Jul, 2014 1 commit
  20. 09 Jul, 2014 1 commit
  21. 28 Apr, 2014 1 commit
  22. 01 Apr, 2014 1 commit
  23. 18 Mar, 2014 2 commits
  24. 26 Feb, 2014 1 commit
  25. 21 Jan, 2014 1 commit
    • Milo Kim's avatar
      pwm: Add LP3943 PWM driver · af66b3c0
      Milo Kim authored
      This is the other of the LP3943 MFD driver.
      LP3943 can be used as a PWM generator, up to 2 channels.
      
      * Two PWM generators supported
      
      * Supported PWM operations
        request, free, config, enable and disable
      
      * Pin assignment
        A driver data, 'pin_used' is checked when a PWM is requested.
        If the output pin is already assigned, then returns as failure.
        If the pin is available, 'pin_used' is set.
        When the PWM is not used anymore, then it is cleared.
        It is defined as unsigned long type for atomic bit operation APIs,
        but only LSB 16bits are used because LP3943 has 16 outputs.
      Signed-off-by: default avatarMilo Kim <milo.kim@ti.com>
      Acked-by: default avatarThierry Reding <thierry.reding@gmail.com>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      af66b3c0
  26. 17 Dec, 2013 2 commits