Skip to contentSkip to conversation

*** New MIRA220 image sensor driver ***

PATCH Superseded philippe baetens 1 participant 2 messages Jun 11, 2025 Media (V4L/DVB)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover *** New MIRA220 image sensor driver ***

Hi Folks,

I've recently created a driver for the ams-osram mira220 image sensor. This is already merged and tested specifically for the raspberrypi/linux kernel.
Now I want to upstream my driver to the mainline linux. This is my first patch - so be gentle :)
Feedback is appreciated.

philippe baetens (1):
media/i2c: Add driver for ams Mira220

 drivers/media/i2c/Kconfig   |   14 +
 drivers/media/i2c/Makefile  |    1 +
 drivers/media/i2c/mira220.c | 1998 +++++++++++++++++++++++++++++++++++
 3 files changed, 2013 insertions(+)
 create mode 100644 drivers/media/i2c/mira220.c
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/1 media/i2c: Add driver for ams Mira220

Adds a driver for the NIR-enhanced Mira220 1600x1400 global shutter image sensor.

---
 drivers/media/i2c/Kconfig   |   14 +
 drivers/media/i2c/Makefile  |    1 +
 drivers/media/i2c/mira220.c | 1998 +++++++++++++++++++++++++++++++++++
 3 files changed, 2013 insertions(+)
 create mode 100644 drivers/media/i2c/mira220.c
drivers/media/i2c/Kconfig +14 -0
index e68202954a8f..4fb5cd3ed5df 100644
@@ -269,6 +269,20 @@ config VIDEO_IMX415
 config VIDEO_MAX9271_LIB
 	tristate
 
+config VIDEO_MIRA220
+	tristate "ams MIRA220 sensor support"
+	depends on I2C && VIDEO_DEV
+	select MEDIA_CONTROLLER
+	select VIDEO_V4L2_SUBDEV_API
+	select V4L2_CCI_I2C
+	select V4L2_FWNODE
+	help
+	  This is a Video4Linux2 sensor driver for the ams
+	  MIRA220 camera.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called mira220.
+
 config VIDEO_MT9M001
 	tristate "mt9m001 support"
 	help
drivers/media/i2c/Makefile +1 -0
index 5873d29433ee..1d169cd0d15a 100644
@@ -70,6 +70,7 @@ obj-$(CONFIG_VIDEO_MAX9271_LIB) += max9271.o
 obj-$(CONFIG_VIDEO_MAX9286) += max9286.o
 obj-$(CONFIG_VIDEO_MAX96714) += max96714.o
 obj-$(CONFIG_VIDEO_MAX96717) += max96717.o
+obj-$(CONFIG_VIDEO_MIRA220)	+= mira220.o
 obj-$(CONFIG_VIDEO_ML86V7667) += ml86v7667.o
 obj-$(CONFIG_VIDEO_MSP3400) += msp3400.o
 obj-$(CONFIG_VIDEO_MT9M001) += mt9m001.o
drivers/media/i2c/mira220.c new file +1998 -0

1,998 lines not on this page · raw message

Signature · 1 line
2.34.1