From patchwork Mon Jul 2 18:10:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10502211 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 11F8060284 for ; Mon, 2 Jul 2018 18:11:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03B2528E7D for ; Mon, 2 Jul 2018 18:11:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E8FCF28F6F; Mon, 2 Jul 2018 18:11: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 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 9175628E30 for ; Mon, 2 Jul 2018 18:11: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: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=A9C44OaeLBuWiF1gGIODdPaA1xUINn4aDOPKu96zvHw=; b=Sq+ I2DMBlYNCaElscaSKXxJ1gd1Yv63wViFQ8UDEgacrgzYgsej8mdzLOgW8bKHTLlurvSDLujpTVvXY d/viTqS1BqUG1PYmd8LwDV5sHsc2lFmalVU2Lx4kMZ6CPip1xz3gsqTO+KFLdwVPzabKne84347yM sTfxCs0NGOZRAFzlgpw79eqP5ETUvFSEMSofK0tYD3OpTkU8pr+xhBz8T0JDTrUWSPO3z0CcUqGCS AlC5UhIDq/1534UvHHXy2IBMbr9hkt27wWYFpHRVinprc8sb2puFVP/uUNmkYc0L2DAgM2gyQY/6v hsgX1rZWFL6YwsjSh97UiuTVwr/XOiw==; 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 1fa3IE-00078c-6f; Mon, 02 Jul 2018 18:11:18 +0000 Received: from mail-pf0-f196.google.com ([209.85.192.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fa3IB-0006tf-68 for linux-arm-kernel@lists.infradead.org; Mon, 02 Jul 2018 18:11:16 +0000 Received: by mail-pf0-f196.google.com with SMTP id b17-v6so7873697pfi.0 for ; Mon, 02 Jul 2018 11:11:02 -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=0IRjJb2eFpt1TBdmR5MhAa763fxtdR0aXOOhUWFEjQQ=; b=uPkPmaGVzAWUVzKPIJoGlWXApb+ydhs8XYgtgLm+thwC5y/oriUnsXU2TTSV39hV2E uFFAK3kLroGiB1mRsAJGTxOeNW+s4FiMcqL/cRkNDcPUz4ome5309JAMLvXIw9gNfl+7 gC1Boy3KJ8aFVO9MhuOXU1wSQEpF/1gtkXDcB8qvUH2r8/cTsCo35UcAjRnpnH2K+E+g nSaRGnTZKOIBSocEGnwMGhcr5Qu15DBWI/WceVKXclHEYP2pE+Hy5SzDa+dGvQ5nvess PbVYU1F39OJa0D19zYmF434WZtZL9rWuHBXfDurkFigUko4x374yoZpcM9Fbi3erg+kP +Kjg== X-Gm-Message-State: APt69E09fQSwq1VDR6rpfKeldjgn6f1zyDayhxSFbh7f9xVlW2EiXBCY CJvwAWV8Ll0RAhpv0LIMD6X1rg== X-Google-Smtp-Source: AAOMgpe7/wTFRBLpuY09TGHarAcY7W12dfqcOIZLpvKEKgX+JvzPNcZvjzdWEiPtfXm51j/0GUSjsg== X-Received: by 2002:a62:f909:: with SMTP id o9-v6mr2371888pfh.141.1530555061708; Mon, 02 Jul 2018 11:11:01 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:0:1000:1501:8e2d:4727:1211:622]) by smtp.gmail.com with ESMTPSA id h75-v6sm10048372pfh.86.2018.07.02.11.11.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 11:11:00 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Subject: [PATCH v2 1/2] arm64: dts: qcom: pm8998: Add spmi-temp-alarm node Date: Mon, 2 Jul 2018 11:10:04 -0700 Message-Id: <20180702181005.18247-1-mka@chromium.org> X-Mailer: git-send-email 2.18.0.399.gad0ab374a1-goog X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180702_111115_251603_498D14BA X-CRM114-Status: GOOD ( 11.50 ) 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 --- 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..2f4989e7ef68 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: qcom,temp-alarm@2400 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0x2400 0x100>; + 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>;