From: Zhi Mao <zhi.mao@mediatek.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Zhi Mao <zhi.mao@mediatek.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
Heiko Stuebner <heiko@sntech.de>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Hans de Goede <hdegoede@redhat.com>,
"Tomi Valkeinen" <tomi.valkeinen@ideasonboard.com>,
Alain Volmat <alain.volmat@foss.st.com>,
Paul Elder <paul.elder@ideasonboard.com>,
"Mehdi Djait" <mehdi.djait@bootlin.com>,
Andy Shevchenko <andy.shevchenko@gmail.com>,
Bingbu Cao <bingbu.cao@intel.com>, <linux-media@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>,
<shengnan.wang@mediatek.com>, <yaya.chang@mediatek.com>,
<yunkec@chromium.org>, <10572168@qq.com>
Subject: [PATCH v2 0/2] media: i2c: Add support for GT97xx VCM
Date: Sat, 27 Apr 2024 09:26:11 +0800 [thread overview]
Message-ID: <20240427012613.6621-1-zhi.mao@mediatek.com> (raw)
This series add YAML DT binding and V4L2 sub-device driver for Giantec's GT9768>9769.
GT9768>9769 is a 10-bit DAC with 100mA output current sink capability, designed
for voice coil motor(VCM) with I2C control bus.
This driver supports:
- support pm runtime function for suspend/resume
- support camera lens focus position by V4L2_CID_FOCUS_ABSOLUTE CMD
- used in camera features on ChromeOS application
Previous versions of this patch-set can be found here:
v1: https://lore.kernel.org/all/20240420011840.23148-1-zhi.mao@mediatek.com/
v0: https://lore.kernel.org/all/20240410104002.1197-1-zhi.mao@mediatek.com/
This series is based on linux-next, tag: next-20240424
Changes in v2:
- dts-binding files:
-- remove "|-" after description node, and remove a blank line
Thanks
Zhi Mao (2):
media: dt-bindings: i2c: add Giantec GT97xx VCM
media: i2c: Add GT97xx VCM driver
.../bindings/media/i2c/giantec,gt9769.yaml | 55 +++
drivers/media/i2c/Kconfig | 13 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/gt97xx.c | 436 ++++++++++++++++++
4 files changed, 505 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/giantec,gt9769.yaml
create mode 100644 drivers/media/i2c/gt97xx.c
--
2.25.1
next reply other threads:[~2024-04-27 1:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-27 1:26 Zhi Mao [this message]
2024-04-27 1:26 ` [PATCH v2 1/2] media: dt-bindings: i2c: add Giantec GT97xx VCM Zhi Mao
2024-04-27 1:26 ` [PATCH v2 2/2] media: i2c: Add GT97xx VCM driver Zhi Mao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240427012613.6621-1-zhi.mao@mediatek.com \
--to=zhi.mao@mediatek.com \
--cc=10572168@qq.com \
--cc=alain.volmat@foss.st.com \
--cc=andy.shevchenko@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bingbu.cao@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hdegoede@redhat.com \
--cc=heiko@sntech.de \
--cc=hverkuil-cisco@xs4all.nl \
--cc=krzk+dt@kernel.org \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@kernel.org \
--cc=mehdi.djait@bootlin.com \
--cc=p.zabel@pengutronix.de \
--cc=paul.elder@ideasonboard.com \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=shengnan.wang@mediatek.com \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=yaya.chang@mediatek.com \
--cc=yunkec@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).