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 v1 0/2] media: i2c: Add support for GT97xx VCM Date: Sat, 20 Apr 2024 09:18:38 +0800 [thread overview] Message-ID: <20240420011840.23148-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: v0: https://lore.kernel.org/all/20240410104002.1197-1-zhi.mao@mediatek.com/ This series is based on linux-next, tag: next-20240419 Changes in v1: - dts-binding files: -- remove "aac-mode/aac-timing/clock-presc" control information -- remove words:"drivers" in commit message, as bindings are for hardware -- use compatible filename for YAML -- remove some uselss comments, as they are clear from the compatibles -- use "camera-lens" as node-name - gt97xx vcm driver: -- use BIT(x) method to define some MACROs -- remove "aac-mode/aac-timing/clock-presc" control and use the default settings -- fix duplicate "return" case in function:power_on()/power_off() -- use API:device_get_match_data() and dev_err_probe() in function:probe() -- fix some coding style of comments Thanks Zhi Mao (2): media: dt-bindings: i2c: add Giantec GT97xx VCM driver media: i2c: Add GT97xx VCM driver .../bindings/media/i2c/giantec,gt9769.yaml | 56 +++ drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/gt97xx.c | 436 ++++++++++++++++++ 4 files changed, 506 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/giantec,gt9769.yaml create mode 100644 drivers/media/i2c/gt97xx.c -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
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 v1 0/2] media: i2c: Add support for GT97xx VCM Date: Sat, 20 Apr 2024 09:18:38 +0800 [thread overview] Message-ID: <20240420011840.23148-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: v0: https://lore.kernel.org/all/20240410104002.1197-1-zhi.mao@mediatek.com/ This series is based on linux-next, tag: next-20240419 Changes in v1: - dts-binding files: -- remove "aac-mode/aac-timing/clock-presc" control information -- remove words:"drivers" in commit message, as bindings are for hardware -- use compatible filename for YAML -- remove some uselss comments, as they are clear from the compatibles -- use "camera-lens" as node-name - gt97xx vcm driver: -- use BIT(x) method to define some MACROs -- remove "aac-mode/aac-timing/clock-presc" control and use the default settings -- fix duplicate "return" case in function:power_on()/power_off() -- use API:device_get_match_data() and dev_err_probe() in function:probe() -- fix some coding style of comments Thanks Zhi Mao (2): media: dt-bindings: i2c: add Giantec GT97xx VCM driver media: i2c: Add GT97xx VCM driver .../bindings/media/i2c/giantec,gt9769.yaml | 56 +++ drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/gt97xx.c | 436 ++++++++++++++++++ 4 files changed, 506 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/giantec,gt9769.yaml create mode 100644 drivers/media/i2c/gt97xx.c -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2024-04-20 1:19 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-04-20 1:18 Zhi Mao [this message] 2024-04-20 1:18 ` [PATCH v1 0/2] media: i2c: Add support for GT97xx VCM Zhi Mao 2024-04-20 1:18 ` [PATCH v1 1/2] media: dt-bindings: i2c: add Giantec " Zhi Mao 2024-04-20 1:18 ` Zhi Mao 2024-04-20 11:21 ` Krzysztof Kozlowski 2024-04-20 11:21 ` Krzysztof Kozlowski 2024-04-20 12:53 ` Kieran Bingham 2024-04-20 12:53 ` Kieran Bingham 2024-04-21 11:35 ` Kieran Bingham 2024-04-21 11:35 ` Kieran Bingham 2024-04-21 14:00 ` Krzysztof Kozlowski 2024-04-21 14:00 ` Krzysztof Kozlowski 2024-04-22 1:49 ` Zhi Mao (毛智) 2024-04-22 1:49 ` Zhi Mao (毛智) 2024-04-22 3:18 ` Krzysztof Kozlowski 2024-04-22 3:18 ` Krzysztof Kozlowski 2024-04-22 3:26 ` Krzysztof Kozlowski 2024-04-22 3:26 ` Krzysztof Kozlowski 2024-04-20 1:18 ` [PATCH v1 2/2] media: i2c: Add GT97xx VCM driver Zhi Mao 2024-04-20 1:18 ` 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=20240420011840.23148-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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.