From patchwork Wed Aug 8 19:13:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10560453 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 D511413AC for ; Wed, 8 Aug 2018 19:14:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCC4F28C71 for ; Wed, 8 Aug 2018 19:14:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AE8EE28D1A; Wed, 8 Aug 2018 19:14:43 +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 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 4FF1F28C71 for ; Wed, 8 Aug 2018 19:14:43 +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=2YksZxMQfvoU2ig8OMKVolizA+p1l1OVE5+xwQ7h1tM=; b=VWrc8PpenGmZt7 nxno4Bt3R4/x6WqXH4xiJzyuSoO3i7gFItIaJWigRltYxru7Im7VJBTiBiYIojWTyOZwIRVJuC6OL 3B8T59SZjC1KxuT5jL78uFRSmfRiQbW28O8/a4BpKClUXPliEvMNSlXduc67XenoV/KtcPQ2a2RJy xBINvdflKonO6uE1P/yMopTAJgpm1pBvvwx9c1+vbhzxrGyS3yw61eUy93/CGDgHvATwB9EvuqAN0 4uT4BHk1qKFH9ll3B8eEmTSJrlR0bnbKpeQN+ij+c/qiXijl6CFL6eduogJVhP49wpZwcmIVwMrCI OzjwrfhIFWY7JY+JyYrA==; 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 1fnTun-0006jh-4q; Wed, 08 Aug 2018 19:14:37 +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 1fnTuZ-0006V7-O7 for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2018 19:14:25 +0000 Received: by mail-pf1-x441.google.com with SMTP id j26-v6so1593035pfi.10 for ; Wed, 08 Aug 2018 12:14:13 -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=Ah5CVFph/rLL+ZJ1gEnQ88ZVR9bFIAJr3uYoDi+MZ2Y=; b=GQCnw6BksSGfcvZhRg2x23sBZQ5Xl00k6ibEMWAZWdF3JjgM8YhJTMVFltg9cDGcmh 8hCIithgzQWTdy+/ifQcZ+xashj5wYmSylFQ20aCmIFJ/a6/OmG2hbP/Uy/fAxqfnk29 B0ahspmtI5hEnuXRwq3o09sWXF7/2fBW9Nm1c= 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=Ah5CVFph/rLL+ZJ1gEnQ88ZVR9bFIAJr3uYoDi+MZ2Y=; b=a05RFKLiIl7dm5tGlgmniie1UPwi1NoGTRHIo+m89iKUYHN/An0JxmTJdKVkW1ocj5 tRFiUNxIIGb/U8pzUn5fGS2jEEZvb5+i+vQB7wbmPPscDE2y3S4TcKptuMH56RskBLDF fBEiTc0Zy+74HgMqGSOdPPxPTvfV19NpnxfVnji+rKtSeUOr318+aAKi/oh2VZELYSE7 QwIEaCca2UQF7uqInM2cEiC14OgNw0rwXJ+kSrYOYahBZEJ3ySYxr8raNeV+z0NKlX2a 12DoLjaw9WNrHz7ylqHS8VQz3kFRHZ6VOTY85F4qrg/DJgOZKlXbg0mriWuP0F4cQ9MZ 1xUA== X-Gm-Message-State: AOUpUlHYYAJxyI59lIiRWQbJoRLPcEIAxKaFYO4unbjVGYPpsnWhIqzy qj9zx2eGUH33kGmJRMAYWEgL+g== X-Google-Smtp-Source: AA+uWPzQlndd3Z7t9c5d455gzVPkeo+9+M/uIKlLLLblo4HzBJITEl5mGr99n9B25SmQ0YuFfI/VKA== X-Received: by 2002:a63:5350:: with SMTP id t16-v6mr3644366pgl.196.1533755653025; Wed, 08 Aug 2018 12:14:13 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id f5-v6sm5431136pga.58.2018.08.08.12.14.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Aug 2018 12:14:12 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Subject: [PATCH 1/3] dt-bindings: iio: vadc: Fix documentation of 'reg' Date: Wed, 8 Aug 2018 12:13:37 -0700 Message-Id: <20180808191339.16875-2-mka@chromium.org> X-Mailer: git-send-email 2.18.0.597.ga71716f1ad-goog In-Reply-To: <20180808191339.16875-1-mka@chromium.org> References: <20180808191339.16875-1-mka@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180808_121423_781310_071C0577 X-CRM114-Status: GOOD ( 13.02 ) 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, Douglas Anderson , linux-arm-msm@vger.kernel.org, Siddartha Mohanadoss , linux-kernel@vger.kernel.org, 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 --- 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 Wed Aug 8 19:13:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10560469 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 4B35D14C0 for ; Wed, 8 Aug 2018 19:25:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37B962B1DD for ; Wed, 8 Aug 2018 19:25:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2AD162B1F2; Wed, 8 Aug 2018 19:25:46 +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 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 A0A742B1DD for ; Wed, 8 Aug 2018 19:25:45 +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=WnFDYQ6Scg8whWrQc2x+0DJrXd8GwQ/PA0d9FG4mXsQ=; b=VRf1z0QcMSqNz5 5LqM28rwDcSauLvhO4zGIuiI4a0t0HOKwqAHUAW3OeYJOey/VVK9sWsrTACsnDmsGfnygHr5OUoGh 0NfOZPX3oeBZK1rSrXqfAP8yu+y6SLg8B0eiqH+UvBBa42h5/tbcoYsVQSj4OQctGrABW6M2lM+Lx xzQcjdOJ02wKewq2jkDBJBJ/WATKsYFrSBoWbYUdgQvXGjwR8zNKREESmyF2CpH3/Yu0v84ZIdvRZ /X9Ga1XR+12K0TNc8meMnEMwdsGUmO/kAowckM6Udvv5vjSUH1Z+XYxTVZ9yFpS8/viFsp+sd8+qN MYoKGEarLq60Kb4n5Fug==; 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 1fnU5Y-0005cw-3M; Wed, 08 Aug 2018 19:25:44 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnTua-0006V8-Py for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2018 19:14:26 +0000 Received: by mail-pf1-x443.google.com with SMTP id l9-v6so1594573pff.9 for ; Wed, 08 Aug 2018 12:14:14 -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=xBmzx1O6HmlvU/FJnSO+pWnBg/kMbATEjB0Ym+YfopU=; b=UI9QXx9r22dD/TPmhmHPT+weyjCTHgzjjaKC2JOBT9le0rzsbABrLyMA9eZIehJI4C XCtG3NPe03sjpSz+k/f+cFf7YYYH3Nm2v+AgUrzBIwl4tPMW0tNnoZyVC/kdE2xbv68r ckB+gqthzXS6O130xZrCJwNvSbsU9NV+toXtk= 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=xBmzx1O6HmlvU/FJnSO+pWnBg/kMbATEjB0Ym+YfopU=; b=ZNwpT52uGthg9D/A9e6a6SAEws7lTL/hd27e/ZnyIY7B1gDKUEeJRP4qWb27NXw4o/ 1PPR5xTpu6WHleOQD4F61z6xVfQuH/BH8L0uEfE3eN2+97Rn7hyon9VY1TVpqE5I2OCc IT1+oJ1Eoz+t5he0BwFmJAQpFevncAm6/l+OX0oW7Unr29qu38+WGRu3I9q2qAxekooT uChk5N+rhgJ2p3eKY/JUE73ENuDACrPG3AWpRug2CjFZ0Uqqwulf7epQ4tG9EdbgFADg rlLlWl5HDpFh1gAe8wT4pfyL5cHwyJ0mbglDhIecVnflc5ww/vlPxnp4005dKr5FNSTb wc4A== X-Gm-Message-State: AOUpUlFmacppCrR4s6as/JYWL6S/KYpfh/Z+eSrzY+GW09cAKI2v5524 4pER3TB8dUr/DzKSphxd1v82WA== X-Google-Smtp-Source: AA+uWPyotgpIgQNhY7G1ezpVgz5o90v2hPeZF3prg8DhksX6gkugXQEZOYO3+5cRdTA/sR4zlFUF5Q== X-Received: by 2002:a63:68c1:: with SMTP id d184-v6mr3682388pgc.239.1533755654004; Wed, 08 Aug 2018 12:14:14 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id f5-v6sm5431136pga.58.2018.08.08.12.14.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Aug 2018 12:14:13 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Subject: [PATCH 2/3] arm64: dts: qcom: pm8998: Add adc node Date: Wed, 8 Aug 2018 12:13:38 -0700 Message-Id: <20180808191339.16875-3-mka@chromium.org> X-Mailer: git-send-email 2.18.0.597.ga71716f1ad-goog In-Reply-To: <20180808191339.16875-1-mka@chromium.org> References: <20180808191339.16875-1-mka@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180808_121424_844933_7BF38B64 X-CRM114-Status: GOOD ( 13.07 ) 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, Douglas Anderson , linux-arm-msm@vger.kernel.org, Siddartha Mohanadoss , linux-kernel@vger.kernel.org, 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 --- arch/arm64/boot/dts/qcom/pm8998.dtsi | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index 92bed1e7d4bb..f70f6101bceb 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,16 @@ #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>; + io-channel-ranges; + }; + pm8998_gpio: gpios@c000 { compatible = "qcom,pm8998-gpio", "qcom,spmi-gpio"; reg = <0xc000>; From patchwork Wed Aug 8 19:13:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10560455 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 47778174A for ; Wed, 8 Aug 2018 19:15:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31F7928CD3 for ; Wed, 8 Aug 2018 19:15:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24E4B28D9C; Wed, 8 Aug 2018 19:15:03 +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 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 AF9CA28CD3 for ; Wed, 8 Aug 2018 19:15:02 +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=ZT3i2g3cFTUK7Z9C6O64g4QEOvkZ/BcJQKN/C7CwHMY=; b=R0yoJFgG3UcnH3 fz4tCUAphRiC/DdvjVDNsOed4EYBhhuO/GpmnCmnjQDI4Wn080MuuPPrCZFMKJ51NzgW/JQTqVHFH 8jY1C+4TKKcLEr5KvzStVZ90IEB5LsYOpCU6rI9NW2ccSSlzclxVriiHD8BZ/V341Mv05nL29YcrF 7i6nWmNFfUr+8yFSOczEQEHxZTIhSovFK5NA9VQ19Gl9j2p+Uppa8u58xHRTP+pKzjLQSsGV55ihu fi1zH3ArkEjLrwMlXB0j1tk9IQnpJPJP4AzJCp7VqCJUAOMjvfODe15IFxFLiqSGYTzOQjqA8Bv0v 2d0uLkWccr+1WkVJb+JA==; 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 1fnTv7-0007B8-Dp; Wed, 08 Aug 2018 19:14:57 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnTua-0006VA-Pw for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2018 19:14:26 +0000 Received: by mail-pf1-x443.google.com with SMTP id j26-v6so1593068pfi.10 for ; Wed, 08 Aug 2018 12:14:15 -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=H9mjVMXV3r/soRGXLJS1G2w0di8bLwglKq/vOsLLtIE=; b=cU6M4DRMKyJTgQUotIUMRxTS3R6f3WAzJSGPB1+4DorSusXycdWJKvXqOe/ZGcxdT5 ecsNsmfDjOqhef9PvB3V0v58TFVhR6h+b1xVOagEWXCI0jo/RIycEPy19s2wMnRi6XgU HfOyS3zBxFBmv93Urq/JwF9KSpob3Be7FJCMY= 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=H9mjVMXV3r/soRGXLJS1G2w0di8bLwglKq/vOsLLtIE=; b=iMonk8GHc2jBey5pSwEsco5PCCAG94pm0OLT4p9czi3Q/7Tdws3a16g1FDovbIyxCd B5FwV2VrnGqw3u3/KPwZPmeyeLQZ7+NJ9b1PRo+EMoa3+czHhFPTLtmiHFkAu/dUrdZP fSp7kbkK6MV0gBSx/zdHSkG+yQQ69p5igrcpQLPQX2wWFh+jD3z5q6pzvQStUUawmBJ5 QmkJjj7fGmL6fzQmnWdCnmLHnW3Ua6SpbHPkY0SIe2ovayLc2l2RuzfWTugJmiFEkhbu HE69Rf7PZ+g6PcW7O0dETtC4dkawrKHuf5Abs8b8uBJdaWfNY1KGERbIaBT3ujojGbjW Suqg== X-Gm-Message-State: AOUpUlF75GXQ6xb8IoEaPBI5iEECkvsdNZB6pHvc1EJuXTVeHJnQriqm jldlNCfZSqhWBsciciDFWQN8WA== X-Google-Smtp-Source: AA+uWPzTORRogqggBik7ilpFw3zqYLj3/4whq/OjwHvVJRSKMV3FkIbi1eeSenm31kJLS6qkDNuunw== X-Received: by 2002:a65:428b:: with SMTP id j11-v6mr3655670pgp.200.1533755655041; Wed, 08 Aug 2018 12:14:15 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id f5-v6sm5431136pga.58.2018.08.08.12.14.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Aug 2018 12:14:14 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Subject: [PATCH 3/3] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC Date: Wed, 8 Aug 2018 12:13:39 -0700 Message-Id: <20180808191339.16875-4-mka@chromium.org> X-Mailer: git-send-email 2.18.0.597.ga71716f1ad-goog In-Reply-To: <20180808191339.16875-1-mka@chromium.org> References: <20180808191339.16875-1-mka@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180808_121424_843549_B4BF0CEA X-CRM114-Status: GOOD ( 11.97 ) 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, Douglas Anderson , linux-arm-msm@vger.kernel.org, Siddartha Mohanadoss , linux-kernel@vger.kernel.org, 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 --- 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 f70f6101bceb..499bae0afb7f 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -20,6 +20,11 @@ #size-cells = <0>; #io-channel-cells = <1>; io-channel-ranges; + + die-temp { + reg = ; + label = "die_temp"; + }; }; pm8998_gpio: gpios@c000 {