Received: by 10.213.65.68 with SMTP id h4csp12094imn; Fri, 30 Mar 2018 13:06:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx48YaPLBWK9xbuBMNcGDNfD5tpdJM0XYp4KRm3f4/9ASAv3oWMfvjRb14MVYQLAs07SaY9Ew X-Received: by 2002:a17:902:ab86:: with SMTP id f6-v6mr422329plr.258.1522440364850; Fri, 30 Mar 2018 13:06:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522440364; cv=none; d=google.com; s=arc-20160816; b=y8IF3SYEvO2+Iiz5RFqlMSnaISicwPh83dqtvXEQs53bsuW6RfDkAHa5E8Ogf/nhX4 UpiaSrCUU/xBZA0frxKPyYkJpSGbvLwKicrSxiknv6HwBrj2Oz84n9tQESERLpEIMicy IiQ/XJc7slQIb73BAk9Dg/H6h7kCE1R3ZcbI0oNs2qrODhNNKDFl1teKULxPgxTe0qem LlTjyLC2yY4yIJ75rnaisg1rui8/R4w9OLsS7fx3s7jxTCmTmTossZ00EWEM4hDQDqDD EASJFmrrdScgQUQtIoPMqcNVE9eA7irqxIZbpHGjOX+VI/5jzYp6pZxgWj4K4Q3KbxYK CTyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature:arc-authentication-results; bh=aX6oNDHR29Qzsu79HPNcmMsmyBfCWRxX7mr4226J2z0=; b=QARV4+4cs5fk5sETUx1KSxg5Ga8VbvloWNjJnVYlnE6vfq2JknE7nEVp80Fze0hEXY aL1XGYo7VL0rRf4p9xTdUTg29ZT1JkD5QE9MmoKc44KvUx0Li6tKuGdGYa632gTCpH6S xHJPCZ2VPaYOk3+9HSr+FWCW4JyEgZpSZJnTMHT7ocbYK7Akvg5p3WOwsYbh6QscJGhu fn9m+FWWuIxXQQ/rC1XzWNkv67MeaaP60mWtmngGcYxANukCDStWin9mcZxvxNYhDAzI bj8bM5Dw44f8ZZYUUPEUO46u7ezBE7/9VNEgqY/WKPbLIh6G5NDmuHT0bskuFbMl9pn1 nk3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=nLzFekwF; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 79si6696521pfi.367.2018.03.30.13.05.50; Fri, 30 Mar 2018 13:06:04 -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=fail header.i=@gmail.com header.s=20161025 header.b=nLzFekwF; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752728AbeC3UET (ORCPT + 99 others); Fri, 30 Mar 2018 16:04:19 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:41839 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752622AbeC3UER (ORCPT ); Fri, 30 Mar 2018 16:04:17 -0400 Received: by mail-wr0-f195.google.com with SMTP id f14so8785883wre.8; Fri, 30 Mar 2018 13:04:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=aX6oNDHR29Qzsu79HPNcmMsmyBfCWRxX7mr4226J2z0=; b=nLzFekwFKXVd3q2Sm9qBmS2omlH7M5vFqQP7TdQo4xKj1VP/t5tmb9zwqLPPAmIAIh RXsi6RCHf8aEDmNv203cFct3oEYszgZubQnh9R/+P1XzjQXON+0vErXA+ryBFObyL7PL nOKAQVQOMBsYBR44bIBNwPwxY4CIafpK3DMKkVYe6N4OpSJ/AYn3XiZ9cDLBa3buDYwl SluFnRNjiyMpAXscornAt0hWPo72hC6HyQtnaJXk5eTHIeZ0mKPXIscfcgqPCTKHYq/E k3ldE4kMFDThHGJyIFk9IPTrWVdLRuZFpW3ovtxml6CMR/kaKzBNZjGgWjXYH5X4gS8S JVuw== 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; bh=aX6oNDHR29Qzsu79HPNcmMsmyBfCWRxX7mr4226J2z0=; b=rhK+lNwnVW3nsAD+J07r+uBHweut3UsxWnIJmRzG2J/wI9qIp7G1iX3vNKvTtLbRkM npxRSlpwyUJt3y3y1dHBI3fDiipPEIaLsbLKLnDiSHjgkiowWS9MJErA6VnrQBBupUev Q2G3+af2y3T77bVE+eiQLXZsbMm4XvzcmK1oHIP8QSrcdxTW+qiNPuvVZ4Ciftk/YnjO OLz8i7HZIYTctFcNhILj2xZpRbXqYTwriLy/PkTzeS2aMkYwDX4jfgW9pPp4Jj/6wQX9 1bWkqDM0yERjb2AbQWINmHYUgkLl9pVOsbVjdxActyIp+jQN/N0bW4rwuRHnvAFfUfZo kG/w== X-Gm-Message-State: AElRT7EJY6zxek50BNeUx47G3Z5GPK2DqAmFxLjfT4P4s0j3CmhjFWEa esenXhgFlcm9RqLeC9bemR4z X-Received: by 10.223.169.55 with SMTP id u52mr220763wrc.29.1522440255514; Fri, 30 Mar 2018 13:04:15 -0700 (PDT) Received: from arch.home (host86-169-209-139.range86-169.btcentralplus.com. [86.169.209.139]) by smtp.googlemail.com with ESMTPSA id b203sm4726247wmh.2.2018.03.30.13.04.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Mar 2018 13:04:14 -0700 (PDT) From: Craig Tatlor Cc: ctatlor97@gmail.com, Andy Gross , David Brown , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: qcom: pm8941: Add vadc nodes needed to estimate an ocv Date: Fri, 30 Mar 2018 21:04:08 +0100 Message-Id: <20180330200408.12608-1-ctatlor97@gmail.com> X-Mailer: git-send-email 2.16.2 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org vbat_sns is needed to estimate a fairly accurate on chip voltage and bat_therm is needed to produce an accurate percentage from the estimated ocv. Signed-off-by: Craig Tatlor --- arch/arm/boot/dts/qcom-pm8941.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom-pm8941.dtsi index 1d5ef55c7ee5..2515c5c217ac 100644 --- a/arch/arm/boot/dts/qcom-pm8941.dtsi +++ b/arch/arm/boot/dts/qcom-pm8941.dtsi @@ -139,6 +139,9 @@ #size-cells = <0>; #io-channel-cells = <1>; + bat_temp { + reg = ; + }; die_temp { reg = ; }; @@ -154,6 +157,9 @@ ref_vdd { reg = ; }; + vbat_sns { + reg = ; + }; }; pm8941_iadc: iadc@3600 { -- 2.16.2