| From: |
| Jai Luthra <jai.luthra-AT-ideasonboard.com> |
| To: |
| Kieran Bingham <kieran.bingham-AT-ideasonboard.com>, Sakari Ailus <sakari.ailus-AT-linux.intel.com>, Mauro Carvalho Chehab <mchehab-AT-kernel.org> |
| Subject: |
| [PATCH v3 0/8] media: imx335: Vflip, active state and binning support |
| Date: |
| Mon, 15 Sep 2025 12:09:06 +0530 |
| Message-ID: |
| <20250915-imx335_binning-v3-0-16ecabf2090d@ideasonboard.com> |
| Cc: |
| linux-media-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Tommaso Merciai <tomm.merciai-AT-gmail.com> |
| Archive-link: |
| Article |
Hi,
This series adds support for 2x2 binning mode for Sony IMX335, along
with some improvements like using subdev active state, using
{enable,disable}_streams APIs and fixing the native pixel array width to
match the datasheet.
These changes are done on top of a couple of already reviewed patches
from Umang's series from last year that added support for vertical flip [1]
[1]: https://lore.kernel.org/all/20240830062639.72947-1-umang....
There is some WIP to make the resolution freely configurable:
- [x] Add support for a cropped mode (1944x1100)
- [ ] Fix exposure timing limits when cropping
- [ ] Add support for a cropped binned mode
- [ ] Make it freely configurable (depends on new control for binning)
Available in the branch here:
https://github.com/jailuthra/linux/commits/imx335_binning
Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
---
Changes in v3:
- Drop extra commas in reglist
- Fix checkpatch check for wrong indentation in disable_streams
- Add Kieran's R-by tags
- Link to v2: https://lore.kernel.org/r/20250911-imx335_binning-v2-0-30...
Changes in v2:
- Split runtime PM re-ordering from the patch introducing state support
- Use v4l2_rect instead of macros for sensor native and crop sizes
- Add new patch to introduce enable/disable streams API support with
s_stream fallback helper
- Link to v1: https://lore.kernel.org/r/20250813-imx335_binning-v1-0-a4...
---
Jai Luthra (6):
media: imx335: Update the native pixel array width
media: imx335: Update HBLANK range on mode change
media: imx335: Handle runtime PM in leaf functions
media: imx355: Use subdev active state
media: imx335: Support 2x2 binning
media: imx335: Switch to {enable,disable}_streams
Umang Jain (2):
media: imx335: Rectify name of mode struct
media: imx335: Support vertical flip
drivers/media/i2c/imx335.c | 516 ++++++++++++++++++++++++++++++---------------
1 file changed, 347 insertions(+), 169 deletions(-)
---
base-commit: 0e2ee70291e64a30fe36960c85294726d34a103e
change-id: 20250606-imx335_binning-d43dce921b0a
Best regards,
--
Jai Luthra <jai.luthra@ideasonboard.com>