From patchwork Tue Jul 24 23:46:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10543323 X-Patchwork-Delegate: agross@codeaurora.org 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 72A79112E for ; Tue, 24 Jul 2018 23:47:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E3BC29571 for ; Tue, 24 Jul 2018 23:47:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5190A2962E; Tue, 24 Jul 2018 23:47:21 +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=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 EE91A29571 for ; Tue, 24 Jul 2018 23:47:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728210AbeGYA4B (ORCPT ); Tue, 24 Jul 2018 20:56:01 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:35934 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727646AbeGYAz7 (ORCPT ); Tue, 24 Jul 2018 20:55:59 -0400 Received: by mail-pf1-f196.google.com with SMTP id d14-v6so1226969pfo.3 for ; Tue, 24 Jul 2018 16:47:06 -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=k3gcbvn8mw2hRJRDyRUzU879qvsdG7D3H9+KZ2b2FUQ=; b=OOieoQOkwiEGYz/JM38b3UEftpTD/4Y0ioqoNAReelW3wIjXIzaqxRFT7uLDEcAgRN 2FvQIcVFVDCYZd3S/LiIMOWK+11Iom3MSzwsyhBAuvELtWc+tU7Bczhq75RNsma7ZpQr owRar08A6oipgCowIMZxFUCFRTNEckaEiPrxWK5QiIHB//EJ6weGqBKG0SIzTfSYgV5I xnqigrIh1X/SzC5/ChL0GvDaVKVu3i8cmbEVMIC5h3jDBHwg3zXyU8oGy/KVgTm0VRkR JGxbVYdYyb0+ATYHlVvAgbXctkbKBd8qLrKmVtxZWBdyEXHkQk8bg2TqFdIi/PhHzeUo ViGg== X-Gm-Message-State: AOUpUlGEqNvE9nKWdnu7UqzQPSx58JRoZNl9OIFP7K3DHJeDfHlxNcfM bJxeF1RtXXv0UpC+awYoaY6wuA== X-Google-Smtp-Source: AAOMgpfaN21mCYdFng4NMmn3XokDlrkROoWlFu14gh0nlmHt0TSF3n/Y6z42AT96FJYhIBvSxaDfhA== X-Received: by 2002:a63:bf08:: with SMTP id v8-v6mr17757113pgf.3.1532476025890; Tue, 24 Jul 2018 16:47:05 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:0:1000:1501:8e2d:4727:1211:622]) by smtp.gmail.com with ESMTPSA id 12-v6sm17267970pfx.128.2018.07.24.16.47.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jul 2018 16:47:05 -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 v5 2/3] arm64: dts: qcom: pm8998: Add spmi-temp-alarm node Date: Tue, 24 Jul 2018 16:46:35 -0700 Message-Id: <20180724234636.57137-2-mka@chromium.org> X-Mailer: git-send-email 2.18.0.233.g985f88cf7e-goog In-Reply-To: <20180724234636.57137-1-mka@chromium.org> References: <20180724234636.57137-1-mka@chromium.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 v5: - added tag '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>;