From: Alexander Smirnov <asmirnou@pinefeat.co.uk>
To: mchehab@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org
Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org,
Aliaksandr Smirnou <support@pinefeat.co.uk>
Subject: [PATCH v2 0/2] Pinefeat cef168 lens control board driver
Date: Mon, 11 Aug 2025 22:31:00 +0100 [thread overview]
Message-ID: <20250811213102.15703-1-aliaksandr.smirnou@gmail.com> (raw)
From: Aliaksandr Smirnou <support@pinefeat.co.uk>
This patch series adds support for the Pinefeat adapter, which interfaces
Canon EF and EF-S lenses to non-Canon camera bodies. The cef168 circuit
control board provides an I2C interface for electronic focus and aperture
control. The driver integrates with the V4L2 sub-device API.
For more information about the product, see:
https://github.com/pinefeat/cef168
There are no regulators on the board. The MCU is powered by 3.3V, which is
supplied either through the CSI connector or the serial connector directly
from the Raspberry Pi GPIO power pins. Hence, the driver lacks any regulator
handling. Please let me know if regulator support is still needed.
Changes in v2:
in [PATCH 1/2] addressed review comments:
- added optional vcc-supply property and example
- made node name generic in the example
- removed tree type and location from maintainers entry
in [PATCH 2/2] addressed review comments:
- wrapped devm_kzalloc line according to coding style
- removed oddly formed i2c_device_id struct as not required
- formatted of_device_id struct according to coding style
Link to v1: https://lore.kernel.org/all/20250810192609.11966-1-support@pinefeat.co.uk/
Patches:
dt-bindings: Pinefeat cef168 lens control board
media/i2c: Pinefeat cef168 lens control board driver
.../bindings/media/i2c/pinefeat,cef168.yaml | 52 +++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 8 +
drivers/media/i2c/Kconfig | 8 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/cef168.c | 337 ++++++++++++++++++
drivers/media/i2c/cef168.h | 51 +++
7 files changed, 459 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/pinefeat,cef168.yaml
create mode 100644 drivers/media/i2c/cef168.c
create mode 100644 drivers/media/i2c/cef168.h
base-commit: 2b38afce25c4e1b8f943ff4f0a2b51d6c40f2ed2
--
2.34.1
next reply other threads:[~2025-08-11 21:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 21:31 Alexander Smirnov [this message]
2025-08-11 21:31 ` [PATCH v2 1/2] dt-bindings: Pinefeat cef168 lens control board Alexander Smirnov
2025-08-12 7:13 ` Krzysztof Kozlowski
2025-08-12 19:37 ` Aliaksandr Smirnou
2025-08-14 9:04 ` Krzysztof Kozlowski
2025-08-14 20:10 ` Aliaksandr Smirnou
2025-08-17 7:14 ` Krzysztof Kozlowski
2025-08-14 9:00 ` Krzysztof Kozlowski
2025-08-11 21:31 ` [PATCH v2 2/2] media/i2c: Pinefeat cef168 lens control board driver Alexander Smirnov
2025-08-13 1:28 ` kernel test robot
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=20250811213102.15703-1-aliaksandr.smirnou@gmail.com \
--to=asmirnou@pinefeat.co.uk \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=support@pinefeat.co.uk \
/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
all inboxes | Powered by JetHome®