aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-11-08 18:28:09 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2016-11-08 18:28:09 +0100
commitb3036a9d0d264f1958e68fbf99efbb8fb9bd9487 (patch)
tree0e22ae540b2797baa8aabb5f65a2563e7af594e2
parentabe0801504f08b6e178bbf07f594f93d233ae5a6 (diff)
Change DA9063 I2C address to 0x5A since we are using high-speed
interface Change-Id: I8b4031223a8e645c210ee7c86de8cd44913976cd Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
-rw-r--r--meta-rcar-gen2/recipes-bsp/u-boot/u-boot/0004-uboot-porter-board-support.patch4
-rw-r--r--meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0008-Porter-board-support.patch2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-rcar-gen2/recipes-bsp/u-boot/u-boot/0004-uboot-porter-board-support.patch b/meta-rcar-gen2/recipes-bsp/u-boot/u-boot/0004-uboot-porter-board-support.patch
index 846527b..0c48b09 100644
--- a/meta-rcar-gen2/recipes-bsp/u-boot/u-boot/0004-uboot-porter-board-support.patch
+++ b/meta-rcar-gen2/recipes-bsp/u-boot/u-boot/0004-uboot-porter-board-support.patch
@@ -403,9 +403,9 @@ index 0000000..e6ded08
+ u8 val;
+
+ i2c_init(CONFIG_SYS_I2C_SPEED, 0);
-+ i2c_read(0x58, 0x13, 1, &val, 1);
++ i2c_read(0x5a, 0x13, 1, &val, 1);
+ val |= 0x02;
-+ i2c_write(0x58, 0x13, 1, &val, 1);
++ i2c_write(0x5a, 0x13, 1, &val, 1);
+}
+
+enum {
diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0008-Porter-board-support.patch b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0008-Porter-board-support.patch
index 13fc68b..e452f0e 100644
--- a/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0008-Porter-board-support.patch
+++ b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0008-Porter-board-support.patch
@@ -1322,7 +1322,7 @@ index 0000000..d481ecd
+
+/* POWER IC */
+static struct i2c_board_info poweric_i2c[] = {
-+ { I2C_BOARD_INFO("da9063", 0x58), },
++ { I2C_BOARD_INFO("da9063", 0x5a), },
+};
+
+static void porter_restart(char mode, const char *cmd)