20 Oct, 2014

1 commit


12 Jun, 2014

1 commit

  • …ierry.reding/linux-pwm

    Pull pwm changes from Thierry Reding:
    "The majority of these changes are cleanups and fixes across all
    drivers. Redundant error messages are removed and more PWM
    controllers set the .can_sleep flag to signal that they can't be used
    in atomic context.

    Support is added for the Broadcom Kona family of SoCs and the Intel
    LPSS driver can now probe PCI devices in addition to ACPI devices.
    Upon shutdown, the pwm-backlight driver will now power off the
    backlight. It also uses the new descriptor-based GPIO API for more
    concise GPIO handling.

    A large chunk of these changes also converts platforms to use the
    lookup mechanism rather than relying on the global number space to
    reference PWM devices. This is largely in preparation for more
    unification and cleanups in future patches. Eventually it will allow
    the legacy PWM API to be removed"

    * tag 'pwm/for-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (38 commits)
    pwm: fsl-ftm: set pwm_chip can_sleep flag
    pwm: ab8500: Fix wrong value shift for disable/enable PWM
    pwm: samsung: do not set manual update bit in pwm_samsung_config
    pwm: lp3943: Set pwm_chip can_sleep flag
    pwm: atmel: set pwm_chip can_sleep flag
    pwm: mxs: set pwm_chip can_sleep flag
    pwm: tiehrpwm: inline accessor functions
    pwm: tiehrpwm: don't build PM related functions when not needed
    pwm-backlight: retrieve configured PWM period
    leds: leds-pwm: retrieve configured PWM period
    ARM: pxa: hx4700: use PWM_LOOKUP to initialize struct pwm_lookup
    ARM: shmobile: armadillo: use PWM_LOOKUP to initialize struct pwm_lookup
    ARM: OMAP3: Beagle: use PWM_LOOKUP to initialize struct pwm_lookup
    pwm: modify PWM_LOOKUP to initialize all struct pwm_lookup members
    ARM: pxa: hx4700: initialize all the struct pwm_lookup members
    ARM: OMAP3: Beagle: initialize all the struct pwm_lookup members
    pwm: renesas-tpu: remove unused struct tpu_pwm_platform_data
    ARM: shmobile: armadillo: initialize all struct pwm_lookup members
    pwm: add period and polarity to struct pwm_lookup
    pwm: twl: Really disable twl6030 PWMs
    ...

    Linus Torvalds
     

07 May, 2014

1 commit


28 Apr, 2014

1 commit


19 Apr, 2014

1 commit

  • shiraz.hashim@st.com email-id doesn't exist anymore as he has left the
    company. Replace ST's id with shiraz.linux.kernel@gmail.com.

    It also updates .mailmap file to fix address for 'git shortlog'.

    Signed-off-by: Viresh Kumar
    Cc: Shiraz Hashim
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Viresh Kumar
     

03 Sep, 2013

1 commit

  • Remove unneeded error handling on the result of a call to
    platform_get_resource when the value is passed to devm_ioremap_resource.

    Move the call to platform_get_resource adjacent to the call to
    devm_ioremap_resource to make the connection between them more clear.

    A simplified version of the semantic patch that makes this change is as
    follows: (http://coccinelle.lip6.fr/)

    //
    @@
    expression pdev,res,n,e,e1;
    expression ret != 0;
    identifier l;
    @@

    - res = platform_get_resource(pdev, IORESOURCE_MEM, n);
    ... when != res
    - if (res == NULL) { ... \(goto l;\|return ret;\) }
    ... when != res
    + res = platform_get_resource(pdev, IORESOURCE_MEM, n);
    e = devm_ioremap_resource(e1, res);
    //

    Signed-off-by: Julia Lawall
    Acked-by: Viresh Kumar
    Signed-off-by: Thierry Reding

    Julia Lawall
     

12 Jun, 2013

1 commit


23 Apr, 2013

1 commit

  • A few drivers already annotate this properly. Make the same change for
    all other OF supporting drivers.

    Signed-off-by: Thierry Reding
    Acked-by: Shawn Guo
    Acked-by: Alexandre Pereira da Silva
    Acked-by: Viresh Kumar

    Thierry Reding
     

02 Apr, 2013

2 commits


23 Jan, 2013

1 commit


23 Nov, 2012

2 commits

  • spear_pwm_config() is not referenced outside of this file, make it static.

    Signed-off-by: Axel Lin
    Acked-by: Viresh Kumar
    Signed-off-by: Thierry Reding

    Axel Lin
     
  • Add support for PWM chips present on SPEAr platforms. These PWM
    chips support 4 channel output with programmable duty cycle and
    frequency.

    More details on these PWM chips can be obtained from relevant
    chapter of reference manual, present at following[1] location.

    1. http://www.st.com/internet/mcu/product/251211.jsp

    Cc: Thierry Reding
    Signed-off-by: Shiraz Hashim
    Signed-off-by: Viresh Kumar
    Reviewed-by: Vipin Kumar
    Acked-by: Viresh Kumar
    Signed-off-by: Thierry Reding

    Shiraz Hashim