From patchwork Fri Jun 17 20:28:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9184955 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 42959608A2 for ; Fri, 17 Jun 2016 20:30:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 147E92714B for ; Fri, 17 Jun 2016 20:30:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 091F927F54; Fri, 17 Jun 2016 20:30:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C1B682714B for ; Fri, 17 Jun 2016 20:30:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bE0OG-0002I8-OJ; Fri, 17 Jun 2016 20:29:20 +0000 Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bE0Nk-00021M-SR for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2016 20:28:49 +0000 Received: by mail-lf0-x233.google.com with SMTP id f6so5246754lfg.0 for ; Fri, 17 Jun 2016 13:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dHjCc0hb3Djchfd0FlB+BfXiIZ50Y19HTG7ab48/yoE=; b=Ty2ht7iQ+UDmBThQl09YT6ySeFwahp2M2LZc7gYTJSbTX4pnIvKMorkEK9iJz6DSLS f9VEqVu5tsxIuLRF0Xp1ETbIvj1uL379yULTJ3gQQUHhxSkccTygGZsIHL8f3/Oih1Df Ad8RotEalfW24sok/X4TbP0uXVZGqV98dQ2O4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dHjCc0hb3Djchfd0FlB+BfXiIZ50Y19HTG7ab48/yoE=; b=QJeFsP9o74j/r2Y52DJyEulqT1/cOStKD8N6QmHdJJQelD4PPMrNySmLyumt20cdjY sX58HYq3yPSm4k9P4tVJWEXxvfqqxXDRr2nOQGX6mhG5Bb9NNPnNFwoKdGRkofFDPC+x ScfNuGRvwHfms02OPyLGe2a28j5cqeoXDDtI2mHb24tEndEyf4CEvewtcak4zjwjp53v 6LbvbB/Q+ulgqyi9EXphuJUEO0w9cPym+Rh8MwhEc7gkHZP3BZ8ovTTt5VDBeBh0YjGa flNCQA9/0Ir0NgvyP9stxSltlP/X+pM/PpBQ2tRlg7F8bmDYtJpKWEOqCZRYzwsIHsZ+ pY8A== X-Gm-Message-State: ALyK8tJ8xWRP9rH8Kb9X2SCONGaVJ55FA5PVJ9BjnydljX419C5/45r8J06J0rmLY/Sigacx X-Received: by 10.25.168.76 with SMTP id r73mr1219375lfe.136.1466195310813; Fri, 17 Jun 2016 13:28:30 -0700 (PDT) Received: from localhost.localdomain.localdomain (c-cc7c71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.124.204]) by smtp.gmail.com with ESMTPSA id o7sm2366292lfg.45.2016.06.17.13.28.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jun 2016 13:28:30 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, Andy Gross Subject: [PATCH 5/7] ARM: dts: fix the MSM8660 RTC base address Date: Fri, 17 Jun 2016 22:28:10 +0200 Message-Id: <1466195292-28236-7-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 In-Reply-To: <1466195292-28236-1-git-send-email-linus.walleij@linaro.org> References: <1466195292-28236-1-git-send-email-linus.walleij@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160617_132849_140543_808C407F X-CRM114-Status: GOOD ( 13.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Brown , Linus Walleij , Stephen Boyd , Bjorn Andersson MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Stephen Boyd --- 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@11d { + rtc@1e8 { compatible = "qcom,pm8058-rtc"; + reg = <0x1e8>; interrupt-parent = <&pmicintc>; interrupts = <39 1>; - reg = <0x11d>; allow-set-time; };