From patchwork Mon Jul 9 21:25:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10515779 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 6A7B8600CA for ; Mon, 9 Jul 2018 21:25:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56F3728D37 for ; Mon, 9 Jul 2018 21:25:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A42D28D9C; Mon, 9 Jul 2018 21:25:51 +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 0786228D37 for ; Mon, 9 Jul 2018 21:25:50 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=s2i+F0MVPJIm7iOJLQ9+y9PvdVuUoR8q053kkWEhUxc=; b=uzo op9dqs8hEag9fErqrlAeY6/qqXUgWKj83T/xDRIuv3Bu66ALo/wWkb/vj262rERV4MyAuJ52ADpsR pCM20L3o8XGOCciWb2wr54mkuaIs7P0IyS3qOtWsJbtHRUTiiOAz51Ne+judqGKGFWNBVHmtyQjY4 fqiGFZdJt2SQY1sesr1LEUsk1qNBg2aaL4ezN2j86M1ngONZaaz/gc7MMEehhdukx7RhVTta+IbrH WvwTYxi+AvblqbfTw1fk59Z2xrlhQEQYCtPDXKaiGMOf7Geo34MYvKYQkaWhDfgfMylfqqrL+3Fxj VxeHkpmPK0tEeqZqFpFQFKPymiMLsmw==; 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 1fcdfE-0002iB-Gt; Mon, 09 Jul 2018 21:25:44 +0000 Received: from mail-pg1-f196.google.com ([209.85.215.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcdfB-0002dP-Oo for linux-arm-kernel@lists.infradead.org; Mon, 09 Jul 2018 21:25:43 +0000 Received: by mail-pg1-f196.google.com with SMTP id r1-v6so1516485pgp.11 for ; Mon, 09 Jul 2018 14:25:28 -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; bh=3Cuc9hwG1CcGXmvmKWnQTUtY35lr0XTKRn1pU5PO+lU=; b=b6dIRxMaTCg438aWXyKpLFoNCHDkfJfzgqgu6bLQSyz/X+DFlDB7wOJa0CjTzOg+Xw JqrnOJ1emQng8OZMFQ+aew+VjcxK8MeBy6oEYNfus7zeAl/HoXzAzEZ3j+7x/KuaimW+ BOi2H8buEB0Gsn7kmj3b+mocWzO+ewq+MEq+aA28sxHYG2csZn+lNP3gWbndLTSt53Cu PkUZ5HgxUkM8za3ZMsCbbeTyR/UgxschmMTi3I8PQ22/P3GCj3Covm5MmzqkKLG42FBl BnjnxvbqC/V+BEbZqo10LJfetRIVrrn3HvS37t4Ys0W42+IvBkCf0qmM7IWWdMo/gljE 50kQ== X-Gm-Message-State: APt69E3SHwiJUUzHwQEycwmwomclc0xQikKtCI+hGwX4+dKD2oJg/aNt Sh9ipi5hCGrnusJoHiWN03GLSA== X-Google-Smtp-Source: AAOMgpc9gumlF/KWP1VmBExBs/+tkU0+mWO4zd9SSkgbBumkOFVpBfd0QgHKjgX6bvjrRx0XnTup8A== X-Received: by 2002:a63:7e1a:: with SMTP id z26-v6mr20196728pgc.278.1531171527632; Mon, 09 Jul 2018 14:25:27 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:0:1000:1501:8e2d:4727:1211:622]) by smtp.gmail.com with ESMTPSA id m9-v6sm22566221pge.25.2018.07.09.14.25.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 14:25:26 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Subject: [PATCH v3 1/2] arm64: dts: qcom: pm8998: Add spmi-temp-alarm node Date: Mon, 9 Jul 2018 14:25:21 -0700 Message-Id: <20180709212522.187257-1-mka@chromium.org> X-Mailer: git-send-email 2.18.0.203.gfac676dfb9-goog X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180709_142541_807782_8FB9FE5B X-CRM114-Status: GOOD ( 11.65 ) 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: David Collins , Stephen Boyd , linux-arm-msm@vger.kernel.org, Douglas Anderson , linux-kernel@vger.kernel.org, Matthias Kaehlcke , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 spmi-temp-alarm node to pm8998 based on the examples in the bindings. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- 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>;