All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cosmo Chou <chou.cosmo@gmail.com>
To: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
	corbet@lwn.net, heiko@sntech.de, jernej.skrabec@gmail.com,
	macromorgan@hotmail.com, linus.walleij@linaro.org
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
	chou.cosmo@gmail.com, cosmo.chou@quantatw.com
Subject: [PATCH 2/3] dt-bindings: hwmon: pt516xx: add bindings
Date: Tue,  5 Dec 2023 15:47:22 +0800	[thread overview]
Message-ID: <20231205074723.3546295-3-chou.cosmo@gmail.com> (raw)
In-Reply-To: <20231205074723.3546295-1-chou.cosmo@gmail.com>

Add dt-bindings for pt516xx temperature monitor.

Signed-off-by: Cosmo Chou <chou.cosmo@gmail.com>
---
 .../bindings/hwmon/asteralabs,pt516xx.yaml    | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/asteralabs,pt516xx.yaml

diff --git a/Documentation/devicetree/bindings/hwmon/asteralabs,pt516xx.yaml b/Documentation/devicetree/bindings/hwmon/asteralabs,pt516xx.yaml
new file mode 100644
index 000000000000..5700d4c91a0d
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/asteralabs,pt516xx.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/asteralabs,pt516xx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: PT5161L hwmon sensor
+
+maintainers:
+  - Cosmo Chou <cosmo.chou@quantatw.com>
+
+properties:
+  compatible:
+    enum:
+      - asteralabs,pt5161l
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      sensor@24 {
+        compatible = "asteralabs,pt5161l";
+        reg = <0x24>;
+      };
+    };
-- 
2.34.1


  parent reply	other threads:[~2023-12-05  7:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05  7:47 [PATCH 0/3] hwmon: Add driver for Astera Labs PT516XX retimer Cosmo Chou
2023-12-05  7:47 ` [PATCH 1/3] dt-bindings: vendor-prefixes: add asteralabs Cosmo Chou
2023-12-05 16:45   ` Conor Dooley
2023-12-05  7:47 ` Cosmo Chou [this message]
2023-12-05 16:46   ` [PATCH 2/3] dt-bindings: hwmon: pt516xx: add bindings Conor Dooley
2023-12-06  8:02     ` Cosmo Chou
2023-12-05  7:47 ` [PATCH 3/3] hwmon: Add driver for Astera Labs PT516XX retimer Cosmo Chou
2023-12-05 15:55   ` Guenter Roeck
2023-12-09  8:02     ` Cosmo Chou
2023-12-05 23:24   ` kernel test robot
2023-12-11 17:43   ` Rob Herring
2023-12-05 14:45 ` [PATCH 0/3] " 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=20231205074723.3546295-3-chou.cosmo@gmail.com \
    --to=chou.cosmo@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=corbet@lwn.net \
    --cc=cosmo.chou@quantatw.com \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=jdelvare@suse.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=macromorgan@hotmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.