linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/7] ARM: dts: fix the MSM8660 RTC base address
Date: Fri, 17 Jun 2016 22:28:10 +0200	[thread overview]
Message-ID: <1466195292-28236-7-git-send-email-linus.walleij@linaro.org> (raw)
In-Reply-To: <1466195292-28236-1-git-send-email-linus.walleij@linaro.org>

The RTC was defined on 0x11d but on the MSM8660/APQ8060 it is
actually on 0x1e8. We were saved by the fact that the driver does
not use the reg parameter: instead it uses the compatible string
to figure out where the RTC is.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/boot/dts/qcom-msm8660.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom-msm8660.dtsi
index 8ee3045f4066..b7d7f0c27ba1 100644
--- a/arch/arm/boot/dts/qcom-msm8660.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8660.dtsi
@@ -211,11 +211,11 @@
 					row-hold = <91500>;
 				};
 
-				rtc at 11d {
+				rtc at 1e8 {
 					compatible = "qcom,pm8058-rtc";
+					reg = <0x1e8>;
 					interrupt-parent = <&pmicintc>;
 					interrupts = <39 1>;
-					reg = <0x11d>;
 					allow-set-time;
 				};
 
-- 
2.4.11

  parent reply	other threads:[~2016-06-17 20:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17 20:28 [PATCH 0/7] APQ8060 Dragonboard support v2 Linus Walleij
2016-06-17 20:28 ` [PATCH 1/7] ARM: dts: add GPIO and MPP to MSM8660 PMIC Linus Walleij
2016-06-17 20:28 ` [PATCH 2/7] ARM: dts: add SDCC5 to Qualcomm MSM8660 Linus Walleij
2016-06-17 20:28 ` [PATCH 3/7] ARM: dts: add L2CC and RPM with regulators for MSM8660 Linus Walleij
2016-06-20 23:39   ` Stephen Boyd
2016-06-17 20:28 ` [PATCH 3/3] ARM: dts: add Qualcomm APQ8060-based Dragonboard Linus Walleij
2016-06-17 20:28 ` [PATCH 4/7] ARM: dts: add I2C block in GSBI12 Linus Walleij
2016-06-17 20:28 ` Linus Walleij [this message]
2016-06-20 23:38   ` [PATCH 5/7] ARM: dts: fix the MSM8660 RTC base address Stephen Boyd
2016-06-17 20:28 ` [PATCH 6/7] ARM: dts: move the fixed MMC regulator to SURF board Linus Walleij
2016-06-17 20:28 ` [PATCH 7/7] ARM: dts: add Qualcomm APQ8060-based Dragonboard Linus Walleij
2016-06-29  9:16 ` [PATCH 0/7] APQ8060 Dragonboard support v2 Linus Walleij
2016-06-29 13:40   ` Andy Gross
2016-06-29 14:14     ` 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=1466195292-28236-7-git-send-email-linus.walleij@linaro.org \
    --to=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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).