Message ID | 20221116103146.2556846-4-abel.vesa@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp70042wru; Wed, 16 Nov 2022 02:45:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf62M+51C/Zip6S/b509EVRgJ/nXzxkNxjvHsTIPqSF+5oXd6L0Y4whlBTLUkT5ySD1GmEzC X-Received: by 2002:a65:4c88:0:b0:476:cb2a:b99b with SMTP id m8-20020a654c88000000b00476cb2ab99bmr5071201pgt.436.1668595526795; Wed, 16 Nov 2022 02:45:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668595526; cv=none; d=google.com; s=arc-20160816; b=dZytXAEp80i/3qvahE9bJrn7Kb/c2A3kxvVPkWLWu2BoNTzyhja0pHu47JMwGrbS8N /WymXZcg3701AphQsAW4BB/GUe0jcLzlFiYQmmxPOa93LvuPQToA+YkGaY3YSoC/Fmac XwMhjd2t2id4ABplI+u16F61gg2ozuRBIqQ8QbTBDODD7/MA9vneFXnnbFaNuAsZP8PT Lasp1IqQvS4PFVTvQYoQaYK0wIIJo6hL1P4v//o50rCrAh36kpB1LksF5jqFcVqovlxa r2YAhXjXkUmYi/sJZMvEWxTl8edAAl7mJ92uOz6HM0QPnXoYYNy0Cy3Hoc1396+CE629 A1zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hN+FF5b10U9u5b3X80NCWb//I7PpVmPUTmgHrwmcTRM=; b=bJBnv8/3bYht2IROM25+Q0mwpWEXSE6DhJnWwkdlhk7hl8ihliVhntLexriTMYQJGo mFPA8b+Y5TV6QZ8tBdb02G8ajNm8I8BEp6XW8zTdOEOD94bP6Oai3xD71swFRZivdD+s GM4tpWr2rxq4KMeqlLc+quvuMVoARRAIjKSEmdAi9q9MsnQ56vCjsxUb48RKsDExBerE LjvCKvccaU1aMCD5okTNDZS/Fq/oZzqMAX0eE/AV0mp/MROw6H8iCsiJoYKCvph0Zr4B 9syCN1BVdALyi2fTJvcVmUf+PdEFFHbIq05PjAo1TQ3yoA637JQuvSYzv/7TkI4jDIFo Gokg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NaIxLKZF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a11-20020a170902eccb00b0017f8290fcf0si16881298plh.272.2022.11.16.02.45.13; Wed, 16 Nov 2022 02:45:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NaIxLKZF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238876AbiKPKoz (ORCPT <rfc822;just.gull.subs@gmail.com> + 99 others); Wed, 16 Nov 2022 05:44:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232883AbiKPKoU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Nov 2022 05:44:20 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84EAA326DE for <linux-kernel@vger.kernel.org>; Wed, 16 Nov 2022 02:32:25 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id p16so11570570wmc.3 for <linux-kernel@vger.kernel.org>; Wed, 16 Nov 2022 02:32:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hN+FF5b10U9u5b3X80NCWb//I7PpVmPUTmgHrwmcTRM=; b=NaIxLKZFDN3yFP5TrGsVbGy/qkr9dfFF6m7hCwNGLb8cSHiD0ixYkl+dW8QGQ5cd0b KQQc1PmHUJuz9kupK3T2hOM4HCwijx/YR6IKXOzvYDMMWvcAvVSzFoeZ6zjeer7MNf3d 5YAHDbbgw3B0QA42zMfgzzSNjH9vArSnqRPvH3tpCcF891XM7wnHsfQRHA4C1hV9CsAh rRyoAagDztBYnSMHf6qO0ypahum3CDMuLNSPdXIDkE5ceolMdea2mKn0S6HQcxIXAMof xAq+xoo4BL46ZbJfoH/kL3kajaKuLSZAvqzaFIsiF6l6U6LwQQdMvc39Jx4mveyyiDqs uyKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hN+FF5b10U9u5b3X80NCWb//I7PpVmPUTmgHrwmcTRM=; b=Hx/B43ySxB+dw5zlZdcGzuQ5NkE/5qdT8THDKGw4SWAAR5ihyJUS1rUqMc6gfsXNQy mAhz/5U/jOwedPADnYbd2Mn1+S+7Og+KgUYNSUFrF7cFyG30x3uPc7sqXt95oG7wEv9A PHrwjUNGXTVc6yLSXf52Q23+/wmONyBzaodbFotsuA21O4clKaczRcb2o9MVnIhZlbl7 4oIIc89kh5XH3fHx3I3sIqRsF6uxFy6bZii7MINPkx9sj5qiYgBYXuGor72AENvlfo3u hlVbIWyHjg4U06bw1u+oW1A4y/LAImElSeskt68NxnOQYLEqArWXoqIqmwgusY795wot cUVw== X-Gm-Message-State: ANoB5pmKkwiMSs6N9PIs6hebtJU7tWZWGTujP3PlpX/J4wEV5sEb6SXg tr4SfeCsGy+55NHLPyOFTutSaw== X-Received: by 2002:a1c:e908:0:b0:3b3:3084:5ddb with SMTP id q8-20020a1ce908000000b003b330845ddbmr1636214wmc.108.1668594745056; Wed, 16 Nov 2022 02:32:25 -0800 (PST) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id bh9-20020a05600005c900b0022e36c1113fsm15107032wrb.13.2022.11.16.02.32.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 02:32:24 -0800 (PST) From: Abel Vesa <abel.vesa@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Neil Armstrong <neil.armstrong@linaro.org> Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, "vkoul@kernel.org" <vkoul@kernel.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH 03/10] arm64: dts: qcom: Add pm8010 pmic dtsi Date: Wed, 16 Nov 2022 12:31:39 +0200 Message-Id: <20221116103146.2556846-4-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221116103146.2556846-1-abel.vesa@linaro.org> References: <20221116103146.2556846-1-abel.vesa@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749649223459856104?= X-GMAIL-MSGID: =?utf-8?q?1749649223459856104?= |
Series |
Add base device tree files for SM8550
|
|
Commit Message
Abel Vesa
Nov. 16, 2022, 10:31 a.m. UTC
From: Neil Armstrong <neil.armstrong@linaro.org> Add nodes for pm8010 in separate dtsi file. Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> --- arch/arm64/boot/dts/qcom/pm8010.dtsi | 84 ++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8010.dtsi
Comments
On 16/11/2022 11:31, Abel Vesa wrote: > From: Neil Armstrong <neil.armstrong@linaro.org> > > Add nodes for pm8010 in separate dtsi file. > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm64/boot/dts/qcom/pm8010.dtsi | 84 ++++++++++++++++++++++++++++ > 1 file changed, 84 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/pm8010.dtsi > > diff --git a/arch/arm64/boot/dts/qcom/pm8010.dtsi b/arch/arm64/boot/dts/qcom/pm8010.dtsi > new file mode 100644 > index 000000000000..0ea641e12209 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/pm8010.dtsi > @@ -0,0 +1,84 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) 2022, Linaro Limited > + */ > + > +#include <dt-bindings/interrupt-controller/irq.h> > +#include <dt-bindings/spmi/spmi.h> > + > +/ { > + thermal-zones { > + pm8010-m-thermal { > + polling-delay-passive = <100>; > + polling-delay = <0>; > + > + thermal-sensors = <&pm8010_m_temp_alarm>; > + > + trips { > + trip0 { > + temperature = <95000>; > + hysteresis = <0>; > + type = "passive"; > + }; > + > + trip1 { > + temperature = <115000>; > + hysteresis = <0>; > + type = "hot"; > + }; > + }; > + }; > + > + pm8010-n-thermal { > + polling-delay-passive = <100>; > + polling-delay = <0>; > + > + thermal-sensors = <&pm8010_n_temp_alarm>; > + > + trips { > + trip0 { > + temperature = <95000>; > + hysteresis = <0>; > + type = "passive"; > + }; > + > + trip1 { > + temperature = <115000>; > + hysteresis = <0>; > + type = "hot"; > + }; > + }; > + }; > + }; > +}; > + > + > +&spmi_bus { > + pm8010_m: pmic@c { > + compatible = "qcom,pm8010", "qcom,spmi-pmic"; > + reg = <0xc SPMI_USID>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + pm8010_m_temp_alarm: temp-alarm@2400 { > + compatible = "qcom,spmi-temp-alarm"; > + reg = <0x2400>; > + interrupts = <0xc 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; > + #thermal-sensor-cells = <0>; > + }; > + }; > + > + pm8010_n: pmic@d { > + compatible = "qcom,pm8010", "qcom,spmi-pmic"; > + reg = <0xd SPMI_USID>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + pm8010_n_temp_alarm: temp-alarm@2400 { > + compatible = "qcom,spmi-temp-alarm"; > + reg = <0x2400>; > + interrupts = <0xd 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; > + #thermal-sensor-cells = <0>; > + }; > + }; > +};
On 16/11/2022 11:31, Abel Vesa wrote: > From: Neil Armstrong <neil.armstrong@linaro.org> > > Add nodes for pm8010 in separate dtsi file. > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > --- > arch/arm64/boot/dts/qcom/pm8010.dtsi | 84 ++++++++++++++++++++++++++++ > 1 file changed, 84 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/pm8010.dtsi > > diff --git a/arch/arm64/boot/dts/qcom/pm8010.dtsi b/arch/arm64/boot/dts/qcom/pm8010.dtsi > new file mode 100644 > index 000000000000..0ea641e12209 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/pm8010.dtsi > @@ -0,0 +1,84 @@ > +// SPDX-License-Identifier: BSD-3-Clause Any reason why this is licensed BSD-3 clause? It's not a recommended license (2 clause is). Same for other patches. > +/* > + * Copyright (c) 2022, Linaro Limited > + */ > + > +#include <dt-bindings/interrupt-controller/irq.h> > +#include <dt-bindings/spmi/spmi.h> > + > +/ { > + thermal-zones { > + pm8010-m-thermal { > + polling-delay-passive = <100>; > + polling-delay = <0>; > + > + thermal-sensors = <&pm8010_m_temp_alarm>; > + > + trips { > + trip0 { > + temperature = <95000>; > + hysteresis = <0>; > + type = "passive"; > + }; > + > + trip1 { > + temperature = <115000>; > + hysteresis = <0>; > + type = "hot"; > + }; > + }; > + }; > + > + pm8010-n-thermal { > + polling-delay-passive = <100>; > + polling-delay = <0>; > + > + thermal-sensors = <&pm8010_n_temp_alarm>; > + > + trips { > + trip0 { > + temperature = <95000>; > + hysteresis = <0>; > + type = "passive"; > + }; > + > + trip1 { > + temperature = <115000>; > + hysteresis = <0>; > + type = "hot"; > + }; > + }; > + }; > + }; > +}; > + > + Just one blank line. Best regards, Krzysztof
On 17/11/2022 13:51, Krzysztof Kozlowski wrote: > On 16/11/2022 11:31, Abel Vesa wrote: >> From: Neil Armstrong <neil.armstrong@linaro.org> >> >> Add nodes for pm8010 in separate dtsi file. >> >> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> >> --- >> arch/arm64/boot/dts/qcom/pm8010.dtsi | 84 ++++++++++++++++++++++++++++ >> 1 file changed, 84 insertions(+) >> create mode 100644 arch/arm64/boot/dts/qcom/pm8010.dtsi >> >> diff --git a/arch/arm64/boot/dts/qcom/pm8010.dtsi b/arch/arm64/boot/dts/qcom/pm8010.dtsi >> new file mode 100644 >> index 000000000000..0ea641e12209 >> --- /dev/null >> +++ b/arch/arm64/boot/dts/qcom/pm8010.dtsi >> @@ -0,0 +1,84 @@ >> +// SPDX-License-Identifier: BSD-3-Clause > > Any reason why this is licensed BSD-3 clause? It's not a recommended > license (2 clause is). Same for other patches. Probably a bad copy-paste from other existing files. While checking, the majority of arch/arm64/boot/dts/qcom/pm*.dtsi uses BSD-3-Clause so it seems this was done for quite a while now. > >> +/* >> + * Copyright (c) 2022, Linaro Limited >> + */ >> + >> +#include <dt-bindings/interrupt-controller/irq.h> >> +#include <dt-bindings/spmi/spmi.h> >> + >> +/ { >> + thermal-zones { >> + pm8010-m-thermal { >> + polling-delay-passive = <100>; >> + polling-delay = <0>; >> + >> + thermal-sensors = <&pm8010_m_temp_alarm>; >> + >> + trips { >> + trip0 { >> + temperature = <95000>; >> + hysteresis = <0>; >> + type = "passive"; >> + }; >> + >> + trip1 { >> + temperature = <115000>; >> + hysteresis = <0>; >> + type = "hot"; >> + }; >> + }; >> + }; >> + >> + pm8010-n-thermal { >> + polling-delay-passive = <100>; >> + polling-delay = <0>; >> + >> + thermal-sensors = <&pm8010_n_temp_alarm>; >> + >> + trips { >> + trip0 { >> + temperature = <95000>; >> + hysteresis = <0>; >> + type = "passive"; >> + }; >> + >> + trip1 { >> + temperature = <115000>; >> + hysteresis = <0>; >> + type = "hot"; >> + }; >> + }; >> + }; >> + }; >> +}; >> + >> + > > Just one blank line. > > > Best regards, > Krzysztof >
On 18/11/2022 15:58, Neil Armstrong wrote: > On 17/11/2022 13:51, Krzysztof Kozlowski wrote: >> On 16/11/2022 11:31, Abel Vesa wrote: >>> From: Neil Armstrong <neil.armstrong@linaro.org> >>> >>> Add nodes for pm8010 in separate dtsi file. >>> >>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> >>> --- >>> arch/arm64/boot/dts/qcom/pm8010.dtsi | 84 ++++++++++++++++++++++++++++ >>> 1 file changed, 84 insertions(+) >>> create mode 100644 arch/arm64/boot/dts/qcom/pm8010.dtsi >>> >>> diff --git a/arch/arm64/boot/dts/qcom/pm8010.dtsi b/arch/arm64/boot/dts/qcom/pm8010.dtsi >>> new file mode 100644 >>> index 000000000000..0ea641e12209 >>> --- /dev/null >>> +++ b/arch/arm64/boot/dts/qcom/pm8010.dtsi >>> @@ -0,0 +1,84 @@ >>> +// SPDX-License-Identifier: BSD-3-Clause >> >> Any reason why this is licensed BSD-3 clause? It's not a recommended >> license (2 clause is). Same for other patches. > > Probably a bad copy-paste from other existing files. > > While checking, the majority of arch/arm64/boot/dts/qcom/pm*.dtsi uses BSD-3-Clause > so it seems this was done for quite a while now. If it is derivative work (of upstrea, downstream), then you might have to keep BSD-3. But if not, how about changing it to BSD-2? Best regards, Krzysztof
On 18/11/2022 15:59, Krzysztof Kozlowski wrote: > On 18/11/2022 15:58, Neil Armstrong wrote: >> On 17/11/2022 13:51, Krzysztof Kozlowski wrote: >>> On 16/11/2022 11:31, Abel Vesa wrote: >>>> From: Neil Armstrong <neil.armstrong@linaro.org> >>>> >>>> Add nodes for pm8010 in separate dtsi file. >>>> >>>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> >>>> --- >>>> arch/arm64/boot/dts/qcom/pm8010.dtsi | 84 ++++++++++++++++++++++++++++ >>>> 1 file changed, 84 insertions(+) >>>> create mode 100644 arch/arm64/boot/dts/qcom/pm8010.dtsi >>>> >>>> diff --git a/arch/arm64/boot/dts/qcom/pm8010.dtsi b/arch/arm64/boot/dts/qcom/pm8010.dtsi >>>> new file mode 100644 >>>> index 000000000000..0ea641e12209 >>>> --- /dev/null >>>> +++ b/arch/arm64/boot/dts/qcom/pm8010.dtsi >>>> @@ -0,0 +1,84 @@ >>>> +// SPDX-License-Identifier: BSD-3-Clause >>> >>> Any reason why this is licensed BSD-3 clause? It's not a recommended >>> license (2 clause is). Same for other patches. >> >> Probably a bad copy-paste from other existing files. >> >> While checking, the majority of arch/arm64/boot/dts/qcom/pm*.dtsi uses BSD-3-Clause >> so it seems this was done for quite a while now. > > If it is derivative work (of upstrea, downstream), then you might have > to keep BSD-3. But if not, how about changing it to BSD-2? It's definitely a derivative work from upstream pm*.dtsi files with BSD-3-Clause licence. Neil > > Best regards, > Krzysztof >
On 21/11/2022 14:29, neil.armstrong@linaro.org wrote: >>>> Any reason why this is licensed BSD-3 clause? It's not a recommended >>>> license (2 clause is). Same for other patches. >>> >>> Probably a bad copy-paste from other existing files. >>> >>> While checking, the majority of arch/arm64/boot/dts/qcom/pm*.dtsi uses BSD-3-Clause >>> so it seems this was done for quite a while now. >> >> If it is derivative work (of upstrea, downstream), then you might have >> to keep BSD-3. But if not, how about changing it to BSD-2? > > It's definitely a derivative work from upstream pm*.dtsi files with BSD-3-Clause > licence. OK. Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/pm8010.dtsi b/arch/arm64/boot/dts/qcom/pm8010.dtsi new file mode 100644 index 000000000000..0ea641e12209 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8010.dtsi @@ -0,0 +1,84 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022, Linaro Limited + */ + +#include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/spmi/spmi.h> + +/ { + thermal-zones { + pm8010-m-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + + thermal-sensors = <&pm8010_m_temp_alarm>; + + trips { + trip0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + trip1 { + temperature = <115000>; + hysteresis = <0>; + type = "hot"; + }; + }; + }; + + pm8010-n-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + + thermal-sensors = <&pm8010_n_temp_alarm>; + + trips { + trip0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + trip1 { + temperature = <115000>; + hysteresis = <0>; + type = "hot"; + }; + }; + }; + }; +}; + + +&spmi_bus { + pm8010_m: pmic@c { + compatible = "qcom,pm8010", "qcom,spmi-pmic"; + reg = <0xc SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8010_m_temp_alarm: temp-alarm@2400 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0x2400>; + interrupts = <0xc 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; + #thermal-sensor-cells = <0>; + }; + }; + + pm8010_n: pmic@d { + compatible = "qcom,pm8010", "qcom,spmi-pmic"; + reg = <0xd SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8010_n_temp_alarm: temp-alarm@2400 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0x2400>; + interrupts = <0xd 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; + #thermal-sensor-cells = <0>; + }; + }; +};