[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e4f17f44-522e-47bd-aafb-f93595298e7b@kernel.org>
Date: Tue, 30 Jul 2024 08:19:04 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Anjelique Melendez <quic_amelende@...cinc.com>, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, amitk@...nel.org,
thara.gopinath@...il.com, andersson@...nel.org
Cc: quic_collinsd@...cinc.com, rafael@...nel.org, daniel.lezcano@...aro.org,
rui.zhang@...el.com, lukasz.luba@....com, linux-arm-msm@...r.kernel.org,
linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] dt-bindings: qcom,spmi-temp-alarm: Add compatible for
GEN2 rev2 temp alarm
On 30/07/2024 01:12, Anjelique Melendez wrote:
> Add compatible "qcom,spmi-temp-alarm-gen2-rev2" for SPMI temp alarm GEN2
> revision 2 peripherals. GEN2 rev2 peripherals have individual temp DAC
> registers to set temperature thresholds for over-temperature stages 1-3.
> Registers are configured based on thermal zone trip definition.
>
> Signed-off-by: Anjelique Melendez <quic_amelende@...cinc.com>
> ---
> .../devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml b/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml
> index 30b22151aa82..f9af88d51c2d 100644
> --- a/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml
> +++ b/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml
> @@ -12,14 +12,16 @@ maintainers:
> description:
> QPNP temperature alarm peripherals are found inside of Qualcomm PMIC chips
> that utilize the Qualcomm SPMI implementation. These peripherals provide an
> - interrupt signal and status register to identify high PMIC die temperature.
> + interrupt signal and status registers to identify high PMIC die temperature.
>
> allOf:
> - $ref: thermal-sensor.yaml#
>
> properties:
> compatible:
> - const: qcom,spmi-temp-alarm
> + enum:
> + - qcom,spmi-temp-alarm
> + - qcom,spmi-temp-alarm-gen2-rev2
Nah, no. I have no clue what is gen2 rev2 and no one would be able to
decipher it, even with usermanual. Do not invent some random versions.
If you want to use them, document them and make them available for public.
Use SoC compatibles. ONLY.
Best regards,
Krzysztof
Powered by blists - more mailing lists