From patchwork Thu Sep 6 21:04:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10591051 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1B0A75A4 for ; Thu, 6 Sep 2018 21:05:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09A942B1D5 for ; Thu, 6 Sep 2018 21:05:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0F412B236; Thu, 6 Sep 2018 21:05:41 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A21832B232 for ; Thu, 6 Sep 2018 21:05:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728232AbeIGBmz (ORCPT ); Thu, 6 Sep 2018 21:42:55 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:46123 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730241AbeIGBmw (ORCPT ); Thu, 6 Sep 2018 21:42:52 -0400 Received: by mail-pl1-f193.google.com with SMTP id t19-v6so5529080ply.13 for ; Thu, 06 Sep 2018 14:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AJIPFG6/l55uECh0YdRmKoWJkw+DIM5LFfi5ltyGq7E=; b=cixBin4VnOD7UYhjMKSdjDnGaat+AfVeaqHbcJC2eCI/SqnuXHYuz9KipK/3SwufbI q3DuOk6iJ1BPYQ9KjG62oKbIp2sPfxc0yd9yw95/USOKmksGi+eopU9oAcYmrT3yBnZB GDjpDy45EYAE2x6mv/xV0zAgLZ5myZgt7Cc7c= 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:mime-version:content-transfer-encoding; bh=AJIPFG6/l55uECh0YdRmKoWJkw+DIM5LFfi5ltyGq7E=; b=UR3rl7I2S8VJOsF+or0pTp9l0tV5tPWFLI1UchTOZNMpEUSxbr2/UZhfMAJeVlilwE AQp3FqTWY7V4kmhwOEsZ2QqofFw0OvUvP0MzHQ2ua/s61xny3KVf3nUzlVHvNBgtbc3E zluFYGPMnhHzPlyWm2sWXYLWSqg9wS1zURLVnBTgsjD2lFew6hXs0uQvqTGRQ5LNrvAp mmCLXgYqAvILP9wlQzz915P3I7upLGAw+Uh9TSy/1g72uHZloX+5BTkFKHXMG6KogIBb cRtQcwayYOPp67AaHR251tZ26bwbSVu4SVx6mkWdr8S/9obdAtQR4lA+ylkHKJpcX3Nt lFvw== X-Gm-Message-State: APzg51DyH9MtRpBd3Xqs/PIzIikDyK71CTRJfs3SNcGO0WVCBV7SHH9T mFqQAGy8qx/lnjAfbxV6yi5Ejg== X-Google-Smtp-Source: ANB0VdZF93uhZxGe6rIzBbOEgFEPheFjldqp6luHmn8Du55gU58j2rHmupKykeruz1HlPNH43KKlKw== X-Received: by 2002:a17:902:31a4:: with SMTP id x33-v6mr4653459plb.218.1536267935841; Thu, 06 Sep 2018 14:05:35 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id y4-v6sm8271288pfn.123.2018.09.06.14.05.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 14:05:35 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Douglas Anderson , Matthias Kaehlcke Subject: [PATCH v2 3/3] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC Date: Thu, 6 Sep 2018 14:04:54 -0700 Message-Id: <20180906210454.247219-4-mka@chromium.org> X-Mailer: git-send-email 2.19.0.rc2.392.g5ba43deb5a-goog In-Reply-To: <20180906210454.247219-1-mka@chromium.org> References: <20180906210454.247219-1-mka@chromium.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a channel node for the die temperature to the ADC. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson Signed-off-by: Matthias Kaehlcke Signed-off-by: M.. Reviewed-by: .. Signed-off-by: M.. Signed-off-by: J.... --- Changes in v2: - none --- arch/arm64/boot/dts/qcom/pm8998.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index 41593ebbea2c..d18d4f260fbe 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -19,6 +19,11 @@ #address-cells = <1>; #size-cells = <0>; #io-channel-cells = <1>; + + die-temp { + reg = ; + label = "die_temp"; + }; }; pm8998_gpio: gpios@c000 {