[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <66f417b0-c323-1b9f-d5b0-30f1c9bcd90b@axis.com>
Date: Tue, 12 Apr 2022 16:08:21 +0200
From: Camel Guo <camelg@...s.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Camel Guo <Camel.Guo@...s.com>,
"linux@...ck-us.net" <linux@...ck-us.net>,
"jdelvare@...e.com" <jdelvare@...e.com>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"krzk+dt@...nel.org" <krzk+dt@...nel.org>
CC: kernel <kernel@...s.com>,
"linux-hwmon@...r.kernel.org" <linux-hwmon@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] dt-bindings: hwmon: Add TMP401, TMP411 and TMP43x
On 4/12/22 13:53, Krzysztof Kozlowski wrote:
> On 11/04/2022 12:03, Camel Guo wrote:
>> From: Camel Guo <camelg@...s.com>
>>
>> Document the TMP401, TMP411 and TMP43x device devicetree bindings
>>
>> Signed-off-by: Camel Guo <camelg@...s.com>
>> ---
>> .../devicetree/bindings/hwmon/ti,tmp401.yaml | 111 ++++++++++++++++++
>> MAINTAINERS | 1 +
>> 2 files changed, 112 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml
>>
>> + - ti,tmp401
>> + - ti,tmp411
>> + - ti,tmp431
>> + - ti,tmp432
>> + - ti,tmp435
>
> Blank line, please.
Fixed
>
>> + reg:
>> + maxItems: 1
>> +
>> + '#address-cells':
>> + const: 1
>> +
>> + '#size-cells':
>> + const: 0
>> +
>> + ti,extended-range-enable:
>> + description: |
>
> No need for "|". Here and in most of other cases below.
Fixed
>
>> + When set, this sensor measures over extended temperature range.
>> + type: boolean
>> +
>> + ti,n-factor:
>> + description: |
>> + The value (two's complement) to be programmed in the n-factor correction
>> + register.
>
> Do not describe the programming model (registers) but hardware property
> instead.
Make another try. Hope it is clear now.
>
>> + $ref: /schemas/types.yaml#/definitions/uint32
>> + items:
>> + minimum: 0
>> + maximum: 255
>> +
>> + ti,beta-compensation:
>> + description: |
>> + The value to be programmed in the beta range register.
>
> The same, register values should not be stored in DT.
>
>> + $ref: /schemas/types.yaml#/definitions/uint32
>> + items:
>> + minimum: 0
>> + maximum: 15
>> +
>
>
> Best regards,
> Krzysztof
Fixed in v2. Please review that instead.
Powered by blists - more mailing lists