From: Ibrahim Tilki <Ibrahim.Tilki@analog.com>
To: <jdelvare@suse.com>, <linux@roeck-us.net>
Cc: Ibrahim Tilki <Ibrahim.Tilki@analog.com>,
<linux-hwmon@vger.kernel.org>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH v9 3/4] dt-bindings: hwmon: Add bindings for max31760
Date: Sat, 10 Sep 2022 20:19:44 +0300 [thread overview]
Message-ID: <20220910171945.48088-4-Ibrahim.Tilki@analog.com> (raw)
In-Reply-To: <20220910171945.48088-1-Ibrahim.Tilki@analog.com>
Adding bindings for Analog Devices MAX31760 Fan-Speed Controller
Signed-off-by: Ibrahim Tilki <Ibrahim.Tilki@analog.com>
---
.../bindings/hwmon/adi,max31760.yaml | 42 +++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max31760.yaml
diff --git a/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml b/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml
new file mode 100644
index 000000000..9f2d08d7b
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/adi,max31760.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices MAX31760 Fan-Speed Controller
+
+maintainers:
+ - Ibrahim Tilki <Ibrahim.Tilki@analog.com>
+
+description: |
+ Analog Devices MAX31760 Fan-Speed Controller
+ https://datasheets.maximintegrated.com/en/ds/MAX31760.pdf
+
+properties:
+ compatible:
+ enum:
+ - adi,max31760
+
+ reg:
+ description: I2C address of slave device.
+ minimum: 0x50
+ maximum: 0x57
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ fan-controller@50 {
+ reg = <0x50>;
+ compatible = "adi,max31760";
+ };
+ };
--
2.36.1
next prev parent reply other threads:[~2022-09-10 17:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-10 17:19 [PATCH v9 0/4] hwmon: Add max31760 fan speed controller Ibrahim Tilki
2022-09-10 17:19 ` [PATCH v9 1/4] drivers: hwmon: Add max31760 fan speed controller driver Ibrahim Tilki
2022-09-10 17:19 ` [PATCH v9 2/4] docs: hwmon: add max31760 documentation Ibrahim Tilki
2022-09-10 17:19 ` Ibrahim Tilki [this message]
2022-09-11 13:35 ` [PATCH v9 3/4] dt-bindings: hwmon: Add bindings for max31760 Krzysztof Kozlowski
2022-09-11 13:35 ` Krzysztof Kozlowski
2022-09-10 17:19 ` [PATCH v9 4/4] MAINTAINERS: Add maintainer for hwmon/max31760 Ibrahim Tilki
2022-09-20 14:13 ` [PATCH v9 0/4] hwmon: Add max31760 fan speed controller 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=20220910171945.48088-4-Ibrahim.Tilki@analog.com \
--to=ibrahim.tilki@analog.com \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--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