summaryrefslogtreecommitdiff
path: root/arch/mips/alchemy/board-gpr.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/alchemy/board-gpr.c')
-rw-r--r--arch/mips/alchemy/board-gpr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/alchemy/board-gpr.c b/arch/mips/alchemy/board-gpr.c
index daebc36e5ecb..328d697e72b4 100644
--- a/arch/mips/alchemy/board-gpr.c
+++ b/arch/mips/alchemy/board-gpr.c
@@ -235,6 +235,10 @@ static struct gpiod_lookup_table gpr_i2c_gpiod_table = {
};
static struct i2c_gpio_platform_data gpr_i2c_data = {
+ /*
+ * The open drain mode is hardwired somewhere or an electrical
+ * property of the alchemy GPIO controller.
+ */
.sda_is_open_drain = 1,
.scl_is_open_drain = 1,
.udelay = 2, /* ~100 kHz */