From patchwork Tue Jul 17 21:08:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10530739 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8F377600D0 for ; Tue, 17 Jul 2018 21:09:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85799292A0 for ; Tue, 17 Jul 2018 21:09:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 795B5292D6; Tue, 17 Jul 2018 21:09:14 +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=-7.9 required=2.0 tests=BAYES_00, 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 321DB292A0 for ; Tue, 17 Jul 2018 21:09:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729742AbeGQVnl (ORCPT ); Tue, 17 Jul 2018 17:43:41 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:37812 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731580AbeGQVn0 (ORCPT ); Tue, 17 Jul 2018 17:43:26 -0400 Received: by mail-pl0-f68.google.com with SMTP id 31-v6so995760plc.4 for ; Tue, 17 Jul 2018 14:08:57 -0700 (PDT) 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; bh=bPRaQP/phER6Yrf1g8s7fULsmxW+AmhTsOUxjRfrtLY=; b=IUIWxAdZoFlSZ9t3aDZfLQhhALm+iPFuZuaAhEYt1LmpBKDeJ0KOufeUW1eP+oi6Zr dddOIbi3h9oEAdYRhrkxcJd3gCoWDcTqD5/cbdIHjjK3Uule1EPANO5fZi5dPuYYUHLj 74AipNbUXGl7QrBGaO2RGIKM8U9DCATUEY/QD7+gpiN3G9BULBoPRLSIZAw5R9A/TtpP s3PQm6D7jHiSleDO/ik7gO3bo8gvzec3fg0qZSotFqNjciKafVF0Gty0Fgd7vRyOkN7f nqQSKDfuMxnN8kYy1/GATNI9phBELiaJAjMrQLyKTWiOf5TNaoucNPHzihtjEKuVpa7U VsDg== X-Gm-Message-State: AOUpUlF0Mpw1MUD6knHDZeEnDWJy0RBZ8csQfiuW8I2+5K+ChrppP1h+ 19a0vpklJ1fEIC/67Pv4CrM7fg== X-Google-Smtp-Source: AAOMgpfRqZMPxgZ39slXni4F51gcQ+zF35iWoWNA3v7cW16Oae5W0BoDMbW41xUe/BxmBMeGSvCQxA== X-Received: by 2002:a17:902:683:: with SMTP id 3-v6mr3137824plh.291.1531861737108; Tue, 17 Jul 2018 14:08:57 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:0:1000:1501:8e2d:4727:1211:622]) by smtp.gmail.com with ESMTPSA id b23-v6sm5081924pfc.49.2018.07.17.14.08.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jul 2018 14:08:56 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Zhang Rui , Eduardo Valentin Cc: linux-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, David Collins , Douglas Anderson , Stephen Boyd , Matthias Kaehlcke Subject: [PATCH v4 2/3] arm64: dts: qcom: pm8998: Add spmi-temp-alarm node Date: Tue, 17 Jul 2018 14:08:14 -0700 Message-Id: <20180717210815.245639-2-mka@chromium.org> X-Mailer: git-send-email 2.18.0.203.gfac676dfb9-goog In-Reply-To: <20180717210815.245639-1-mka@chromium.org> References: <20180717210815.245639-1-mka@chromium.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the spmi-temp-alarm node to pm8998 based on the examples in the bindings. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- Changes in v4: - none Changes in v3: - changed node name from 'qcom,temp-alarm@2400' to 'temp-alarm@2400' - removed controller register length value from 'reg' Changes in v2: - none --- arch/arm64/boot/dts/qcom/pm8998.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index 92bed1e7d4bb..7eea94701b23 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -11,6 +11,13 @@ #address-cells = <1>; #size-cells = <0>; + pm8998_temp: temp-alarm@2400 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0x2400>; + interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>; + #thermal-sensor-cells = <0>; + }; + pm8998_gpio: gpios@c000 { compatible = "qcom,pm8998-gpio", "qcom,spmi-gpio"; reg = <0xc000>;