1. 03 4月, 2019 1 次提交
  2. 20 2月, 2019 1 次提交
  3. 18 2月, 2019 1 次提交
  4. 14 2月, 2019 2 次提交
  5. 07 2月, 2019 1 次提交
    • C
      mfd: lochnagar: Add support for the Cirrus Logic Lochnagar · 422dcafe
      Charles Keepax 提交于
      Lochnagar is an evaluation and development board for Cirrus
      Logic Smart CODEC and Amp devices. It allows the connection of
      most Cirrus Logic devices on mini-cards, as well as allowing
      connection of various application processor systems to provide a
      full evaluation platform. This driver supports the board
      controller chip on the Lochnagar board. Audio system topology,
      clocking and power can all be controlled through the Lochnagar
      controller chip, allowing the device under test to be used in
      a variety of possible use cases.
      
      As the Lochnagar is a fairly complex device this MFD driver
      allows the drivers for the various features to be bound
      in. Initially clocking, regulator and pinctrl will be added as
      these are necessary to configure the system. But in time at least
      audio and voltage/current monitoring will also be added.
      Signed-off-by: NCharles Keepax <ckeepax@opensource.cirrus.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      422dcafe
  6. 01 2月, 2019 2 次提交
    • J
      mfd: Kconfig: Fix I2C_DESIGNWARE_PLATFORM dependencies · 09fdc985
      Jarkko Nikula 提交于
      INTEL_SOC_PMIC, INTEL_SOC_PMIC_CHTWC and MFD_TPS68470 select the
      I2C_DESIGNWARE_PLATFORM without its dependencies making it possible to see
      warning and build error like below:
      
      WARNING: unmet direct dependencies detected for I2C_DESIGNWARE_PLATFORM
        Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && (ACPI [=y] && COMMON_CLK [=n] || !ACPI [=y])
        Selected by [y]:
        - MFD_TPS68470 [=y] && HAS_IOMEM [=y] && ACPI [=y] && I2C [=y]=y
      
      /usr/bin/ld: drivers/i2c/busses/i2c-designware-platdrv.o: in function `dw_i2c_plat_resume':
      i2c-designware-platdrv.c:(.text+0x62): undefined reference to `i2c_dw_prepare_clk'
      /usr/bin/ld: drivers/i2c/busses/i2c-designware-platdrv.o: in function `dw_i2c_plat_suspend':
      i2c-designware-platdrv.c:(.text+0x9a): undefined reference to `i2c_dw_prepare_clk'
      /usr/bin/ld: drivers/i2c/busses/i2c-designware-platdrv.o: in function `dw_i2c_plat_probe':
      i2c-designware-platdrv.c:(.text+0x41c): undefined reference to `i2c_dw_prepare_clk'
      /usr/bin/ld: i2c-designware-platdrv.c:(.text+0x438): undefined reference to `i2c_dw_read_comp_param'
      /usr/bin/ld: i2c-designware-platdrv.c:(.text+0x545): undefined reference to `i2c_dw_probe'
      /usr/bin/ld: i2c-designware-platdrv.c:(.text+0x727): undefined reference to `i2c_dw_probe_slave'
      
      Fix this by making above options to depend on I2C_DESIGNWARE_PLATFORM
      being built-in. I2C_DESIGNWARE_PLATFORM is a visible symbol with
      dependencies so in general the select should be avoided.
      
      Fixes: acebcff9 ("mfd: intel_soc_pmic: Select designware i2c-bus driver")
      Fixes: de85d79f ("mfd: Add Cherry Trail Whiskey Cove PMIC driver")
      Fixes: 9bbf6a15 ("mfd: Add support for TPS68470 device")
      Cc: Stable <stable@vger.kernel.org> # v4.14+
      Reported-by: NRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: NJarkko Nikula <jarkko.nikula@linux.intel.com>
      Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      09fdc985
    • E
      mfd / platform: cros_ec: Move device sysfs attributes to its own driver · 6fd7f2bb
      Enric Balletbo i Serra 提交于
      The entire way how cros debugfs attibutes are created is broken.
      cros_ec_sysfs should be its own driver and its attributes should be
      associated with the sysfs driver not the mfd driver.
      
      The patch also adds the sysfs documentation.
      Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com>
      Reviewed-by: NGuenter Roeck <groeck@chromium.org>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      6fd7f2bb
  7. 29 1月, 2019 1 次提交
    • S
      mfd: Fix unmet dependency warning for MFD_TPS68470 · 9baddb61
      Sinan Kaya 提交于
      After commit 5d32a665 ("PCI/ACPI: Allow ACPI to be built without
      CONFIG_PCI set") dependencies on CONFIG_PCI that previously were
      satisfied implicitly through dependencies on CONFIG_ACPI have to be
      specified directly.
      
      WARNING: unmet direct dependencies detected for I2C_DESIGNWARE_PLATFORM
        Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && (ACPI [=y] && COMMON_CLK [=n] || !ACPI [=y])
        Selected by [y]:
        - MFD_TPS68470 [=y] && HAS_IOMEM [=y] && ACPI [=y] && I2C [=y]=y
      
      MFD_TPS68470 is an ACPI only device and selects I2C_DESIGNWARE_PLATFORM.
      
      I2C_DESIGNWARE_PLATFORM does not have any configuration today for ACPI
      support without CONFIG_PCI set.
      
      For sake of a quick fix this introduces a new mandatory dependency to
      the driver which may survive without it. Otherwise we need to revisit
      the driver architecture to address this properly.
      
      Fixes: 5d32a665 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")
      Signed-off-by: NSinan Kaya <okaya@kernel.org>
      Acked-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      9baddb61
  8. 16 1月, 2019 2 次提交
  9. 03 1月, 2019 1 次提交
  10. 23 10月, 2018 2 次提交
  11. 10 9月, 2018 1 次提交
  12. 16 8月, 2018 1 次提交
  13. 04 7月, 2018 1 次提交
  14. 05 6月, 2018 4 次提交
  15. 08 1月, 2018 2 次提交
  16. 15 12月, 2017 1 次提交
  17. 29 11月, 2017 1 次提交
  18. 01 11月, 2017 1 次提交
  19. 13 10月, 2017 4 次提交
  20. 20 9月, 2017 1 次提交
  21. 05 9月, 2017 5 次提交
  22. 04 9月, 2017 1 次提交
  23. 21 8月, 2017 1 次提交
  24. 06 7月, 2017 2 次提交
    • K
      mfd: Add LP87565 PMIC support · 1e349600
      Keerthy 提交于
      The LP87565 chip is a power management IC for Portable Navigation Systems
      and Tablet Computing devices. It contains the following components:
      
              - Configurable Bucks(Single and multi-phase).
              - Configurable General Purpose Output Signals (GPO).
      
      The LP87565-Q1 variant device uses two 2-phase outputs configuration,
      Buck0 is master for Buck0/1 output and Buck2 is master for Buck2/3
      output.
      Signed-off-by: NKeerthy <j-keerthy@ti.com>
      Acked-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      1e349600
    • H
      mfd: axp20x-i2c: Document that this must be builtin on x86 · aaac4a2e
      Hans de Goede 提交于
      On x86 the AXP288 PMIC provides an ACPI OpRegion handler, which must be
      available before other drivers using it are loaded, which can only be
      ensured if the MFD, OpRegion and i2c-bus drivers are built-in.
      
      Since the AXP20x MFD code is used on non x86 too we cannot simply change
      this into a bool, I've tried some Kconfig magic with if x86 but I could
      not get this working correctly, so this commit just documents that this
      should be built-in on x86, which fixes errors like these during boot:
      
      mmc0: SDHCI controller on ACPI [80860F14:00] using ADMA
      ACPI Error: No handler for Region [REGS] (ffff93543b0cc3a8) [UserDefinedRegion]
      ACPI Error: Region UserDefinedRegion (ID=143) has no handler (20170119/exfldio-2
      ACPI Error: Method parse/execution failed [\_SB.PCI0.I2C7.PMI5.GET] (Node ffff93
      ACPI Error: Method parse/execution failed [\_SB.PCI0.SHC1._PS0] (Node ffff93543b
      acpi 80860F14:02: Failed to change power state to D0
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Acked-by: NChen-Yu Tsai <wens@csie.org>
      Tested-by: Nrussianneuromancer <russianneuromancer@ya.ru>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      aaac4a2e