The IMX290 comes in both mono and colour variants, but has no runtime way
of determining which is connected.
These patches adds support for either option.
Changes from v1:
- Renamed compatible from "sony,imx290-mono" to "sony,imx290llr" which is the
actual model number for the mono sensor.
- Added an additional sony,imx290lqr as a synonym for the existing colour
"sony,imx290".
- Broken description into paragraphs.
- Reworked the driver to take a struct for each compatible, rather than just
the mono/colour status.
Dave Stevenson (2):
media: dt-bindings: media: i2c: Add mono version to IMX290 bindings
media: i2c: imx290: Add support for the mono sensor variant.
.../bindings/media/i2c/sony,imx290.yaml | 16 +++-
drivers/media/i2c/imx290.c | 81 +++++++++++++++----
2 files changed, 76 insertions(+), 21 deletions(-)
--
2.34.1