summaryrefslogtreecommitdiffstats
path: root/bsp/meta-rcar/meta-rcar-gen3-adas/recipes-bsp/u-boot/u-boot/0005-i2c-rcar_i2c-Add-R-Car-Gen3-support.patch
blob: 0c0f1d03c4122e192bf79747cbb364487ed8924c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 463b29fd4fe1602e4b381a45c7d2a8d6bc01d0d3 Mon Sep 17 00:00:00 2001
From: Valentine Barshak <valentine.barshak@cogentembedded.com>
Date: Thu, 8 Aug 2019 00:39:29 +0300
Subject: [PATCH 05/23] i2c: rcar_i2c: Add R-Car Gen3 support

This adds "renesas,rcar-gen3-i2c" string
to the list of compatible i2c device ids.

Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
---
 drivers/i2c/rcar_i2c.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/i2c/rcar_i2c.c b/drivers/i2c/rcar_i2c.c
index 0f0fa24..6f78d88 100644
--- a/drivers/i2c/rcar_i2c.c
+++ b/drivers/i2c/rcar_i2c.c
@@ -340,6 +340,7 @@ static const struct dm_i2c_ops rcar_i2c_ops = {
 
 static const struct udevice_id rcar_i2c_ids[] = {
 	{ .compatible = "renesas,rcar-gen2-i2c" },
+	{ .compatible = "renesas,rcar-gen3-i2c" },
 	{ }
 };
 
-- 
2.7.4