Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5219183imm; Wed, 12 Sep 2018 02:55:16 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaTYaVQCMktpJOVk1Zqv4YJ9tJuJHHosUqGKpbSuzmU1DJttsbQczqvnJLZZkAK1UudMv+o X-Received: by 2002:a62:e08b:: with SMTP id d11-v6mr1322075pfm.214.1536746116231; Wed, 12 Sep 2018 02:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746116; cv=none; d=google.com; s=arc-20160816; b=tp77Ea39ja6uo2BVPQ3opqQYqnVRB3TF/0alfjFHVY3cqN3QzOLUkfYafH/N0k4u38 AII6oPCZX6FJ3l51Pcx/IBkqJagtUdvpz9+NKT46iCKsx9qlCl7vo1SBgNbHFrli311s GPxOPhAppr6qytPZbACp6XvKYkK7SAj9QXVxgFf3QR3vY2za/0DpeHWxwZJz5fEYNn0Y OeJvS8AqpDHOpXO4CeIb/KPXMw7NYBrMyc9LYCYg4j0Ty0eqSFKEVebPNansd2tIWXys IN7LYeD76EIHoUjvfOhdQKNCXttOiSRw5IHSkNTVNJYcgBBRGMBB+CBF2Atvm1CE5KrE 0J3Q== 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=riG+y2OQmTlvhmbDhsUEl+RI4V/hGhEUB0MS2rrQeBQ=; b=qHawaNvJ7ObTVFZMbAESEIrBUjhKwVz9Db8iqVbkRzWlvvZNiC/y1/0VUC8il4Mbu9 tEuVLxS06RoaIh/0wi7UctxCnk9cUXq18H/pvq1aXbIt76coJl60YDsn/b3YyEtc2c31 ey0QIQ2qoGOB77usc+MWQF6XJmLbnYfaIeWxoi2+1CmquqvpLvrjZcHDqWXJVhCEjKJN FdrZNB7K9AX/KxUBKHL95k/PotE8xR6g28PdVpJG/05G3B1Xg1jTbrbqNuqT8xgETxI0 0JX9myEhUiu13abq2+84kA2ixJY8P27sv8+sJcAI0sBgBhI7hgxr+Mv9atzlLHilqMnb bRWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J7iNXgPx; 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 q3-v6si548230pgv.652.2018.09.12.02.55.01; Wed, 12 Sep 2018 02:55:16 -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=J7iNXgPx; 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 S1727866AbeILO6P (ORCPT + 99 others); Wed, 12 Sep 2018 10:58:15 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:46682 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727838AbeILO6O (ORCPT ); Wed, 12 Sep 2018 10:58:14 -0400 Received: by mail-ed1-f67.google.com with SMTP id k14-v6so1228755edr.13 for ; Wed, 12 Sep 2018 02:54:27 -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=riG+y2OQmTlvhmbDhsUEl+RI4V/hGhEUB0MS2rrQeBQ=; b=J7iNXgPxBSZ+pki5xkFgN0QR8tpRD4VGQACWhqUWNwi7rc+e0kureuFPWn+6dNadnw Gk8mV9fDNXq68e+GmyyOI1J/pAGAkSxokIpX33cahxTw07n8xjiU0hBVxu95NGfBefQc eK/B3u36f2wFA5kIQ6PwGQHuJqFwLVPFfi0OQ= 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=riG+y2OQmTlvhmbDhsUEl+RI4V/hGhEUB0MS2rrQeBQ=; b=g97aCt+TkeoohEdgpWCo8mL+18mroaJ1oOizo9N4iCslOQAqyE5pMIc7zAEJFo8En8 cO0+l9o4uHklrhT6/KUk8IXySctIIZWwvC7N2mrbG0wfxxKVtXKMpnwK7BGWhPezrb2r ICOdNNGS2VwrIO1+YQ7jWrVhRGg631zITZBfrr5v1UPERpSIjvCyl8dImR+8RPWX62K3 Yu5Pi7jfoTjKs4886TxzPSrHL5IiRi5yg6J1JYECBxaO+DKiyIO7zZd5oXIY0TZ2dT+8 czHcqmDlORYKyRedB7biJK5S3lmzgmqsEhxjrcG14U1vxvC1Ez8/tho4D9SmNQQaGhPh ssCw== X-Gm-Message-State: APzg51CevBmjEjxx/PV7QUahzLeKqxwyd4rFrmhUppUzTfKxcGjnpEas Ok3/B121TbcrEVNpvE/zJlblxFIS1gM= X-Received: by 2002:a50:d90e:: with SMTP id t14-v6mr1766863edj.241.1536746066927; Wed, 12 Sep 2018 02:54:26 -0700 (PDT) Received: from localhost ([49.248.190.214]) by smtp.gmail.com with ESMTPSA id x22-v6sm397969edb.8.2018.09.12.02.54.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 02:54:26 -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 09/16] arm: dts: msm8974: thermal: split address space into two Date: Wed, 12 Sep 2018 15:22:54 +0530 Message-Id: <088724896f21d556ecf1e16a6c59c0e404444fa6.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 msm8974 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/arm/boot/dts/qcom-msm8974.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index d9019a49b292..56dbbf788d15 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -427,9 +427,10 @@ }; }; - tsens: thermal-sensor@fc4a8000 { + tsens: thermal-sensor@fc4a9000 { compatible = "qcom,msm8974-tsens"; - reg = <0xfc4a8000 0x2000>; + reg = <0xfc4a9000 0x1000>, /* TM */ + <0xfc4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_calib>, <&tsens_backup>; nvmem-cell-names = "calib", "calib_backup"; #thermal-sensor-cells = <1>; -- 2.17.1