From patchwork Mon Sep 10 16:02:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10594499 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 6FA5314BD for ; Mon, 10 Sep 2018 16:05:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C13C291EA for ; Mon, 10 Sep 2018 16:05:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F4772929A; Mon, 10 Sep 2018 16:05:55 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BEAF9291EA for ; Mon, 10 Sep 2018 16:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fqqxi/b+BYbATvSCaytzJbJcG00Y7Gfv7AApUueI6CU=; b=n0xNCOgkRFcj5k s0JPsJ2j9wDSgEkzjjw42kgszH7IxNTb1JAT0Qajh/4n8BlfoRtIJEZIKFEMQrnzUAU69Pbdjv3XD lcGdSV6Bhztfc8KUnySlHWg31e1oB7hrcJEcWld+iCIknGs27Wb+xlq+1jdq3eQ4+wBYtrRmIgaL/ /U/8HItf4Or2Z9W7a7kRhgW3SYE2dzHx0t7n3g1F1rUPQz5ZfA/38NKAqz3LxABcuZKOiQ2S5CgRs ufJnl7j8tSEkmPvM2Pe7V+tGJhAM054Ow8ZlCuzEVSADFcMjdrxGq/NmJF1EvInGb6FaZJ7dOt5uG W3yPsvpMPiT2TUOf5WQg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzOh6-0007z5-Ph; Mon, 10 Sep 2018 16:05:44 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzOfG-00060Y-96 for linux-arm-kernel@lists.infradead.org; Mon, 10 Sep 2018 16:03:55 +0000 Received: by mail-pf1-x441.google.com with SMTP id x17-v6so10711337pfh.5 for ; Mon, 10 Sep 2018 09:03:43 -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=9v+SdcrhUYluLoY69mPdaMFx4Nogh2CsYFNID8uJf0w=; b=FiNDwDf1JMlDHmHAHYY4azmApZonf5/yelBqI8R8MbocyWc0PdLntJRfCVhyMsevFg kXLHgy4aH1G+GYbxPD+u5OAOHDnBjGu0csCy3NX1IK2x4UUxQcO51RjS73Skj43BRVtw 2y59EITjLfkxJC4UXgybW0+UyToiFCPaNsNDY= 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=9v+SdcrhUYluLoY69mPdaMFx4Nogh2CsYFNID8uJf0w=; b=N4vGW13lUZLG25LxkigKlB8yJI80h5ez8iZ3Djwi9cEkkMP6E52gHa3/RufBH+Ke8L o5arNFZGXz2WeZO3VEKrJB3bH6Sl3W9nEaqqu8aaIAuHFCoeWdiX4AltUNqz4N5Oqa8t caRyq7dRhMk5c+Z570gYfaulWSy3TCCa+eTUMj4sGeUJ1Zrah4THUfpLLKh9cfpCzJ9O R5/00wTIsQQGhzG5Y8Juke2OIxpHJ3etvqNVLIkweFm/7E6aRoObami9lu3lG3PXqiwe F/YCfnHvQfBjdZG6+BnNwU9FPfemcFeHW0WJdPJ3yg4PhVUwNRDShnxwrXi95WYdI0KL Bh1g== X-Gm-Message-State: APzg51CXRq5EOQo3RIUMVCE69KxYMH+0kML/XBFa0/wDBeItOT6NIW+F DlvdzXKgpnT0hlsxouUyqZlw8A== X-Google-Smtp-Source: ANB0VdaD2w0McAHIKSY2f5yDV+QWzeLwkcJGErFj1XMHH6eSxDmtg22IjMjTaIJwd5dIQBMVElTjAA== X-Received: by 2002:a62:9992:: with SMTP id t18-v6mr24365650pfk.239.1536595423131; Mon, 10 Sep 2018 09:03:43 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id b3-v6sm33893517pgm.74.2018.09.10.09.03.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 09:03:42 -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 Subject: [PATCH v3 1/3] dt-bindings: iio: vadc: Fix documentation of 'reg' Date: Mon, 10 Sep 2018 09:02:59 -0700 Message-Id: <20180910160301.237538-2-mka@chromium.org> X-Mailer: git-send-email 2.19.0.rc2.392.g5ba43deb5a-goog In-Reply-To: <20180910160301.237538-1-mka@chromium.org> References: <20180910160301.237538-1-mka@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180910_090350_374273_DF4B129B X-CRM114-Status: GOOD ( 14.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Matthias Kaehlcke , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The documentation of Qualcomm's SPMI PMIC voltage ADC claims that the 'reg' property consists of two values, the SPMI address and the length of the controller's registers. However the SPMI bus to which it is added specifies "#size-cells = <0>;". Remove the controller register length from the documentation of the field and the example. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson Reviewed-by: Rob Herring --- Changes in v3: - fixed separator in commit message - removed duplicate 'Signed-off-by' tag Changes in v2: - none --- Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt index 0fb46137f936..d0c188e5c922 100644 --- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt +++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt @@ -13,7 +13,7 @@ VADC node: - reg: Usage: required Value type: - Definition: VADC base address and length in the SPMI PMIC register map. + Definition: VADC base address in the SPMI PMIC register map. - #address-cells: Usage: required @@ -104,7 +104,7 @@ Example: /* VADC node */ pmic_vadc: vadc@3100 { compatible = "qcom,spmi-vadc"; - reg = <0x3100 0x100>; + reg = <0x3100>; interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; #address-cells = <1>; #size-cells = <0>; From patchwork Mon Sep 10 16:03:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10594501 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 B736A921 for ; Mon, 10 Sep 2018 16:06:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A304E29288 for ; Mon, 10 Sep 2018 16:06:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94C12292A6; Mon, 10 Sep 2018 16:06:37 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0F51B29288 for ; Mon, 10 Sep 2018 16:06:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xUhG9q8Eq20HaNfHVTqU1RzXo0qI/f4ZgB4NIRWeFCM=; b=W3ssclp9MWVV75 V968WyG7L/1kLJkPsfZI+lyAcNc9b+i7rTD0o+Xs+0mQaRBeY3OL1VDO7fogJRJ397y7N/3ok2z7I bgWpe14Ylu/AUiHJ10HpQlTJtEo5uOGXOeRJCarP7W2z0nvEhRzrlB973GWp8XZwv/7m9RXD2BFh0 etCRh8Zgp41Y6uiY9YNXZLCCybPG7OdmAghLUPZrhT7XYjI220U2QgiHDEGZzTHirb4YCQNFe3PTg uykL8BUEN7R7QOE3yBO5MyvWTpE8E1kL1GiA+9/brNnjkJInEZTAMSF1bZuPZfMZkCUUS5wIXBP+4 /m2m+3tm2M6HMjaS4HaA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzOhm-0008Gv-0D; Mon, 10 Sep 2018 16:06:26 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzOfJ-00061F-3p for linux-arm-kernel@lists.infradead.org; Mon, 10 Sep 2018 16:04:03 +0000 Received: by mail-pg1-x544.google.com with SMTP id y4-v6so10693935pgp.9 for ; Mon, 10 Sep 2018 09:03:45 -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=nCTI6zUgI1gXw+J5bYAFkLhTXruI8Pq5CKHSMb95CuA=; b=jldr7OQVxg2Q8xWnIvJtqyCKsb74pG5bDBinbgszhiaXd/FCECaaLDfLs2vT37Mw6K HLXIXggTBV36zp0m6LW6pR77xwntGjdCPDuL2dT15VMSj2HnRWYMWkvt2N4R++h2jEyj Dk+lsWOzjSNM+t/6w3KFCob5oxngu+u5FqRsw= 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=nCTI6zUgI1gXw+J5bYAFkLhTXruI8Pq5CKHSMb95CuA=; b=sFNWuqegVoXxvUNzaTKSc3vEoQLGsuvhBWXK3GY2rfKYHf93JbVqIvu1S4/zP2HUyZ r4rEOQEWzWtekeZqyokSuc4o4nOrF8XdhdQgKg26UKktw8ZQrjtUNkh674D3e/b5SlK8 QCp4YhOZpy8TSjD+9xj+WrlUYL4llZEdtKhIuh1JwtojYEF9CB1B/cOiwFwzEkR+UrZF ZDWsxwTXBKyGGiNeizEXXJaak2vryZfIpTBV2PIkiHE5fP6Pg6pnUiIQnlfpxHQyd1rv DU3M+iLkT6lsl5sK22f3Xkp9CWpl+JsFJzhS2gmlj6ZAqNFscT2tnVWUqZ8mqiZ4m99Y Lf5Q== X-Gm-Message-State: APzg51ADASvkU+wC6E0i5l4h5GzXqo34+aHg503dzpuDDcaPRxSrJlri hnIPnSfdBuPklZS7WU6ObsMLbg== X-Google-Smtp-Source: ANB0VdYhXN4l/F9KglBcwnq+fyZi7iEb8q9wawY2TvMj3r+RwigA8upV5LfST/nw0nT72lTOzBXc3w== X-Received: by 2002:a63:28c7:: with SMTP id o190-v6mr23450675pgo.84.1536595424687; Mon, 10 Sep 2018 09:03:44 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id b3-v6sm33893517pgm.74.2018.09.10.09.03.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 09:03:44 -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 Subject: [PATCH v3 2/3] arm64: dts: qcom: pm8998: Add adc node Date: Mon, 10 Sep 2018 09:03:00 -0700 Message-Id: <20180910160301.237538-3-mka@chromium.org> X-Mailer: git-send-email 2.19.0.rc2.392.g5ba43deb5a-goog In-Reply-To: <20180910160301.237538-1-mka@chromium.org> References: <20180910160301.237538-1-mka@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180910_090353_344653_533B3CA3 X-CRM114-Status: GOOD ( 15.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Matthias Kaehlcke , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the adc node to pm8998 based on the examples in the bindings. It also fixes the order of the included headers. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- Changes in v3: - fixed separator in commit message - added 'Reviewed-by: Douglas Anderson ' tag Changes in v2: - removed io-channel-ranges attribute --- arch/arm64/boot/dts/qcom/pm8998.dtsi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index 92bed1e7d4bb..41593ebbea2c 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -1,8 +1,9 @@ // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* Copyright 2018 Google LLC. */ -#include +#include #include +#include &spmi_bus { pm8998_lsid0: pmic@0 { @@ -11,6 +12,15 @@ #address-cells = <1>; #size-cells = <0>; + pm8998_adc: adc@3100 { + compatible = "qcom,spmi-adc-rev2"; + reg = <0x3100>; + interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; + #address-cells = <1>; + #size-cells = <0>; + #io-channel-cells = <1>; + }; + pm8998_gpio: gpios@c000 { compatible = "qcom,pm8998-gpio", "qcom,spmi-gpio"; reg = <0xc000>; From patchwork Mon Sep 10 16:03:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10594495 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 C20F0921 for ; Mon, 10 Sep 2018 16:04:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF88B2891B for ; Mon, 10 Sep 2018 16:04:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A2F1129133; Mon, 10 Sep 2018 16:04:26 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 078DA2891B for ; Mon, 10 Sep 2018 16:04:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fxfhYHQczHd7Z/rP8nz0lUK/DrkoREN64qAWr5OWy4Y=; b=p+ZMc79lTxKKPT X5dNL9bQofrN4f+5iXgzX6PtqGp5GuO1b9DY1awGKzCFxflCvOqXCAys7KKxtfdN8fzgjLxWzDLU6 K9X8mqGKlA6BBNZLXn/kJNdk7WquZkKquL3T1iurDTjQ/BvyOu/iJxRa7wAKkqOaPQ3Eyg+k5Id4Z gK1f/8rT7CgY9kFl3mseAP5rUpEbeLTFkleAimVMWKr0LK+KoK4p04CX0PebveCDIIZW8I9YzbGVk Pi7+t4lkJTyvsTL0mMMy8lkmxqQujjQoxIdqacBeRjncn6NdaT2UZzUqGQK/Q0fqmybvmPfrr8kBJ 2+xTXfY5p2zPgcYa4Opg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzOfd-0006DL-1y; Mon, 10 Sep 2018 16:04:13 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzOfJ-00061y-49 for linux-arm-kernel@lists.infradead.org; Mon, 10 Sep 2018 16:03:58 +0000 Received: by mail-pg1-x544.google.com with SMTP id b129-v6so10681204pga.13 for ; Mon, 10 Sep 2018 09:03:46 -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=Pn0YO/ycbcj2ZZfDPJRgtsYZBYJvTqJrPHsXrmqWarY=; b=Ov5okNR3CGie5rIXoOGAvmmQH+euUCIyoe6s9+BwBFaVp1eTWJXjYd3+GcM/wlgu// H/JUGUpXj2z0McqQWqqrxuBHxNH6exYw//l4stS0x96h5IJWzzyf1Uwl8kpDv85kgls/ gXlrmgH7czrPhH2/UA8QbbqxtYo60orrtE/YI= 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=Pn0YO/ycbcj2ZZfDPJRgtsYZBYJvTqJrPHsXrmqWarY=; b=rCAz6J5kH7pxfBJ0P2o9Ar9ZCexZb2jK6MXd/jpFoQc93bISp9aHTiqWjhznzKy2DA H9xoIgwhW6eGIrcwzkWcDxAOUwwG5CYB7MJ1Lefe+bdEUZ19e6jmqWm0LldoY/ALYCsB Wk7x4Rfpcd7/whsYVCVszcaSHmeQDi0Aklc7vHtVf5dnW1iyxVXNeZpf9vN7JlaEcLR+ Eh2DmZnhYPUngkT0xyDYL8edQpTaB/kDA7oqrLLBOMRGnZfoJ6IW14TvAPRw//APfVyl PTZbL5FSCHHmGNM0PhYhnoRvioPwDpm512MQaCZ7G12ShNeSKKL7VpcsJ+Z39qOyXzwJ igsQ== X-Gm-Message-State: APzg51BFyKdIHw9x88583N9dhHLOi0pdKO1ZtWqJBNnLSW2naldrsc/5 tyq3iJBqNr564VRgjEiFA+Ua4w== X-Google-Smtp-Source: ANB0VdbhfLT0orMwGgdB8llK8YdItQGxlDdjetki6Z+AFQteCBygkglyf29f+shra5QqSbVuWkWWaA== X-Received: by 2002:a63:7058:: with SMTP id a24-v6mr23176159pgn.206.1536595425877; Mon, 10 Sep 2018 09:03:45 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id b3-v6sm33893517pgm.74.2018.09.10.09.03.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 09:03:45 -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 Subject: [PATCH v3 3/3] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC Date: Mon, 10 Sep 2018 09:03:01 -0700 Message-Id: <20180910160301.237538-4-mka@chromium.org> X-Mailer: git-send-email 2.19.0.rc2.392.g5ba43deb5a-goog In-Reply-To: <20180910160301.237538-1-mka@chromium.org> References: <20180910160301.237538-1-mka@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180910_090353_355616_2F97F4BD X-CRM114-Status: GOOD ( 13.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Matthias Kaehlcke , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 --- Changes in v3: - fixed separator in commit message - remove duplicate 'Signed-off-by' tag 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 {