2022-12-09 14:51:05

by Yassine Oudjana

[permalink] [raw]
Subject: [PATCH v3 0/3] media: i2c: ak7375: Add regulator management

From: Yassine Oudjana <[email protected]>

This series adds needed regulator management for the AK7375 VCM.
A DT schema conversion is made before adding new properties.

Changes since v2:
- Increase delay to 10000 microseconds to match the AK7371 datasheet
and because 3000 can be unstable sometimes.
- Use dev_err_probe to report regulator parsing failure.
- Remove AK7375_NUM_SUPPLIES macro.
- Use unsigned int to index supply name array.

Changes since v1:
- Add vendor prefix to DT binding doc file name
- Reorganize variable declaration
- Change the power-on delay range to 3000-3500 microseconds.

Yassine Oudjana (3):
media: dt-bindings: ak7375: Convert to DT schema
media: dt-bindings: ak7375: Add supplies
media: i2c: ak7375: Add regulator management

.../devicetree/bindings/media/i2c/ak7375.txt | 8 ---
.../media/i2c/asahi-kasei,ak7375.yaml | 52 +++++++++++++++++++
MAINTAINERS | 2 +-
drivers/media/i2c/ak7375.c | 38 ++++++++++++++
4 files changed, 91 insertions(+), 9 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/media/i2c/ak7375.txt
create mode 100644 Documentation/devicetree/bindings/media/i2c/asahi-kasei,ak7375.yaml

--
2.38.1