devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] ov08x40: Enable use of ov08x40 on Qualcomm X1E80100 CRD
@ 2024-10-02 13:58 Bryan O'Donoghue
  2024-10-02 13:58 ` [PATCH v3 1/4] media: ov08x40: Fix burst write sequence Bryan O'Donoghue
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Bryan O'Donoghue @ 2024-10-02 13:58 UTC (permalink / raw)
  To: Sakari Ailus, Jason Chen, Mauro Carvalho Chehab,
	Sergey Senozhatsky, Hans Verkuil, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-media, linux-kernel, devicetree, Bryan O'Donoghue,
	stable

Changes in v3:
- Drops assigned-clock-* from description retains in example - Sakari,
  Krzysztof
- Updates example fake clock names to ov08x40_* instead of copy/paste
  ov9282_clk -> ov08x40_clk, ov9282_clk_parent -> ov08x40_clk_parent - bod
- Link to v2: https://lore.kernel.org/r/20241001-b4-master-24-11-25-ov08x40-v2-0-e478976b20c1@linaro.org

Changes in v2:
- Drops "-" in ovti,ov08x40.yaml after description: - Rob
- Adds ":" after first line of description text - Rob
- dts -> DT in commit log - Rob
- Removes dependency on 'xvclk' as a name in yaml
  and driver - Sakari
- Uses assigned-clock, assigned-clock-parents and assigned-clock-rates -
  Sakari
- Drops clock-frequency - Sakarai, Krzysztof
- Drops dovdd-supply, avdd-supply, dvdd-supply and reset-gpios
  as required, its perfectly possible not to have the reset GPIO or the
  power rails under control of the SoC. - bod

- Link to v1: https://lore.kernel.org/r/20240926-b4-master-24-11-25-ov08x40-v1-0-e4d5fbd3b58a@linaro.org

V1:
This series brings fixes and updates to ov08x40 which allows for use of
this sensor on the Qualcomm x1e80100 CRD but also on any other dts based
system.

Firstly there's a fix for the pseudo burst mode code that was added in
8f667d202384 ("media: ov08x40: Reduce start streaming time"). Not every I2C
controller can handle an arbitrary sized write, this is the case on
Qualcomm CAMSS/CCI I2C sensor interfaces which limit the transaction size
and communicate this limit via I2C quirks. A simple fix to optionally break
up the large submitted burst into chunks not exceeding adapter->quirk size
fixes.

Secondly then is addition of a yaml description for the ov08x40 and
extension of the driver to support OF probe and powering on of the power
rails from the driver instead of from ACPI.

Once done the sensor works without further modification on the Qualcomm
x1e80100 CRD.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
Bryan O'Donoghue (4):
      media: ov08x40: Fix burst write sequence
      media: dt-bindings: Add OmniVision OV08X40
      media: ov08x40: Rename ext_clk to xvclk
      media: ov08x40: Add OF probe support

 .../bindings/media/i2c/ovti,ov08x40.yaml           | 116 +++++++++++++
 drivers/media/i2c/ov08x40.c                        | 179 ++++++++++++++++++---
 2 files changed, 272 insertions(+), 23 deletions(-)
---
base-commit: 2b7275670032a98cba266bd1b8905f755b3e650f
change-id: 20240926-b4-master-24-11-25-ov08x40-c6f477aaa6a4

Best regards,
-- 
Bryan O'Donoghue <bryan.odonoghue@linaro.org>


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

end of thread, other threads:[~2024-10-03 12:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 13:58 [PATCH v3 0/4] ov08x40: Enable use of ov08x40 on Qualcomm X1E80100 CRD Bryan O'Donoghue
2024-10-02 13:58 ` [PATCH v3 1/4] media: ov08x40: Fix burst write sequence Bryan O'Donoghue
2024-10-02 13:58 ` [PATCH v3 2/4] media: dt-bindings: Add OmniVision OV08X40 Bryan O'Donoghue
2024-10-03  8:29   ` Krzysztof Kozlowski
2024-10-03  8:33     ` Bryan O'Donoghue
2024-10-03  8:36       ` Krzysztof Kozlowski
2024-10-03  8:38       ` Bryan O'Donoghue
2024-10-03 10:17         ` Krzysztof Kozlowski
2024-10-03 11:54           ` Bryan O'Donoghue
2024-10-03 12:17             ` Sakari Ailus
2024-10-03 12:31               ` Krzysztof Kozlowski
2024-10-03 12:40                 ` Bryan O'Donoghue
2024-10-03 12:47                   ` Sakari Ailus
2024-10-03 12:48                     ` Bryan O'Donoghue
2024-10-03 12:46                 ` Sakari Ailus
2024-10-02 13:58 ` [PATCH v3 3/4] media: ov08x40: Rename ext_clk to xvclk Bryan O'Donoghue
2024-10-02 13:58 ` [PATCH v3 4/4] media: ov08x40: Add OF probe support Bryan O'Donoghue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).