From: Zev Weiss <zev@bewilderbeest.net>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Guenter Roeck <linux@roeck-us.net>,
Jean Delvare <jdelvare@suse.com>,
linux-hwmon@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, Renze Nicolai <renze@rnplus.nl>,
Oleksandr Natalenko <oleksandr@natalenko.name>,
openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 1/7] dt-bindings: hwmon: Add nuvoton,nct6775
Date: Tue, 26 Apr 2022 23:44:40 -0700 [thread overview]
Message-ID: <YmjmWNUpCAFYesyk@hatter.bewilderbeest.net> (raw)
In-Reply-To: <178b9310-a854-dfa6-a4f3-f971b608abe3@linaro.org>
On Tue, Apr 26, 2022 at 11:04:30PM PDT, Krzysztof Kozlowski wrote:
>On 27/04/2022 03:01, Zev Weiss wrote:
>> These Super I/O chips have an i2c interface that some systems expose
>> to a BMC; the BMC's device tree can now describe that via this
>> binding.
>>
>> Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
>
>I already reviewed it so I guess you did not include the tag because of
>significant changes?
>
Yeah, the nuvoton,tsi-channel-mask property is new this round, so I
dropped the previous R-B -- and since it looks like I missed some stuff,
thanks for taking another look (though perhaps some of it could have
been avoided if I'd remembered to run 'make dt_binding_check').
>> ---
>> .../bindings/hwmon/nuvoton,nct6775.yaml | 56 +++++++++++++++++++
>> 1 file changed, 56 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml b/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml
>> new file mode 100644
>> index 000000000000..418477374fdb
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml
>> @@ -0,0 +1,56 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +
>> +$id: http://devicetree.org/schemas/hwmon/nuvoton,nct6775.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Nuvoton NCT6775 and compatible Super I/O chips
>> +
>> +maintainers:
>> + - Zev Weiss <zev@bewilderbeest.net>
>> +
>> +properties:
>> + compatible:
>> + enum:
>> + - nuvoton,nct6106
>> + - nuvoton,nct6116
>> + - nuvoton,nct6775
>> + - nuvoton,nct6776
>> + - nuvoton,nct6779
>> + - nuvoton,nct6791
>> + - nuvoton,nct6792
>> + - nuvoton,nct6793
>> + - nuvoton,nct6795
>> + - nuvoton,nct6796
>> + - nuvoton,nct6797
>> + - nuvoton,nct6798
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + nuvoton,tsi-channel-mask:
>> + description:
>> + Bitmask indicating which TSI temperature sensor channels are
>> + active. LSB is TSI0, bit 1 is TSI1, etc.
>
>Need a type/ref.
>
Ack, thanks.
>> + maximum: 0xff
>> + default: 0
>
>Since by default it is disabled, doesn't it make a required property?
>IOW, if you add a node without this mask, will the device operate
>properly and usefully?
>
Yeah, zero active TSI channels is a totally legitimate way for these
devices to operate. TSI is just an optional source of additional
temperature readings that's used on some (AMD) systems; all the basic
Super I/O functionality works fine without it.
Thanks,
Zev
next prev parent reply other threads:[~2022-04-27 6:45 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-27 1:01 [PATCH v4 0/7] hwmon: (nct6775) Convert to regmap, add i2c support Zev Weiss
2022-04-27 1:01 ` [PATCH v4 1/7] dt-bindings: hwmon: Add nuvoton,nct6775 Zev Weiss
2022-04-27 6:04 ` Krzysztof Kozlowski
2022-04-27 6:44 ` Zev Weiss [this message]
2022-04-27 7:00 ` Krzysztof Kozlowski
2022-04-27 16:37 ` Krzysztof Kozlowski
2022-04-27 20:05 ` Zev Weiss
2022-04-27 14:18 ` Rob Herring
2022-04-27 1:01 ` [PATCH v4 2/7] hwmon: (nct6775) Convert register access to regmap API Zev Weiss
2022-04-27 1:01 ` [PATCH v4 3/7] hwmon: (nct6775) Rearrange attr-group initialization Zev Weiss
2022-04-27 1:01 ` [PATCH v4 4/7] hwmon: (nct6775) Add read-only mode Zev Weiss
2022-04-27 1:01 ` [PATCH v4 5/7] hwmon: (nct6775) Convert S_I* permissions macros to octal Zev Weiss
2022-04-27 1:01 ` [PATCH v4 6/7] hwmon: (nct6775) Split core and platform driver Zev Weiss
2022-04-27 1:01 ` [PATCH v4 7/7] hwmon: (nct6775) Add i2c driver Zev Weiss
2022-04-27 13:37 ` [PATCH v4 0/7] hwmon: (nct6775) Convert to regmap, add i2c support Guenter Roeck
2022-05-01 15:18 ` Oleksandr Natalenko
2022-05-02 3:50 ` Guenter Roeck
2022-05-02 6:06 ` Oleksandr Natalenko
2022-05-02 18:42 ` Guenter Roeck
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=YmjmWNUpCAFYesyk@hatter.bewilderbeest.net \
--to=zev@bewilderbeest.net \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=oleksandr@natalenko.name \
--cc=openbmc@lists.ozlabs.org \
--cc=renze@rnplus.nl \
--cc=robh+dt@kernel.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