From b4ff2a44f647fb702411da45c68bab9cb7af1b0e Mon Sep 17 00:00:00 2001 From: kettenis Date: Tue, 26 Dec 2017 17:16:33 +0000 Subject: [PATCH] Correct register numbers for AXP809. --- sys/dev/fdt/axppmic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/fdt/axppmic.c b/sys/dev/fdt/axppmic.c index a59033146b4..93d9c4adc42 100644 --- a/sys/dev/fdt/axppmic.c +++ b/sys/dev/fdt/axppmic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: axppmic.c,v 1.3 2017/12/18 20:21:06 kettenis Exp $ */ +/* $OpenBSD: axppmic.c,v 1.4 2017/12/26 17:16:33 kettenis Exp $ */ /* * Copyright (c) 2017 Mark Kettenis * @@ -117,9 +117,9 @@ struct axppmic_regdata axp809_regdata[] = { { "aldo1", 0x10, (1 << 6), (1 << 6), (0 << 6), 0x28, 0x1f, 700000, 100000 }, { "aldo2", 0x10, (1 << 7), (1 << 7), (0 << 7), - 0x28, 0x1f, 700000, 100000 }, + 0x29, 0x1f, 700000, 100000 }, { "aldo3", 0x12, (1 << 5), (1 << 5), (0 << 5), - 0x28, 0x1f, 700000, 100000 }, + 0x2a, 0x1f, 700000, 100000 }, { "dldo1", 0x12, (1 << 3), (1 << 3), (0 << 3), 0x15, 0x1f, 700000, 100000 }, { "dldo2", 0x12, (1 << 4), (1 << 4), (0 << 4), @@ -129,7 +129,7 @@ struct axppmic_regdata axp809_regdata[] = { { "eldo2", 0x12, (1 << 1), (1 << 1), (0 << 1), 0x1a, 0x1f, 700000, 100000 }, { "eldo3", 0x12, (1 << 2), (1 << 2), (0 << 2), - 0x19, 0x1f, 700000, 100000 }, + 0x1b, 0x1f, 700000, 100000 }, { "ldo_io0", 0x90, 0x07, 0x03, 0x04, 0x91, 0x1f, 700000, 100000 }, { "ldo_io1", 0x92, 0x07, 0x03, 0x04, -- 2.20.1