From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Robert Marko <robimarko@gmail.com>,
agross@kernel.org, bjorn.andersson@linaro.org, amitk@kernel.org,
thara.gopinath@linaro.org, rafael@kernel.org,
daniel.lezcano@linaro.org, rui.zhang@intel.com,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/5] dt-bindings: thermal: tsens: Add ipq8074 compatible
Date: Sun, 1 May 2022 10:33:52 +0200 [thread overview]
Message-ID: <9d40d129-1ab8-fb2b-48cd-7f206da45632@linaro.org> (raw)
In-Reply-To: <20220430205101.459782-1-robimarko@gmail.com>
On 30/04/2022 22:50, Robert Marko wrote:
> Qualcomm IPQ8074 has tsens v2.3.0 block, though unlike existing v2 IP it
> only uses one IRQ, so tsens v2 compatible cannot be used as the fallback.
>
> We also have to make sure that correct interrupts are set according to
> compatibles, so populate interrupt information per compatibles.
>
> Signed-off-by: Robert Marko <robimarko@gmail.com>
> ---
> .../bindings/thermal/qcom-tsens.yaml | 79 ++++++++++++++++---
> 1 file changed, 68 insertions(+), 11 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> index b6406bcc683f..44ebdfd4560a 100644
> --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> @@ -56,22 +56,19 @@ properties:
> - qcom,sm8350-tsens
> - const: qcom,tsens-v2
>
> + - description: v2 of TSENS with combined interrupt
> + items:
It's just an enum, no list here.
> + - enum:
> + - qcom,ipq8074-tsens
> +
> reg:
> items:
> - description: TM registers
> - description: SROT registers
>
> - interrupts:
> - minItems: 1
> - items:
> - - description: Combined interrupt if upper or lower threshold crossed
> - - description: Interrupt if critical threshold crossed
> + interrupts: true
minItems: 1
maxItems: 2
>
> - interrupt-names:
> - minItems: 1
> - items:
> - - const: uplow
> - - const: critical
> + interrupt-names: true
minItems: 1
maxItems: 2
Best regards,
Krzysztof
prev parent reply other threads:[~2022-05-01 8:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-30 20:50 Robert Marko
2022-04-30 20:50 ` [PATCH 2/5] drivers: thermal: tsens: Add support for combined interrupt Robert Marko
2022-04-30 20:50 ` [PATCH 3/5] drivers: thermal: tsens: allow configuring min and max trips Robert Marko
2022-04-30 20:51 ` [PATCH 4/5] drivers: thermal: tsens: add IPQ8074 support Robert Marko
2022-04-30 20:51 ` [PATCH 5/5] arm64: dts: ipq8074: add thermal nodes Robert Marko
2022-05-01 8:33 ` Krzysztof Kozlowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9d40d129-1ab8-fb2b-48cd-7f206da45632@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=agross@kernel.org \
--cc=amitk@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=robh+dt@kernel.org \
--cc=robimarko@gmail.com \
--cc=rui.zhang@intel.com \
--cc=thara.gopinath@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®