Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp185983imm; Tue, 24 Jul 2018 16:48:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe+1m+dRK+TYlfF6mY408wjl/QgI1opK42FdjW4RNstw3hDegC4bwXlGdVdktLq20fQAJBH X-Received: by 2002:a65:41c6:: with SMTP id b6-v6mr17866603pgq.174.1532476100357; Tue, 24 Jul 2018 16:48:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532476100; cv=none; d=google.com; s=arc-20160816; b=rClhyt/rX4t8NVFJQTC354LelCrIoRdKTi8O6YTr3Ifj5KrAfsvcpJIdqw+YqvWpYR diZ99IVMV93eyFZ3OAyD+nvGwtM+3sTlVzmsdPtPnkD/2f9YbYgQ8HGZ3XEYQcHgrcJV yCeyBsmNOdlS7/P09ifwozGuckuWIUPD51RBKC3tz/HGVFWY7bDHZKrHkOpnBMYdgZ3I jAP4K+zVLd5UWUlzulyrXR9S0iKEISxHT/07xsN5qhRGHJThtdiz7OgnL5Np0Qlqf+aO tTrtEfHwscZjep9NW9WQ4PhH0XRpeimveKaXcvzPAYMrKHZzQuIRx42uZRrf2bDjFMZp bPFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=k3gcbvn8mw2hRJRDyRUzU879qvsdG7D3H9+KZ2b2FUQ=; b=X8Qj/pGKpvwRIvUCn0LmMN77RQkxiwneisikeNptN9ED2ALnXM5IE/KGU3Qw+iHpg/ koUvCMUdW/bbeXUWyn4ct1I9+O/83jpGbSUtfK4ITFqAQdU3OqxzanSYBrEHNyjs2Jwv qPeozlL8l+Q9Esa6nE4f9cS7HM1sEue7MdsGBJNo1SoaUPT+8Q7Yp4RDFVWN5fVT4HBn ug1SaqCOvNFj8hvfM99aqTlOuDHRfcnXTYmQbdG0gvxnuEKnpXmKAOz9wsYEzvbxEghp MVSgkcsa3aFkI+V8AqGJzxrQUl5gRWSeNQRGKdmsYvCGQ7g5uPuCzN9BLKmouMu4rNHh gPDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n19-v6si1066194plp.298.2018.07.24.16.48.05; Tue, 24 Jul 2018 16:48:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728292AbeGYA4B (ORCPT + 99 others); Tue, 24 Jul 2018 20:56:01 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:37832 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728154AbeGYAz7 (ORCPT ); Tue, 24 Jul 2018 20:55:59 -0400 Received: by mail-pf1-f193.google.com with SMTP id a26-v6so1224747pfo.4 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=MVdsDc2xiCMYsRlv3upZpWXB2b+trm6dxhm64OAdGew13bzlDxuxKMaB5xmi0BfxgE JOXoEF4uEqX35mExnV/SFUu7Qq2Ss+x3De3NsQm47myyhG6tYOh6MFTyF5P8u0hUhdok +7NHxuo9IjWaoYojJhJT7bA0rV+mdKxTvd1bizt6zvI+n9gb3uSRnRNnMpGXU503TgLY B626uvtpsUQcbzwsb+FTMip3EyvGxAjRNYHylIBG8DMyJa2g7Jy79Vy+UpSMpsXYuQLM q9ooth2o2aFKUYCfkW+LfRSxvib/mDxfCtYBPABAG0PQNz5jrbhuVIqm3K8mei9Pqeva Nn0A== X-Gm-Message-State: AOUpUlGhEDvR2ZK6s0sXEroabCzDDDwIQWfb4fr4xT/WhAGiPvuepIWA 5+EvZHJpmlhUvYhRoo9PmMbA7g== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; -- 2.18.0.233.g985f88cf7e-goog