Hello, this patch series introduces support for the RDACM20 and RDACM21 camera modules. Both cameras use a Maxim MAX9271 serializer, and the associated driver is here proposed as a library module in order to maximize code use from the camera module drivers. RDACM20 support has been proposed several times already, associated with MAX9286 support (hence the v7 in the patch series). RDACM21 is a new addition, whose support required several changes in the rdacm20 driver compared to its v6, particularly the split of max9271 handling to a library module and reworking of DT bindings description to support both sensors. In order to capture from RDACM21 driver a few changes on the deserializer side are required. All changes to the max9286 driver are based on the most recently sent v7 from Kieran. Particularly change 1/6 disables overlap window interval calculation, which help achieving frame synchronization with RDACM21. The change is not disruptive for RDACM20 and could be considered for inclusion. Patches 4/6 and 5/6 instead modify the max9286 behavior to better support communication with RDACM21, but interfere with RDACM20 operations, making the deserializer driver not usable for both cameras. These two changes (4/5 in particular) are the only reasons why the patches have not yet been sent to linux-media for collection as we need to discuss how handle differences in the reverse channel setup configuration to support different camera modules. Finally, patch 6/6 introduces the new rdacm21 driver, based on the BSP version available at https://github.com/CogentEmbedded/meta-rcar/tree/v3.21.0/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas Testing has been performed by capturing from 2 RDACM20 cameras (reverting patche 4/6 and 5/6) and from 2 RDACM21 cameras on Eagle V3M. Changelog is reported per-patch if the patch, and a testing branch is available at git:://jmondi.org/linux #gmsl/jmondi/platform/rdacm21 Thanks j Jacopo Mondi (6): media: i2c: max9286: Disable overlap window dt-bindings: media: i2c: Add bindings for IMI RDACM2x media: i2c: Add driver for RDACM20 camera module media: i2c: max9286: Adjust reverse channel amplitude media: i2c: max9286: Adjust image format size media: i2c: Add driver for RDACM21 camera module .../bindings/media/i2c/imi,rdacm2x-gmsl.yaml | 161 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 24 + drivers/media/i2c/Kconfig | 22 + drivers/media/i2c/Makefile | 4 + drivers/media/i2c/max9271.c | 338 +++++++ drivers/media/i2c/max9271.h | 217 ++++ drivers/media/i2c/max9286.c | 18 +- drivers/media/i2c/rdacm20-ov10635.h | 953 ++++++++++++++++++ drivers/media/i2c/rdacm20.c | 398 ++++++++ drivers/media/i2c/rdacm21.c | 516 ++++++++++ 11 files changed, 2647 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/imi,rdacm2x-gmsl.yaml create mode 100644 drivers/media/i2c/max9271.c create mode 100644 drivers/media/i2c/max9271.h create mode 100644 drivers/media/i2c/rdacm20-ov10635.h create mode 100644 drivers/media/i2c/rdacm20.c create mode 100644 drivers/media/i2c/rdacm21.c -- 2.25.0