1. 07 May, 2022 2 commits
    • Arnd Bergmann's avatar
      ARM: pxa: poodle: use platform data for poodle asoc driver · ac70f4d8
      Arnd Bergmann authored
      The poodle audio driver shows its age by using a custom
      gpio api for the "locomo" support chip.
      
      In a perfect world, this would get converted to use gpiolib
      and a gpio lookup table.
      
      As the world is not perfect, just pass all the required data
      in a custom platform_data structure. to avoid the globally
      visible mach/poodle.h header.
      Acked-by: default avatarMark Brown <broonie@kernel.org>
      Acked-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      Cc: alsa-devel@alsa-project.org
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      ac70f4d8
    • Linus Walleij's avatar
      ARM/pxa/mfd/power/sound: Switch Tosa to GPIO descriptors · 813c2aee
      Linus Walleij authored
      The Tosa device (Sharp SL-6000) has a mishmash driver set-up
      for the Toshiba TC6393xb MFD that includes a battery charger
      and touchscreen and has some kind of relationship to the SoC
      sound driver for the AC97 codec. Other devices define a chip
      like this but seem only half-implemented, not really handling
      battery charging etc.
      
      This patch switches the Toshiba MFD device to provide GPIO
      descriptors to the battery charger and SoC codec. As a result
      some descriptors need to be moved out of the Tosa boardfile
      and new one added: all SoC GPIO resources to these drivers
      now comes from the main boardfile, while the MFD provide
      GPIOs for its portions.
      
      As a result we can request one GPIO from our own GPIO chip
      and drop two hairy callbacks into the board file.
      
      This platform badly needs to have its drivers split up and
      converted to device tree probing to handle this quite complex
      relationship in an orderly manner. I just do my best in solving
      the GPIO descriptor part of the puzzle. Please don't ask me
      to fix everything that is wrong with these driver to todays
      standards, I am just trying to fix one aspect. I do try to
      use modern devres resource management and handle deferred
      probe using new functions where appropriate.
      
      Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
      Cc: Dirk Opfer <dirk@opfer-online.de>
      Cc: Robert Jarzmik <robert.jarzmik@free.fr>
      Cc: Daniel Mack <daniel@zonque.org>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Lee Jones <lee.jones@linaro.org>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Reviewed-by: default avatarDmitry Baryshkov <dbaryshkov@gmail.com>
      Acked-by: default avatarMark Brown <broonie@kernel.org>
      Acked-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      813c2aee
  2. 20 Apr, 2022 2 commits
  3. 19 Apr, 2022 12 commits
  4. 03 Apr, 2022 8 commits
  5. 02 Apr, 2022 16 commits