[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221209143741.214242-1-y.oudjana@protonmail.com>
Date: Fri, 9 Dec 2022 17:37:38 +0300
From: Yassine Oudjana <yassine.oudjana@...il.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Tianshu Qiu <tian.shu.qiu@...el.com>,
Bingbu Cao <bingbu.cao@...el.com>
Cc: Yassine Oudjana <y.oudjana@...tonmail.com>,
Yassine Oudjana <yassine.oudjana@...il.com>,
Jacopo Mondi <jacopo@...ndi.org>,
Lee Jackson <info@...ucam.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Umang Jain <umang.jain@...asonboard.com>,
linux-media@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/3] media: i2c: ak7375: Add regulator management
From: Yassine Oudjana <y.oudjana@...tonmail.com>
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
Powered by blists - more mailing lists