[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1458770712-10880-4-git-send-email-mmcclint@codeaurora.org>
Date: Wed, 23 Mar 2016 17:04:58 -0500
From: Matthew McClintock <mmcclint@...eaurora.org>
To: andy.gross@...aro.org, linux-arm-msm@...r.kernel.org
Cc: qca-upstream.external@....qualcomm.com,
Matthew McClintock <mmcclint@...eaurora.org>,
linus.walleij@...aro.org, bjorn.andersson@...aro.org,
Sricharan R <sricharan@...eaurora.org>,
Rob Herring <robh@...nel.org>,
Mathieu Olivari <mathieu@...eaurora.org>,
Varadarajan Narayanan <varada@...eaurora.org>,
linux-gpio@...r.kernel.org (open list:PIN CONTROL SUBSYSTEM),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH 03/17] pinctrl: qcom: ipq4019: fix register offsets
For this SoC the register offsets changed from previous versions to be
separated by a larger amount.
CC: linus.walleij@...aro.org
CC: bjorn.andersson@...aro.org
Signed-off-by: Matthew McClintock <mmcclint@...eaurora.org>
---
drivers/pinctrl/qcom/pinctrl-ipq4019.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/pinctrl/qcom/pinctrl-ipq4019.c b/drivers/pinctrl/qcom/pinctrl-ipq4019.c
index cb9f16a..b68ae42 100644
--- a/drivers/pinctrl/qcom/pinctrl-ipq4019.c
+++ b/drivers/pinctrl/qcom/pinctrl-ipq4019.c
@@ -254,11 +254,11 @@ DECLARE_QCA_GPIO_PINS(99);
qca_mux_##f14 \
}, \
.nfuncs = 15, \
- .ctl_reg = 0x1000 + 0x10 * id, \
- .io_reg = 0x1004 + 0x10 * id, \
- .intr_cfg_reg = 0x1008 + 0x10 * id, \
- .intr_status_reg = 0x100c + 0x10 * id, \
- .intr_target_reg = 0x400 + 0x4 * id, \
+ .ctl_reg = 0x0 + 0x1000 * id, \
+ .io_reg = 0x4 + 0x1000 * id, \
+ .intr_cfg_reg = 0x8 + 0x1000 * id, \
+ .intr_status_reg = 0xc + 0x1000 * id, \
+ .intr_target_reg = 0x8 + 0x1000 * id, \
.mux_bit = 2, \
.pull_bit = 0, \
.drv_bit = 6, \
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists