From patchwork Mon Nov 12 22:11:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10679389 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 7FDAC13B5 for ; Mon, 12 Nov 2018 22:12:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7243D29DAE for ; Mon, 12 Nov 2018 22:12:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6615929E8E; Mon, 12 Nov 2018 22:12:05 +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=ham 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 1B58329DAE for ; Mon, 12 Nov 2018 22:12:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730725AbeKMIHG (ORCPT ); Tue, 13 Nov 2018 03:07:06 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:47095 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730690AbeKMIG7 (ORCPT ); Tue, 13 Nov 2018 03:06:59 -0500 Received: by mail-pf1-f194.google.com with SMTP id s9-v6so4945698pfm.13 for ; Mon, 12 Nov 2018 14:11:53 -0800 (PST) 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=Ww6DrvJd07ctjJaJJTAavaoJC5URKjvaFE8KSQ3FlG0=; b=TJ3HQ4A7btn/vTCKPiNPNpWN79l6NE6duFdOjwnvC3UuFbvVCpAPqimxERtxjaivWD a6rsq2YvcV1a2fpgA3NVAzf32MRnUkydFoCcePUM5rdTPXOysiRQHf3svrEzccHcRUPd 4SwuwqtHkz2X/5PSUpJuLA/9CB52j+gWk55Xw= 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=Ww6DrvJd07ctjJaJJTAavaoJC5URKjvaFE8KSQ3FlG0=; b=VzWlJWyEajvl052XfhWE/rqVPaRQ7Ponj3gZIQsjUaNB2c+AhogBXswFaD2H6TFH2/ 4dwHsQSPVSaGUMmF5y6MeooGuIN1wTwc4E4uh/PWc/G/uTs5EjWdPe7M26PGxW3T8Hrn JIjdTxOlh6sZ1mAD4EH2qtCkmYdTArJ4bEO7pgYjEpwS62fXNLfnKU5BwsopF1pL+6ya JnWa4WjjFnxdRBXTeNZh6QUNgTWtsW2FsyYyz017Yk2j7ugZsEhv/vNP1vAe8+n8JyzB T63kl3kDt4jVQzuyJIt4jd1wp1Gu7JT1V3m32O4nu0Z/VsxagDAtWyJe/Aad9n8tVAAT g65A== X-Gm-Message-State: AGRZ1gKDlJWwxqEt0QVzAwXNups36mgcofDmqJc8Ljud4ScTaH8E/fXl JwXO3t1B5yHIA45wSbJTPm57jQ== X-Google-Smtp-Source: AJdET5dplwuRXxegHUk1BpOF+Gx/j7LetycuvuTn12bc8NOh9uIu3KUucbZ680/QR7Ii5OSQRGyH8A== X-Received: by 2002:a65:63d3:: with SMTP id n19mr2413904pgv.179.1542060713107; Mon, 12 Nov 2018 14:11:53 -0800 (PST) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id z2sm16166706pgu.4.2018.11.12.14.11.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Nov 2018 14:11:52 -0800 (PST) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , 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-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Matthias Kaehlcke Subject: [PATCH v6 2/2] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC Date: Mon, 12 Nov 2018 14:11:26 -0800 Message-Id: <20181112221126.27142-3-mka@chromium.org> X-Mailer: git-send-email 2.19.1.930.g4563a0d9d0-goog In-Reply-To: <20181112221126.27142-1-mka@chromium.org> References: <20181112221126.27142-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 --- Changes in v6: - changed node name to 'adc-chan@' Changes in v5: - added unit address to 'die-temp' node Changes in v4: - none 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 048f19fa01504..f1025a50c227b 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -75,6 +75,11 @@ #address-cells = <1>; #size-cells = <0>; #io-channel-cells = <1>; + + adc-chan@ADC5_DIE_TEMP { + reg = ; + label = "die_temp"; + }; }; rtc@6000 {