public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] media: imx258: Remove rotation=<80 requirement
@ 2023-01-17 10:06 Jacopo Mondi
  2023-01-17 10:06 ` [PATCH 1/3] media: imx258: Parse and register properties Jacopo Mondi
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Jacopo Mondi @ 2023-01-17 10:06 UTC (permalink / raw)
  To: Robert Mader, Sakari Ailus, Dave Stevenson, Laurent Pinchart
  Cc: Jacopo Mondi, linux-media

Currently the imx258 driver requires to have the 'rotation' device node
property specified in DTS with a fixed value of 180 degrees.

The "rotation" fwnode device property is intended to allow specify the
sensor's physical mounting rotation, so that it can be exposed through
the read-only V4L2_CID_CAMERA_SENSOR_ROTATION control and applications
can decide how to compensate for that.

The imx258 driver has read-only VFLIP and HFLIP enabled, resulting in
a 180 degrees image rotation being produced by the sensor. But this
doesn't imply that the physical mounting rotation should match the
driver's implementation.

I took into the series Robert's patch that register device node properties and
on top of that register flips controls, in order to remove the hard requirement
of the 180 degrees rotation property presence.

Jacopo Mondi (2):
  media: imx258: Register H/V flip controls
  media: imx258: Remove mandatory 180 degrees rotation

Robert Mader (1):
  media: imx258: Parse and register properties

 drivers/media/i2c/imx258.c | 33 ++++++++++++++++++++++++---------
 1 file changed, 24 insertions(+), 9 deletions(-)

--
2.39.0


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

end of thread, other threads:[~2023-03-22 12:32 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-17 10:06 [PATCH 0/3] media: imx258: Remove rotation=<80 requirement Jacopo Mondi
2023-01-17 10:06 ` [PATCH 1/3] media: imx258: Parse and register properties Jacopo Mondi
2023-01-25 12:35   ` Laurent Pinchart
2023-01-17 10:06 ` [PATCH 2/3] media: imx258: Register H/V flip controls Jacopo Mondi
2023-01-17 10:17   ` Sakari Ailus
2023-01-17 10:28     ` Jacopo Mondi
2023-01-25 12:49       ` Laurent Pinchart
2023-01-17 10:06 ` [PATCH 3/3] media: imx258: Remove mandatory 180 degrees rotation Jacopo Mondi
2023-01-25 12:39   ` Laurent Pinchart
2023-01-26 14:52 ` [PATCH 0/3] media: imx258: Remove rotation=<80 requirement Sakari Ailus
2023-01-26 15:48   ` Dave Stevenson
2023-01-26 16:01     ` Laurent Pinchart
2023-01-26 16:13       ` Dave Stevenson
2023-01-26 16:02     ` Sakari Ailus
2023-01-26 16:44       ` Dave Stevenson
2023-01-26 17:31       ` Jacopo Mondi
2023-01-26 17:58         ` Dave Stevenson
2023-01-26 20:03           ` Jacopo Mondi
2023-01-27 11:08             ` Dave Stevenson
2023-02-27 17:11 ` Jacopo Mondi
2023-02-27 22:09   ` Sakari Ailus
2023-03-17  9:32     ` Robert Mader
2023-03-22 12:27     ` Jacopo Mondi
2023-03-22 12:30       ` Sakari Ailus
2023-03-22 12:32         ` Jacopo Mondi

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