From patchwork Thu Sep 6 21:04:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10591063 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 5D4625A4 for ; Thu, 6 Sep 2018 21:06:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47F7A2B232 for ; Thu, 6 Sep 2018 21:06:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 380A82B248; Thu, 6 Sep 2018 21:06:32 +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 CA38E2B232 for ; Thu, 6 Sep 2018 21:06:31 +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=XtQUMAXPbYP0ohUfbUqKw0Vifgvk7vBkwlAYC/kLiTA=; b=YQ+OHQeY46sCHp aGTJRtOdBF8zadyAtpxQhtjWfsVdzJ8B5QXMxntoW4r4dRlDhEroUpEfaY6TAOlvv8tIZJYwyaMfe UjX4JAG24SC6MAgTlbmTpQwWXSU1rphTDXyGG55aeVhYGR+9YYA+tndArtbTiOI1l43dEpYMlRIvd OFkl5OymUo7HFPYruuaKqT0hTiCRBRwAw4s+6MVsIRDrjsQiK0yfdFHZsKyml5oi7btdH6oLyJgC9 rvi+Vs4tb4pZfJ+fNNC9nRrqF+Vlrhe2/SozOj+CXSTDZ0cwDtpzzfgY/WKHd5AMfbdQx8ePEw0uF fWdtTnP8blDyWbF/t4fA==; 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 1fy1Tm-0004Lp-RJ; Thu, 06 Sep 2018 21:06:18 +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 1fy1TE-00044R-Ef for linux-arm-kernel@lists.infradead.org; Thu, 06 Sep 2018 21:05:45 +0000 Received: by mail-pf1-x443.google.com with SMTP id k19-v6so5895067pfi.1 for ; Thu, 06 Sep 2018 14:05:34 -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=vFlxfVRSjS2EsnlOC/4qKCm1oe1/j2za0S0N4a70Cyw=; b=Td6541f15RDc0tm8IvwY1Dyk5K4GHRuOSEilQDqW7MPXyGayHmch6wmkX68/1T+pMj XOKi4LvLLXQSJJu1sxpmc3kosdwdpF0VrBkB+k1BTqb/SEB3PN2X55XWDYx1I+qwa0MY GKHO0taF9SkU8ZhC6SBq1uCoXQeqXSv6BYJg4= 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=vFlxfVRSjS2EsnlOC/4qKCm1oe1/j2za0S0N4a70Cyw=; b=ZuNML6QDLNdcdNLhYSuZ9WmdvKWPyQFT3d+On5ultQTfKhsi5hjEyhoePVZfC5NjVu a01nrxrl0CkgEom1wzgT1WnJtY7XTzu77Ork1OEULeSonsTHIFsObHqjQ2rHJdxk2R5s m6wNnBk5EdQdWrg1KC120pInrPw8Yuipk9J+taADDNaUOyYQObTeArsBkeCFXRkKbnQw i/hzSJF5x21yio5O/EXWdRy/JbS0PFMy0oqEHOO2phuyuzdStyClhR647mOlFajPkh3H FUwKaA7KaITL7cEjBJ2wKSRM0KXnfjngDRR0LpPqJUujOa8A6DjkPXcGj7FWchzuLity xCfg== X-Gm-Message-State: APzg51D7ke4gEEnutlqa2aKekTNtJkLre31b2TOqQOGAue6PWTgrwlgz kSqARiL8bHDcnfVtS7wuNX6DQg== X-Google-Smtp-Source: ANB0VdYZKxiklFX2ndnobTS1L3ol8LfyaOtW4VPfKlrbS1vHX8BMQZYuT4x17Q4nKDyq80FB6Bv/EQ== X-Received: by 2002:a62:d44a:: with SMTP id u10-v6mr5005730pfl.144.1536267933882; Thu, 06 Sep 2018 14:05:33 -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.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 14:05:33 -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 v2 1/3] dt-bindings: iio: vadc: Fix documentation of 'reg' Date: Thu, 6 Sep 2018 14:04:52 -0700 Message-Id: <20180906210454.247219-2-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180906_140544_488418_A7D9CD19 X-CRM114-Status: GOOD ( 14.10 ) 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 Signed-off-by: Matthias Kaehlcke --- 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 Thu Sep 6 21:04:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10591065 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 B66D45A4 for ; Thu, 6 Sep 2018 21:07:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F86D2B232 for ; Thu, 6 Sep 2018 21:07:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92BA12B248; Thu, 6 Sep 2018 21:07:22 +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 3BE8D2B232 for ; Thu, 6 Sep 2018 21:07:22 +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=kwFabY4CVM0EVNzO28sJ9gGVcfFLG6Sfe1xNklmY09o=; b=sV2HOaH9G3xeMW dJurQ3P85e8mIA5Dj9qk5why+Xp/Pp6GflZ2qzBSLpyn9hxb5gYYMVaSkN4y0XJVr4ehQ4r+WntpE PG67bqnWlsfNdJGK1ID3Ioeh4DhRjIFdr53ggWylMpfvd2x8XauKvTdnt69qZFM+GkcD8esgJQg3Y eluNDuxfaQh3RZt6h15XpYguEIlccOzERmKcZ3fhu0JrhimHAgtpD9Uf7ySZNf5imBaX1H/Yoo6Xg m0mnHuj/5nADeA2BI+84TcW2/N9SnomjGCIrS/YvczT+tseL7vy07eVEqqJGGcV+VLox0vA0acstv hx5tU15RGpiaTT6wwd6A==; 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 1fy1Ud-0004iy-OH; Thu, 06 Sep 2018 21:07:11 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fy1TF-00044d-Dn for linux-arm-kernel@lists.infradead.org; Thu, 06 Sep 2018 21:05:46 +0000 Received: by mail-pl1-x642.google.com with SMTP id g2-v6so4577648plo.2 for ; Thu, 06 Sep 2018 14:05:35 -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=NsxEEp1YuaF4+Xx32M6ZV98/mEpGcOtgX+T6zkFwWxs=; b=W0qpNjwpuHXr9j6ogd/zGiLkWy1viJkfbBcBVmzrM4KCDoRemM6X9tBRhtAOrZtOpc QxLGhEJ5vvmMQpkbpi0KNDN/Ro/Fu2Whzmc0h+uA0PwtWl4LwD7hnQOzMf525PEytw6d 3pUIC4CpdF5P9X2dXHVTrh1tZOeuaKCiR8+30= 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=NsxEEp1YuaF4+Xx32M6ZV98/mEpGcOtgX+T6zkFwWxs=; b=gSVMaJ+ce/hiQSnHHfMrI8l9oW4V5+C+LVsl2bouqNWQGeZVSk5c07d2QSfpEN139f 1B29rrBV2LVzLXllkG3aWabM2zudxOj1Y3yJ6rJ24vTbYlH7KwG2DUeHNgE8bJjDNmaH NuCsUwrhUtvU0CqU9Im58YPDKBB9o9CJ9+86OzCKSv2kXwcYh6ldrLKrz+kAFLS+lviU jweEJMf7A1O3ejInVGLSob0ZtX0h2EYzhGfXeI4clltHsqAsNTLzlIjivH6C2nRDe/rc mfLZZ6sWBwKDscumsGuzrTJi65y8/BlTpT4KvFVmTSHgpukOWuQkw1okuzZrBIVoMbBU v3Mg== X-Gm-Message-State: APzg51Bd6+vpg+ZkWV9/GA0DexXezbwM+1t4HM0IMd3eystpp3r55LPB StGFKn1uQkGZ4xIMEUxasfg65A== X-Google-Smtp-Source: ANB0Vdbvoe/ZfyQVL3cONjbwWKa7iwkpti0ZUm5U1MBJXyKVywvQvC2LjV9W9nnb41Kz0cOyxVt1/g== X-Received: by 2002:a17:902:4601:: with SMTP id o1-v6mr4751820pld.202.1536267934905; Thu, 06 Sep 2018 14:05:34 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 14:05:34 -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 v2 2/3] arm64: dts: qcom: pm8998: Add adc node Date: Thu, 6 Sep 2018 14:04:53 -0700 Message-Id: <20180906210454.247219-3-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180906_140545_485381_99AA4489 X-CRM114-Status: GOOD ( 14.72 ) 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 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 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: 10591067 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 BCFF45A4 for ; Thu, 6 Sep 2018 21:08:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04EA12A3F9 for ; Thu, 6 Sep 2018 21:08:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC9E42A426; Thu, 6 Sep 2018 21:08:00 +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 8C0302A410 for ; Thu, 6 Sep 2018 21:08:00 +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=MwIv02d9eIGgyjwFVoi8NdDJTEJgAmySv1Nru5IDMBU=; b=b0m9fhSCYQ+JvH niVrEgjYSQzgUXTurz3ioPw0Qj2XMX4rNqZaVRUFrTl7+GxMlfmtPuaHpYUCA9kqArv/jJpjWp5fZ fIEp09ZCrdi0roGqri7ZSzWcjZjzOELb1DjnXEehJJKptCrmUfPED55kUid/QfVY1ZjEQKNN8F1K4 FkoJzAHUcMS2ndbp4sP4+AmnSOiyZ72n+Jv5Th+ROx5WvVUxK7pgUDJwztvu8+gWLRhOQqeo3GZqR PCxjIhqfKELqgVqEC1fPpMroNWG7nKP8ejye52u+zw4T76spaN935DtGOm+HrwArRbGawF/fCF8e7 u8pOhved53d7DsSyWUPg==; 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 1fy1VK-00051b-Ob; Thu, 06 Sep 2018 21:07:54 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fy1TG-000455-Dg for linux-arm-kernel@lists.infradead.org; Thu, 06 Sep 2018 21:05:47 +0000 Received: by mail-pl1-x643.google.com with SMTP id u11-v6so5539228plq.5 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=pm7X9eIwSuarFD20FG0Oj/odQD2Afoxovmb/pOgKB9Jf2duhC7VPnj1FBXEmgjj5zM KYuoNpTvAYt1KD4WwEkSU1c9uKfJpmYWbwU+/J/Ua4u5P9/Aig0J+AGPcHnoXilKHui9 a1YOjVtJ39UMcJISl9r6K4KylrvgGfrnWDCgibyWETLzIO3Xbu/vRun5NehObG7bKBJN Wa57WTAWhqJ0Q1+GUxO1WgVUqrWPQSvDFlxneqnpCBgybbUcZhW9ag2TO1ftBVJkB3WX kMPCZm5O1QK3pv9RU2j17+GdZFvWcY2ZEDsq/bNrBwsa2Gy2uZC6mnCYtG+2I6TJGufe Qkkw== X-Gm-Message-State: APzg51AMmRslqY1eiR0Ko1l6SVmbGE1QpIN7br5BUWFsB7NqPJ8sguyo qFKPpOx+xRUuLexJIWkKuDmESg== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180906_140546_455894_C6C87C9D X-CRM114-Status: GOOD ( 13.22 ) 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 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 {