[PATCH v6 0/3] IMX274 fixes and power on and off implementation

From: Sowjanya Komatineni
Date: Mon Sep 21 2020 - 17:39:53 EST


This patch series includes
- Fix for proper Y_OUT_SIZE register configuration.
- Remove sensor i2c register writes to stop stream during remove.
- Power on/off sequence implementation through runtime PM.

Delta between patch versions:
[v6]: Includes below v5 feedback
- Added separate small patch to remove i2c writes to stop sensor
during remove.
- Removed dt-binding patch from this series as they are posted by
Jacob.
https://www.spinics.net/lists/linux-renesas-soc/msg52831.html
- Uses udelay for 2uS delay after regulators are on before
releasing reset.
- Moved v4l2_ctrl_handler setup to do during start streaming to
configure user controls when sensor power is on during streaming.
- Other minor changes based on v5 feedback.

[v5]: Includes below v4 feedback
- dt-bindings patch to add optional clock and supplies and
rebased on below json-schema patch.
https://patchwork.kernel.org/patch/11732875/
- Other minor v4 feedbacks.

[v4]: Includes below v3 feedback
- Implemented power on/off through Runtime PM.
- Use regulator bulk APIs.
- Use lower case for supply names.

[v3]: Includes below v2 feedback
- Removed explicit clk_set_rate from driver as default external
input clock rate can be configured through DT.

[v2]: Includes below changes based on v1 feedback
- External input clock name changed from xclk to inck.
- implementation change for get regulators to store all in array.
- To keep in reset low prior to regulators power on.


Sowjanya Komatineni (3):
media: i2c: imx274: Fix Y_OUT_SIZE register setting
media: i2c: imx274: Remove stop stream i2c writes during remove
media: i2c: imx274: Add IMX274 power on and off sequence

drivers/media/i2c/imx274.c | 187 ++++++++++++++++++++++++++++++++-------------
1 file changed, 134 insertions(+), 53 deletions(-)

--
2.7.4