Skip to content

Add multiple-consumer support to int3472-tps68470 driver

Daniel Scally linux-acpi linux-clk platform-driver-x86 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 7 repliesIn review
  2. v25 patches 2 repliesSuperseded
  3. v16 patches 15 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ACPI: scan: Add acpi_dev_get_next_consumer_dev()drivers/acpi/scan.c drivers/platform/x86/intel/int3472/common.c include/acpi/acpi_bus.h+34 -120 replies
2/5ACPI: bus: Add iterator for dependent devicesinclude/acpi/acpi_bus.h+11 -00 replies
3/5platform/x86: int3472: Support multiple clock consumersdrivers/clk/clk-tps68470.c drivers/platform/x86/intel/int3472/tps68470.c include/linux/platform_data/tps68470.h+67 -123 replies
4/5platform/x86: int3472: Support multiple gpio lookups in board datadrivers/platform/x86/intel/int3472/tps68470.c drivers/platform/x86/intel/int3472/tps68470.h drivers/platform/x86/intel/int3472/tps68470_board_data.c+32 -90 replies
5/5platform/x86: int3472: Add board data for Surface Go2 IR cameradrivers/platform/x86/intel/int3472/tps68470_board_data.c+33 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchHans de GoedeStephen Boyd
1/5R-b
2/5R-b
3/5R-b R-b A-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] Add multiple-consumer support to int3472-tps68470 driver

Hello all

At the moment there are a few places in the int3472-tps68470 driver that are limited to just working with a single consuming device dependent on the PMIC. There are systems where multiple camera sensors share a single TPS68470, so we need to extend the driver to support them. This requires a couple of tweaks to the ACPI functions to fetch dependent devices, which also assumes that only a single dependent will be found.

The v2 for this series was some time ago...it's kept falling to the back of my to-do list so I've only just gotten round to it; sorry about that. v2 here:

https://lore.kernel.org/linux-acpi/[email protected]/

Thanks
Dan

Daniel Scally (5):
ACPI: scan: Add acpi_dev_get_next_consumer_dev()
ACPI: bus: Add iterator for dependent devices platform/x86: int3472: Support multiple clock consumers platform/x86: int3472: Support multiple gpio lookups in board data platform/x86: int3472: Add board data for Surface Go2 IR camera

 drivers/acpi/scan.c                           | 40 +++++++---
 drivers/clk/clk-tps68470.c                    | 13 +++-
 drivers/platform/x86/intel/int3472/common.c   |  2 +-
 drivers/platform/x86/intel/int3472/tps68470.c | 76 ++++++++++++++++---
 drivers/platform/x86/intel/int3472/tps68470.h |  3 +-
 .../x86/intel/int3472/tps68470_board_data.c   | 54 ++++++++++++-
 include/acpi/acpi_bus.h                       | 15 +++-
 include/linux/platform_data/tps68470.h        |  7 +-
 8 files changed, 177 insertions(+), 33 deletions(-)
Signature · 1 line
2.25.1