TEXT   54

Samsung PWM timers

Guest on 30th April 2022 02:09:48 AM

  1. Samsung PWM timers
  2.  
  3. Samsung SoCs contain PWM timer blocks which can be used for system clock source
  4. and clock event timers, as well as to drive SoC outputs with PWM signal. Each
  5. PWM timer block provides 5 PWM channels (not all of them can drive physical
  6. outputs - see SoC and board manual).
  7.  
  8. Be aware that the clocksource driver supports only uniprocessor systems.
  9.  
  10. Required properties:
  11. +-
  12.  
  13.  compatible : should be one of following:
  14.     samsung,s3c2410-pwm - for 16-bit timers present on S3C24xx SoCs
  15.     samsung,s3c6400-pwm - for 32-bit timers present on S3C64xx SoCs
  16.    samsung,s5p6440-pwm - for 32-bit timers present on S5P64x0 SoCs
  17.    samsung,s5pc100-pwm - for 32-bit timers present on S5PC100, S5PV210,
  18.                   Exynos4210 rev0 SoCs
  19. samsung,exynos4210-pwm - for 32-bit timers present on Exynos4210,
  20.                          Exynos4x12 and Exynos5250 SoCs
  21.  reg: base address and size of register area
  22. interrupts: list of timer interrupts (one interrupt per timer, starting at
  23. timer 0)
  24. #pwm-cells: number of cells used for PWM specifier - must be 4
  25.    the specifier format is as follows:
  26.   - phandle to PWM controller node
  27.   - index of PWM channel (from 0 to 4)
  28.   - PWM signal period in nanoseconds
  29.    - bitmask of PWM flags:
  30.    0x1 - invert PWM signal
  31.  
  32. Optional properties:
  33. - samsung,pwm-outputs: list of PWM channels used as PWM outputs on particular
  34.     platform - an array of up to 5 elements being indices of PWM channels
  35.     (from 0 to 4), the order does not matter

Raw Paste


Login or Register to edit or fork this paste. It's free.