public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] media: Sony IMX335 improvements
@ 2023-11-01 13:13 Kieran Bingham
  2023-11-01 13:13 ` [PATCH v2 1/6] media: dt-bindings: media: imx335: Add supply bindings Kieran Bingham
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Kieran Bingham @ 2023-11-01 13:13 UTC (permalink / raw)
  To: devicetree, linux-media; +Cc: Kieran Bingham

The Sony IMX335 is not yet compatible with libcamera, as it is missing
the get selection API call.

It also misses a way to describe how to power on the sensor.

Now that I've got this camera functioning on Debix-SOM and Pi5, I expect
to be able to do quite a bit more cleanup to the code here. But these
patches should already be valid for consideration.

The series provides the bindings required to reference the power
supplies, and then performs some initial clean up to the driver for
error reporting before adding the regulator enablement, implementing the
get_selection api (as well as set selection, which returns the static
configuration) and restricts the hblanking to match the configuration.

v2:
 - Supplies are no longer 'required'
 - media: i2c: imx335: Fix logging line endings - New patch
 - line endings are fixed
 - error paths are handled for the regulator in imx335_power_on
 - set_selection is defined alongside get_selection


Kieran Bingham (6):
  media: dt-bindings: media: imx335: Add supply bindings
  media: i2c: imx335: Fix logging line endings
  media: i2c: imx335: Improve configuration error reporting
  media: i2c: imx335: Enable regulator supplies
  media: i2c: imx335: Implement get selection API
  media: i2c: imx335: Fix hblank min/max values

 .../bindings/media/i2c/sony,imx335.yaml       |  13 ++
 drivers/media/i2c/imx335.c                    | 135 ++++++++++++++----
 2 files changed, 122 insertions(+), 26 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-11-01 15:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-01 13:13 [PATCH v2 0/6] media: Sony IMX335 improvements Kieran Bingham
2023-11-01 13:13 ` [PATCH v2 1/6] media: dt-bindings: media: imx335: Add supply bindings Kieran Bingham
2023-11-01 14:57   ` Conor Dooley
2023-11-01 15:08     ` Kieran Bingham
2023-11-01 13:13 ` [PATCH v2 2/6] media: i2c: imx335: Fix logging line endings Kieran Bingham
2023-11-01 13:13 ` [PATCH v2 3/6] media: i2c: imx335: Improve configuration error reporting Kieran Bingham
2023-11-01 13:13 ` [PATCH v2 4/6] media: i2c: imx335: Enable regulator supplies Kieran Bingham
2023-11-01 13:33   ` Sakari Ailus
2023-11-01 13:13 ` [PATCH v2 5/6] media: i2c: imx335: Implement get selection API Kieran Bingham
2023-11-01 13:13 ` [PATCH v2 6/6] media: i2c: imx335: Fix hblank min/max values Kieran Bingham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox