1. 04 9月, 2017 1 次提交
  2. 21 8月, 2017 3 次提交
  3. 06 4月, 2017 1 次提交
    • J
      pwm: Add MediaTek PWM support · caf065f8
      John Crispin 提交于
      This patch adds support for the PWM core found on current ARM base SoCs
      made by MediaTek. This IP core supports 5 channels and has 2 operational
      modes. There is the old mode, which is a classical PWM and the new mode
      which allows the user to define bitmasks that get clocked out on the
      pins. As the subsystem currently only supports PWM cores with the "old"
      mode, we can safely ignore the "new" mode for now.
      Signed-off-by: NJohn Crispin <john@phrozen.org>
      [thierry.reding@gmail.com: minor cleanups]
      Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
      caf065f8
  4. 26 1月, 2017 1 次提交
    • B
      pwm: Add driver for STM32 plaftorm · 7edf7369
      Benjamin Gaignard 提交于
      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: NBenjamin Gaignard <benjamin.gaignard@st.com>
      Acked-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      7edf7369
  5. 19 1月, 2017 1 次提交
  6. 29 11月, 2016 1 次提交
  7. 08 9月, 2016 1 次提交
  8. 25 7月, 2016 1 次提交
    • B
      pwm: Add ChromeOS EC PWM driver · 1f0d3bb0
      Brian Norris 提交于
      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: NBrian Norris <briannorris@chromium.org>
      Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
      1f0d3bb0
  9. 11 7月, 2016 3 次提交
  10. 24 3月, 2016 1 次提交
  11. 04 1月, 2016 1 次提交
    • V
      pwm: add HAS_IOMEM dependency to PWM_FSL_FTM · 36d5be4b
      Vegard Nossum 提交于
      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: NVegard 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: NThierry Reding <thierry.reding@gmail.com>
      36d5be4b
  12. 17 12月, 2015 1 次提交
  13. 16 12月, 2015 1 次提交
  14. 06 11月, 2015 1 次提交
  15. 06 10月, 2015 5 次提交
  16. 09 9月, 2015 1 次提交
    • A
      pwm: NXP LPC18xx PWM/SCT driver · 841e6f90
      Ariel D'Alessandro 提交于
      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: NAriel D'Alessandro <ariel@vanguardiasur.com.ar>
      [thierry.reding@gmail.com: remove excessive padding of fields]
      Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
      841e6f90
  17. 21 7月, 2015 1 次提交
  18. 30 1月, 2015 3 次提交
  19. 17 11月, 2014 3 次提交
  20. 20 10月, 2014 1 次提交
  21. 25 8月, 2014 1 次提交
  22. 23 8月, 2014 1 次提交
  23. 22 8月, 2014 1 次提交
  24. 07 8月, 2014 1 次提交
  25. 11 7月, 2014 1 次提交
  26. 09 7月, 2014 1 次提交
  27. 28 4月, 2014 1 次提交
  28. 01 4月, 2014 1 次提交