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: 70379 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp457956qgy; Fri, 17 Jun 2016 13:28:38 -0700 (PDT) X-Received: by 10.98.192.135 with SMTP id g7mr4311028pfk.64.1466195313838; Fri, 17 Jun 2016 13:28:33 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e71si14173926pfg.248.2016.06.17.13.28.33; Fri, 17 Jun 2016 13:28:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753374AbcFQU2d (ORCPT + 8 others); Fri, 17 Jun 2016 16:28:33 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:33201 "EHLO mail-lf0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753257AbcFQU2c (ORCPT ); Fri, 17 Jun 2016 16:28:32 -0400 Received: by mail-lf0-f49.google.com with SMTP id f6so5246755lfg.0 for ; Fri, 17 Jun 2016 13:28:31 -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=QP05EQJa/yedqABJDYk0wtxiwKjsWydb/x80eVSW8IaObzYWI4TRQIw/nKJAvBfN4r r7gzxoa2CMKTaOz2LgsRk7zuzb2hdGsNuHikUm4oEcRvirFoA9eeEENEpHqBnScOU5PQ MG3yMOCGlX+dj97ucG3hmeviVmWeAclEOS4cmemZj7pI2QH+t/9H2lWrFK44SR0vkdeG Nw5asIfoPpTmzzdcZC9vm/qjzttOiNGduEDMbYCIcvQb4Gj1dYGSuCjB9bUhcg0pSuD1 llO2GY9C76Q7UigU3qgm+s7v+A6HazBIgYdTgS0cnyUpN+Kqxmu1UQC3XSInWL+/UFDj 6/XQ== X-Gm-Message-State: ALyK8tIJSeG2HkvieTvIpqCfDGimoWZEJB3tGEW3DrhBrFjmxx6njFaqEjnruDuOTDaUFHSo 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 Cc: Stephen Boyd , Bjorn Andersson , David Brown , Linus Walleij 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> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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 --- arch/arm/boot/dts/qcom-msm8660.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.4.11 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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; };