From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Matthew McClintock <mmcclint@codeaurora.org>, linus.walleij@linaro.org
Cc: andy.gross@linaro.org, linux-arm-msm@vger.kernel.org,
qca-upstream.external@qca.qualcomm.com,
Sricharan R <sricharan@codeaurora.org>,
Rob Herring <robh@kernel.org>,
Mathieu Olivari <mathieu@codeaurora.org>,
Varadarajan Narayanan <varada@codeaurora.org>,
"open list:PIN CONTROL SUBSYSTEM" <linux-gpio@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 03/17] pinctrl: qcom: ipq4019: fix register offsets
Date: Fri, 25 Mar 2016 14:31:12 -0700 [thread overview]
Message-ID: <20160325213112.GC8929@tuxbot> (raw)
In-Reply-To: <1458770712-10880-4-git-send-email-mmcclint@codeaurora.org>
On Wed 23 Mar 15:04 PDT 2016, Matthew McClintock wrote:
> For this SoC the register offsets changed from previous versions to be
> separated by a larger amount.
>
> CC: linus.walleij@linaro.org
So the HW guys changed the register layout of the TLMM block? Matches
the layout of contemporary MSMs, so I see no problems with this.
Acked-by: bjorn.andersson@linaro.org
Regards,
Bjorn
> Signed-off-by: Matthew McClintock <mmcclint@codeaurora.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
>
next prev parent reply other threads:[~2016-03-25 21:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1458770712-10880-1-git-send-email-mmcclint@codeaurora.org>
2016-03-23 22:04 ` [PATCH 01/17] pinctrl: qcom: ipq4019: set ngpios to correct value Matthew McClintock
2016-03-25 21:19 ` Bjorn Andersson
2016-03-31 9:53 ` Linus Walleij
2016-03-23 22:04 ` [PATCH 02/17] pinctrl: qcom: ipq4019: fix the function enum for gpio mode Matthew McClintock
2016-03-25 21:22 ` Bjorn Andersson
2016-03-31 9:55 ` Linus Walleij
2016-03-23 22:04 ` [PATCH 03/17] pinctrl: qcom: ipq4019: fix register offsets Matthew McClintock
2016-03-25 21:31 ` Bjorn Andersson [this message]
2016-03-31 9:57 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160325213112.GC8929@tuxbot \
--to=bjorn.andersson@linaro.org \
--cc=andy.gross@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu@codeaurora.org \
--cc=mmcclint@codeaurora.org \
--cc=qca-upstream.external@qca.qualcomm.com \
--cc=robh@kernel.org \
--cc=sricharan@codeaurora.org \
--cc=varada@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).