public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/8] media: Sony IMX335 improvements
@ 2023-12-08 15:07 Umang Jain
  2023-12-08 15:07 ` [PATCH v3 1/8] media: dt-bindings: media: imx335: Add supply bindings Umang Jain
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Umang Jain @ 2023-12-08 15:07 UTC (permalink / raw)
  To: devicetree, linux-media
  Cc: Paul J . Murphy, Daniele Alessandrelli, Sakari Ailus,
	Mauro Carvalho Chehab, Umang Jain

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.

v3:
 - Remove #define and use ARRAY_SIZE(imx335_supply_name) directly in 4/8
 - Add two new patches for 10-bit mode(7/8) and multiple link frequency
   support(8/8)

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

Umang Jain (2):
  media: i2c: imx335: Support 2592x1940 10-bit mode
  media: i2c: imx335: Support multiple link frequency

 .../bindings/media/i2c/sony,imx335.yaml       |  13 +
 drivers/media/i2c/imx335.c                    | 297 ++++++++++++++----
 2 files changed, 257 insertions(+), 53 deletions(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-12-09  0:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-08 15:07 [PATCH v3 0/8] media: Sony IMX335 improvements Umang Jain
2023-12-08 15:07 ` [PATCH v3 1/8] media: dt-bindings: media: imx335: Add supply bindings Umang Jain
2023-12-08 15:07 ` [PATCH v3 2/8] media: i2c: imx335: Fix logging line endings Umang Jain
2023-12-08 15:07 ` [PATCH v3 3/8] media: i2c: imx335: Improve configuration error reporting Umang Jain
2023-12-08 15:07 ` [PATCH v3 4/8] media: i2c: imx335: Enable regulator supplies Umang Jain
2023-12-08 15:07 ` [PATCH v3 5/8] media: i2c: imx335: Implement get selection API Umang Jain
2023-12-08 15:07 ` [PATCH v3 6/8] media: i2c: imx335: Fix hblank min/max values Umang Jain
2023-12-08 15:07 ` [PATCH v3 7/8] media: i2c: imx335: Support 2592x1940 10-bit mode Umang Jain
2023-12-09  0:50   ` kernel test robot
2023-12-08 15:07 ` [PATCH v3 8/8] media: i2c: imx335: Support multiple link frequency Umang Jain

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