Skip to content

media: hi556: Add reset / clk / regulator support

Hans de Goede linux-media 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v1 posting 2/24 patches 1 replySuperseded
  3. v1 posting 1/24 patches 2 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4media: hi556: Return -EPROBE_DEFER if no endpoint is founddrivers/media/i2c/hi556.c+12 -110 replies
2/4media: hi556: Add support for reset GPIOdrivers/media/i2c/hi556.c+44 -10 replies
3/4media: hi556: Add support for external clockdrivers/media/i2c/hi556.c+13 -00 replies
4/4media: hi556: Add support for avdd regulatordrivers/media/i2c/hi556.c+24 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] media: hi556: Add reset / clk / regulator support

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(-)
Signature · 1 line
2.44.0