From patchwork Tue Jul 31 18:59:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10551209 X-Patchwork-Delegate: eduardo.valentin@ti.com 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 E396613BF for ; Tue, 31 Jul 2018 19:00:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDB582B397 for ; Tue, 31 Jul 2018 19:00:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBE782B3CB; Tue, 31 Jul 2018 19:00:08 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 748FC2B3AB for ; Tue, 31 Jul 2018 19:00:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732261AbeGaUlm (ORCPT ); Tue, 31 Jul 2018 16:41:42 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:43782 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732258AbeGaUl2 (ORCPT ); Tue, 31 Jul 2018 16:41:28 -0400 Received: by mail-pl0-f66.google.com with SMTP id x6-v6so7559768plv.10 for ; Tue, 31 Jul 2018 11:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=76XyzsmzEYZUY9NhKGrjYdT4OLrEbkvqeBkWmOp81tA=; b=YIGhx81P/2phOt/nHVvSBH8lAIqeUugAMCkLpm9K3wf4j+LfT6LRqfwwNupLKJbsBA rC+W2T94o+qqBg7P784xIAYHTthBjujhSoAOrxNCnjvcGct+oRQfs7aNTElaTFzLTuxs MDjb9YTzoNStgVrY63KEsC6ieAHi+QXoY0u7w= 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:mime-version:content-transfer-encoding; bh=76XyzsmzEYZUY9NhKGrjYdT4OLrEbkvqeBkWmOp81tA=; b=nrssUL7FeuYfAKLb01F1c4NXVc8rhMdD3R0bqYscK8uTU90Hsp+zokXJgiZAoOEtkB 9dwSjlQP/e7yMOr2JoEhj5vk6Wj5tpkn+RgLMk/9PzGK7J9mUxpU/+Xk8yuWJtl3tUwG kIyyDVg18i9TKLQWkBwxqbnnIikzduBrlljqpgvA9Up7QptcGdxtj17XBNvBYqtsmcqz OBKrnKszSRhEd0X84US9xLW2mXwXUz4iSa0n6RgbDGG8if7zTBlFZhSAbl8oFsy09Pcg fQ/06pJ0kvJ6hmyvvcr1rMWipZlhE3kjzofrP8WJO6h/ytIKMU4FrUTjDScw/aN+LKgY mvNg== X-Gm-Message-State: AOUpUlHL2Lr5pNCiX9VfGDR1rNGaquPnArUJysoJL0cYrcYHnzncXXhm hb/A9cd2Ickc1LwmzTtxSmO1Gg== X-Google-Smtp-Source: AAOMgpe/BvLtSVL6R09niZyDsp8FYv0+oMpussKWmcqvWK5kzxLt2peegWCQ9ISqpC4uTB7D3gb5sA== X-Received: by 2002:a17:902:4203:: with SMTP id g3-v6mr14187523pld.30.1533063587830; Tue, 31 Jul 2018 11:59:47 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id e132-v6sm27797567pfc.49.2018.07.31.11.59.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 11:59:47 -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 v6 4/5] arm64: dts: qcom: pm8998: Add spmi-temp-alarm node Date: Tue, 31 Jul 2018 11:59:16 -0700 Message-Id: <20180731185917.176074-4-mka@chromium.org> X-Mailer: git-send-email 2.18.0.345.g5c9ce644c3-goog In-Reply-To: <20180731185917.176074-1-mka@chromium.org> References: <20180731185917.176074-1-mka@chromium.org> MIME-Version: 1.0 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 v6: - none 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>;