[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <010698c5-de92-4c7b-a476-b961b7ae9c72@gmail.com>
Date: Tue, 19 Mar 2024 20:32:06 +0100
From: Raphaël Gallais-Pou <rgallaispou@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>, Zhang Rui <rui.zhang@...el.com>,
Lukasz Luba <lukasz.luba@....com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Patrice Chotard <patrice.chotard@...s.st.com>, Lee Jones <lee@...nel.org>,
linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 1/2] dt-bindings: thermal: convert st,stih407-thermal
to DT schema
Hi Rob,
It's been a few weeks.
Gentle ping :)
Regards,
Raphaël
Le 06/03/2024 à 08:53, Raphaël Gallais-Pou a écrit :
>
>
> Le 04/03/2024 à 19:40, Rob Herring a écrit :
>> On Fri, Mar 01, 2024 at 06:47:28PM +0100, Raphael Gallais-Pou wrote:
>>> 'st,passive_colling_temp' does not appear in the device-tree, and 'reg'
>>> is missing in the device description.
>>>
>>> Convert st,stih407-thermal binding to DT schema format in order to clean
>>> unused 'st,passive_cooling_temp' and add missing 'reg' property.
>>>
>>> Signed-off-by: Raphael Gallais-Pou <rgallaispou@...il.com>
>
>
> Hi Rob,
>
> ...
>
>>> + interrupts:
>>> + description:
>>> + For thermal sensors for which no interrupt has been defined, a
>>> polling
>>> + delay of 1000ms will be used to read the temperature from device.
>>
>> maxItems: 1
>
> Ack.
>>
>>> +
>>> + '#thermal-sensor-cells': true
>>
>> const: 1
>>
>> Also, not in the original binding, so please state in the commit msg
>> why you are adding it.
>
> I have mixed feeling regarding the value. Wouldn't this better be
> 'const: 0' ?
>
> In the thermal-sensor binding it is specified that it should be 0 for
> single sensor nodes, which is our case.
>
>>
>>> +
>>> +required:
>>> + - compatible
>>> + - reg
>>> + - clocks
>>> + - clock-names
>>> +
>>> +unevaluatedProperties: false
>>> +
>>> +examples:
>>> + - |
>>> + #include <dt-bindings/interrupt-controller/arm-gic.h>
>>> + temperature-sensor@...0000 {
>>> + compatible = "st,stih407-thermal";
>>> + reg = <0x91a0000 0x28>;
>>> + clock-names = "thermal";
>>> + clocks = <&CLK_SYSIN>;
>>> + interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>;
>>> + #thermal-sensor-cells = <0>;
>
> If I misunderstand something and the value must be 1 then I will also
> change the value here and in the dt patches of the serie.
>
> Regards,
> Raphaël
>>> + };
>>> +...
Powered by blists - more mailing lists