mbox series

[v2,0/4] media: hi556: Add reset / clk / regulator support

Message ID 20240415131038.236660-1-hdegoede@redhat.com (mailing list archive)
Headers show
Series media: hi556: Add reset / clk / regulator support | expand

Message

Hans de Goede April 15, 2024, 1:10 p.m. UTC
Hi All,

Here is v2 of my patch-series to make the hi556 driver work on x86_64
devices where the power-up / down sequence is not fully handled in ACPI
(as is done on chromebooks) but where instead the driver is expected
to do it itself.

Changes in v2:
- Parse endpoint immediately after getting it and then immediately call
  fwnode_handle_put(ep) to avoid leaking the endpoint fwnode on errors

This has been successfully tested on a "HP Spectre x360 13.5 (2023)":
https://github.com/intel/ipu6-drivers/issues/202

Regards,

Hans


Hans de Goede (4):
  media: hi556: Return -EPROBE_DEFER if no endpoint is found
  media: hi556: Add support for reset GPIO
  media: hi556: Add support for external clock
  media: hi556: Add support for avdd regulator

 drivers/media/i2c/hi556.c | 105 +++++++++++++++++++++++++++++++++-----
 1 file changed, 93 insertions(+), 12 deletions(-)