[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240530223939.1027659-2-linux@roeck-us.net>
Date: Thu, 30 May 2024 15:39:37 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: linux-hwmon@...r.kernel.org
Cc: devicetree@...r.kernel.org,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
linux-kernel@...r.kernel.org,
Armin Wolf <W_Armin@....de>,
Thomas Weißschuh <linux@...ssschuh.net>,
René Rebe <rene@...ctcode.de>,
Guenter Roeck <linux@...ck-us.net>
Subject: [PATCH v2 1/3] dt-bindings: hwmon: jedec,spd5118: Add bindings
Add device tree bindings for the SPD hub present in DDR5 modules.
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
v2: Drop pec-enable property
.../bindings/hwmon/jedec,spd5118.yaml | 48 +++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/jedec,spd5118.yaml
diff --git a/Documentation/devicetree/bindings/hwmon/jedec,spd5118.yaml b/Documentation/devicetree/bindings/hwmon/jedec,spd5118.yaml
new file mode 100644
index 000000000000..05c39f7083db
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/jedec,spd5118.yaml
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/jedec,spd5118.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: JEDEC JESD300-5B (SPD5118) compatible DDR5 SPD hub
+
+maintainers:
+ - Guenter Roeck <linux@...ck-us.net>
+
+description: |
+ JEDEC JESD300-5B.01 SPD5118 Hub and Serial Presence Detect
+ https://www.jedec.org/standards-documents/docs/jesd300-5b01
+
+select:
+ properties:
+ compatible:
+ const: jedec,spd5118
+
+ required:
+ - compatible
+ - reg
+
+properties:
+ compatible:
+ const: jedec,spd5118
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ temp-sensor@51 {
+ compatible = "jedec,spd5118";
+ reg = <0x51>;
+ };
+ };
--
2.39.2
Powered by blists - more mailing lists