Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5219342imm; Wed, 12 Sep 2018 02:55:23 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbFQrzDtl8AUzkoLFVZtQvqPZB3qZMb3w/zndC4DivN+aaOIw045jOH0T+tExz0MBKbfiRN X-Received: by 2002:a17:902:724c:: with SMTP id c12-v6mr1241209pll.326.1536746123716; Wed, 12 Sep 2018 02:55:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746123; cv=none; d=google.com; s=arc-20160816; b=t09Q7lRu+XcdW9WTBKT9M9KCbBM+u1mVfej6gR3k+PVKyjTNSpDDcGdJeMxLmcUuzT bZi239LHRieza9qXw8IZrwgPdIIKY4hJFUjvKGYuNBrQ0AbpwpfZNCFVlDjeGE4Zyt9j FsTcttNcbAGYkm/bEgderaVsT4J4AcqCfrCYTPsm2fZLqMU9rnepwIYKZI7nh5DIjbYt alMjqhiGE5RIHcP5UkAXc9JlijfuCxFqeXMT0GWwzfj2WHrdZIYlwVn8XE/PLwkbZ4Le WLZ8E4mAf3jKX9GE1d334luAM4a4J6dXf+uwMEp7X+sxuhsopI+ku/I6ADKwjmgRqDCk c8UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=DdplkWwuGrY04uo9ngGJyb9h118OGPlbF94r8PIE8s4=; b=EZwrea8T9Yd1CGDJ6JnuG7HUyLAN+NJShNVb4FKLivuCv/JuTTXcrSYxWvUN4o3XQR vMCSjJojAIFqYrHuKQBbnTGsG658ElHIBcqcF6Lpqe7bVQCL7QRqotUiD74I4P+BJ1Kk N31N91UBfzQNE4JgkkDi/umiD+/WtQPymOEqbXQ0yOXrulDEnDEqoQVrgx5HpgeGXYRC /DyoaIDrO40I8BK8OX+Ygarjc8+y8O7AC2Jbi5yL3yG3eKLV+V5Nn/vudBsAzu2OQJwz hvBx5iBP2Mt0GNg4qNl0rSnWijjnVPuluGxB876JPu1MoKBREVxydAFiA6xm7HB+4DhF d4iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CSmf9G95; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3-v6si551375pld.90.2018.09.12.02.55.09; Wed, 12 Sep 2018 02:55:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CSmf9G95; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727990AbeILO6V (ORCPT + 99 others); Wed, 12 Sep 2018 10:58:21 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:34257 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727965AbeILO6V (ORCPT ); Wed, 12 Sep 2018 10:58:21 -0400 Received: by mail-ed1-f66.google.com with SMTP id u1-v6so1278491eds.1 for ; Wed, 12 Sep 2018 02:54:33 -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 :in-reply-to:references; bh=DdplkWwuGrY04uo9ngGJyb9h118OGPlbF94r8PIE8s4=; b=CSmf9G958OeJacKZorMKFy+xTfe9oydbq9gNkUDPxEal8PbfyZIbPdS+kRrsaO6L9W hcgNfWG/KSkLOnbaAFEc3WEOCU6mew8ReFBr/J3Kz1VTe+N0GC1aAGrT7G9KJZNzg5GU rUTG8WJqrzg4xmXK3CpXlTfHE+FGN121H87gg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=DdplkWwuGrY04uo9ngGJyb9h118OGPlbF94r8PIE8s4=; b=rZXhd9a1bIeKsYfxC6vcStGPOVFhz7BNg/KUeKdYM0ywr2js+7cn7VT9aUKLfzQ3S/ D/yLeo/SCl4jam7bv9Dl/OiN/7S0YoRipVctDMTiSHqOhFKijjbUnDgSOssVCEOraCmq QiBsI9hf4rth3bChhAUMIs2iXISOw+qkNdhfltIS1rSFa27eoLcWdZ4XUBIoIO3fOWTC swvi8dC4WfADtUmGF0OVZZG6u14i9F+ZHbL5LcwI86Gx8lzcnriI70jPXy7hr4HZO2W+ c32144JIxXA3zowLGEZQARUuydpoMLwt6ioAfH1fkXI75Bgrx3yqfVFHE718g8/ZbV1Q iICA== X-Gm-Message-State: APzg51Axu8eb4B7cXFAWEjHgIQE9Rx1M3U889bXeDz15cOCH+WwMMrkp RYk9mmFRxfqQXoAgaF4Tw1KA15Xkqro= X-Received: by 2002:a50:de8e:: with SMTP id c14-v6mr1757958edl.196.1536746073097; Wed, 12 Sep 2018 02:54:33 -0700 (PDT) Received: from localhost ([49.248.190.214]) by smtp.gmail.com with ESMTPSA id a19-v6sm482112edd.69.2018.09.12.02.54.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 02:54:32 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, smohanad@codeaurora.org, andy.gross@linaro.org, dianders@chromium.org, mka@chromium.org, David Brown , Rob Herring , Mark Rutland , linux-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 10/16] arm64: dts: msm8916: thermal: split address space into two Date: Wed, 12 Sep 2018 15:22:55 +0530 Message-Id: <226a3b61f23f27d54b4dad390d6796b429fad837.1536744310.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We've earlier added support to split the register address space into TM and SROT regions. Split up the regmap address space into two for msm8916 that has a similar register layout. Since tsens-common.c/init_common() currently only registers one address space, the order is important (TM before SROT). This is OK since the code doesn't really use the SROT functionality yet. Signed-off-by: Amit Kucheria Reviewed-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 7b32b8990d62..6a277fce3333 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -761,9 +761,10 @@ }; }; - tsens: thermal-sensor@4a8000 { + tsens: thermal-sensor@4a9000 { compatible = "qcom,msm8916-tsens"; - reg = <0x4a8000 0x2000>; + reg = <0x4a9000 0x1000>, /* TM */ + <0x4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; nvmem-cell-names = "calib", "calib_sel"; #thermal-sensor-cells = <1>; -- 2.17.1