1. 13 2月, 2017 24 次提交
  2. 08 2月, 2017 2 次提交
  3. 26 1月, 2017 3 次提交
    • B
      iio: Add STM32 timer trigger driver · 93fbe91b
      Benjamin Gaignard 提交于
      Timers IPs can be used to generate triggers for other IPs like
      DAC or ADC.
      Each trigger may result of timer internals signals like counter enable,
      reset or edge, this configuration could be done through "master_mode"
      device attribute.
      
      Since triggers could be used by DAC or ADC their names are defined
      in include/ nux/iio/timer/stm32-timer-trigger.h and is_stm32_iio_timer_trigger
      function could be used to check if the trigger is valid or not.
      
      "trgo" trigger have a "sampling_frequency" attribute which allow to configure
      timer sampling frequency.
      
      version 8:
      - change kernel version from 4.10 to 4.11 in ABI documentation
      
      version 7:
      - remove all iio_device related code
      - move driver into trigger directory
      
      version 5:
      - simplify tables of triggers
      - only create an IIO device when needed
      
      version 4:
      - get triggers configuration from "reg" in DT
      - add tables of triggers
      - sampling frequency is enable/disable when writing in trigger
        sampling_frequency attribute
      - no more use of interruptions
      
      version 3:
      - change compatible to "st,stm32-timer-trigger"
      - fix attributes access right
      - use string instead of int for master_mode and slave_mode
      - document device attributes in sysfs-bus-iio-timer-stm32
      
      version 2:
      - keep only one compatible
      - use st,input-triggers-names and st,output-triggers-names
        to know which triggers are accepted and/or create by the device
      Signed-off-by: NBenjamin Gaignard <benjamin.gaignard@st.com>
      Acked-by: NJonathan Cameron <jic23@kernel.org>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      93fbe91b
    • B
      iio: Add bindings for STM32 timer trigger driver · bf2d8581
      Benjamin Gaignard 提交于
      Define bindings for STM32 timer trigger
      
      version 8:
      - reword "reg" parameter description
      
      version 4:
      - remove triggers enumeration from DT
      - add reg parameter
      
      version 3:
      - change file name
      - add cross reference with mfd bindings
      
      version 2:
      - only keep one compatible
      - add DT parameters to set lists of the triggers:
        one list describe the triggers created by the device
        another one give the triggers accepted by the device
      Signed-off-by: NBenjamin Gaignard <benjamin.gaignard@st.com>
      Acked-by: NJonathan Cameron <jic23@kernel.org>
      Acked-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      bf2d8581
    • 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
  4. 23 1月, 2017 3 次提交
  5. 05 1月, 2017 3 次提交
  6. 04 1月, 2017 3 次提交
  7. 26 12月, 2016 2 次提交
    • L
      Linux 4.10-rc1 · 7ce7d89f
      Linus Torvalds 提交于
      7ce7d89f
    • L
      powerpc: Fix build warning on 32-bit PPC · 8ae679c4
      Larry Finger 提交于
      I am getting the following warning when I build kernel 4.9-git on my
      PowerBook G4 with a 32-bit PPC processor:
      
          AS      arch/powerpc/kernel/misc_32.o
        arch/powerpc/kernel/misc_32.S:299:7: warning: "CONFIG_FSL_BOOKE" is not defined [-Wundef]
      
      This problem is evident after commit 989cea5c ("kbuild: prevent
      lib-ksyms.o rebuilds"); however, this change in kbuild only exposes an
      error that has been in the code since 2005 when this source file was
      created.  That was with commit 9994a338 ("powerpc: Introduce
      entry_{32,64}.S, misc_{32,64}.S, systbl.S").
      
      The offending line does not make a lot of sense.  This error does not
      seem to cause any errors in the executable, thus I am not recommending
      that it be applied to any stable versions.
      
      Thanks to Nicholas Piggin for suggesting this solution.
      
      Fixes: 9994a338 ("powerpc: Introduce entry_{32,64}.S, misc_{32,64}.S, systbl.S")
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Cc: Nicholas Piggin <npiggin@gmail.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8ae679c4