Re: [PATCH v2 2/3] media: rockchip: add driver for the rockchip mipi csi-2 receiver

From: Michael Riesch

Date: Tue Nov 18 2025 - 13:59:17 EST


Hi Frank,

On 11/18/25 18:15, Frank Li wrote:
> On Tue, Nov 18, 2025 at 12:12:26PM +0100, Michael Riesch via B4 Relay wrote:
>> From: Michael Riesch <michael.riesch@xxxxxxxxxxxxx>
>>
>>[...]
>> +#define CSI2HOST_N_LANES 0x04
>> +#define CSI2HOST_CSI2_RESETN 0x10
>> +#define CSI2HOST_PHY_STATE 0x14
>> +#define CSI2HOST_ERR1 0x20
>> +#define CSI2HOST_ERR2 0x24
>> +#define CSI2HOST_MSK1 0x28
>> +#define CSI2HOST_MSK2 0x2c
>> +#define CSI2HOST_CONTROL 0x40
>
> Look like that is designware CSI2 controller, can we build common library
> for all dwc csi2 controller, instead of every vendor create individual one.
>
> First try at
> https://lore.kernel.org/linux-media/20250821-95_cam-v3-21-c9286fbb34b9@xxxxxxx/
>
> Toshiba have similar patch
> https://lore.kernel.org/linux-media/aPZd39riAxqfw3mT@lizhi-Precision-Tower-5810/
>
> Frank

This has been discussed already a while ago:
https://lore.kernel.org/all/20250507083837.GA11152@xxxxxxxxxxxxxxxxxxxxxxxxxx/

Bottom line from Laurent:

"Let's keep this driver Rockchip-specific then. Thanks for checking."

> [...]
Best regards,
Michael