1. 23 1月, 2017 1 次提交
    • B
      mfd: Add STM32 Timers driver · d0f949e2
      Benjamin Gaignard 提交于
      This hardware block could at used at same time for PWM generation
      and IIO timers.
      PWM and IIO timer configuration are mixed in the same registers
      so we need a multi fonction driver to be able to share those registers.
      
      version 7:
      - rebase on v4.10-rc2
      
      version 6:
      - rename files to stm32-timers
      - rename functions to stm32_timers_xxx
      
      version 5:
      - fix Lee comments about detect function
      - add missing dependency on REGMAP_MMIO
      
      version 4:
      - add a function to detect Auto Reload Register (ARR) size
      - rename the structure shared with other drivers
      
      version 2:
      - rename driver "stm32-gptimer" to be align with SoC documentation
      - only keep one compatible
      - use of_platform_populate() instead of devm_mfd_add_devices()
      Signed-off-by: NBenjamin Gaignard <benjamin.gaignard@st.com>
      Acked-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      d0f949e2
  2. 29 11月, 2016 1 次提交
  3. 21 11月, 2016 1 次提交
    • L
      mfd: qcom-pm8xxx: Clean up PM8XXX namespace · 40a3a0f2
      Linus Walleij 提交于
      The Kconfig and file naming for the PM8xxx driver is totally
      confusing:
      
      - Kconfig options MFD_PM8XXX and MFD_PM8921_CORE, some in-kernel
        users depending on or selecting either at random.
      - A driver file named pm8921-core.c even if it is indeed
        used by the whole PM8xxx family of chips.
      - An irqchip named pm8xxx since it was (I guess) realized that
        the driver was generic for all pm8xxx PMICs.
      
      As I may want to add support for PM8901 this is starting to get
      really messy. Fix this situation by:
      
      - Remove the MFD_PM8921_CORE symbol and rely solely on MFD_PM8XXX
        and convert all users, including LEDs Kconfig and ARM defconfigs
        for qcom and multi_v7 to use that single symbol.
      - Renaming the driver to qcom-pm8xxx.c to fit along the two
        other qcom* prefixed drivers.
      - Rename functions withing the driver from 8921 to 8xxx to
        indicate it is generic.
      - Just drop the =m config from the pxa_defconfig, I have no clue
        why it is even there, it is not a Qualcomm platform. (Possibly
        older Kconfig noise from saveconfig.)
      
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: NAndy Gross <andy.gross@linaro.org>
      Acked-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      Acked-by: NJacek Anaszewski <j.anaszewski@samsung.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      40a3a0f2
  4. 04 10月, 2016 1 次提交
  5. 29 9月, 2016 1 次提交
  6. 31 8月, 2016 1 次提交
    • K
      mfd: lp873x: Add lp873x PMIC support · dc21c7ad
      Keerthy 提交于
      The LP873X chip is a power management IC for Portable Navigation Systems
          and Tablet Computing devices. It contains the following components:
      
           - Regulators.
           - Configurable General Purpose Output Signals (GPO).
      
      PMIC interacts with the main processor through i2c. PMIC has
      couple of LDOs (Linear Regulators), couple of BUCKs (Step-Down DC-DC
      Converter Cores) and GPOs (General Purpose Output Signals).
      Signed-off-by: NKeerthy <j-keerthy@ti.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      dc21c7ad
  7. 08 8月, 2016 1 次提交
  8. 29 6月, 2016 1 次提交
  9. 18 5月, 2016 1 次提交
  10. 09 5月, 2016 1 次提交
  11. 16 3月, 2016 2 次提交
  12. 12 2月, 2016 4 次提交
  13. 11 2月, 2016 1 次提交
  14. 04 12月, 2015 1 次提交
  15. 24 11月, 2015 1 次提交
  16. 31 10月, 2015 2 次提交
  17. 11 8月, 2015 2 次提交
  18. 28 7月, 2015 1 次提交
  19. 22 6月, 2015 1 次提交
  20. 12 3月, 2015 2 次提交
  21. 04 3月, 2015 3 次提交
  22. 23 1月, 2015 1 次提交
  23. 22 1月, 2015 2 次提交
  24. 26 11月, 2014 2 次提交
  25. 11 11月, 2014 1 次提交
    • O
      mfd: Add support for Diolan DLN-2 devices · 338a1281
      Octavian Purdila 提交于
      This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO
      Master Adapter DLN-2. Details about the device can be found here:
      
      https://www.diolan.com/i2c/i2c_interface.html.
      
      Information about the USB protocol can be found in the Programmer's
      Reference Manual [1], see section 1.7.
      
      Because the hardware has a single transmit endpoint and a single
      receive endpoint the communication between the various DLN2 drivers
      and the hardware will be muxed/demuxed by this driver.
      
      Each DLN2 module will be identified by the handle field within the DLN2
      message header. If a DLN2 module issues multiple commands in parallel
      they will be identified by the echo counter field in the message header.
      
      The DLN2 modules can use the dln2_transfer() function to issue a
      command and wait for its response. They can also register a callback
      that is going to be called when a specific event id is generated by
      the device (e.g. GPIO interrupts). The device uses handle 0 for
      sending events.
      
      [1] https://www.diolan.com/downloads/dln-api-manual.pdfSigned-off-by: NOctavian Purdila <octavian.purdila@intel.com>
      Reviewed-by: NJohan Hovold <johan@kernel.org>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      338a1281
  26. 26 9月, 2014 4 次提交