  drivers/media/platform/soc_camera/soc_mediabus.c   |   16 +
  include/media/drv-intf/soc_mediabus.h              |    3 +
  include/media/soc_camera.h                         |    1 +
- 16 files changed, 3754 insertions(+), 97 deletions(-)
+ 16 files changed, 3751 insertions(+), 97 deletions(-)
  create mode 100644 drivers/media/i2c/soc_camera/max9271_ov10635.c
  create mode 100644 drivers/media/i2c/soc_camera/max9271_ov10635.h
  create mode 100644 drivers/media/i2c/soc_camera/max9271_ov106xx.c

+		/* Check if already initialized (after reboot/reset ?) */
+		client->addr = priv->max9271_addr_map[idx];		/* MAX9271-CAMx I2C */
+		maxim_reg8_read(client, 0x1e, &val);			/* read max9271 ID */
+		if (val == MAX9271_ID)
+			break;
+	}
+
+	if (!timeout) {
+		dev_info(&client->dev, "link%d max9271 at 0x%x not found: timeout GMSL link establish\n",
+				       idx, priv->max9271_addr_map[idx]);
+		return -ENODEV;
+	}
+
+	dev_info(&client->dev, "link%d MAX9271 at 0x%x\n", idx, priv->max9271_addr_map[idx]);
+
+	return 0;
+}
+
+static void max9286_max9271_initial_setup(struct i2c_client *client)

From aba07cf4de708da1aff90b26184b13e72683eee4 Mon Sep 17 00:00:00 2001
From: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Date: Wed, 4 Jan 2017 15:31:41 +0300
Subject: [PATCH] H3 Maxim MAX9286 support: support 10635/10640 cameras

H3 Maxim MAX9286 support: support 10635/10640 cameras on YoctoV2120
