From: Akshay Gupta <akshay.gupta@amd.com>
To: <linux-kernel@vger.kernel.org>, <linux-hwmon@vger.kernel.org>
Cc: <gregkh@linuxfoundation.org>, <arnd@arndb.de>,
<linux@roeck-us.net>, <Anand.Umarji@amd.com>,
Akshay Gupta <akshay.gupta@amd.com>,
"Naveen Krishna Chatradhi" <naveenkrishna.chatradhi@amd.com>
Subject: [PATCH v1 5/5] dt-bindings: misc: Add binding document for SB-RMI I3C
Date: Mon, 28 Jul 2025 06:10:33 +0000 [thread overview]
Message-ID: <20250728061033.1604169-5-akshay.gupta@amd.com> (raw)
In-Reply-To: <20250728061033.1604169-1-akshay.gupta@amd.com>
- Document the dt-binding for AMD SB-RMI
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: Akshay Gupta <akshay.gupta@amd.com>
---
.../bindings/misc/amd,sbrmi-i3c.yaml | 56 +++++++++++++++++++
1 file changed, 56 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/amd,sbrmi-i3c.yaml
diff --git a/Documentation/devicetree/bindings/misc/amd,sbrmi-i3c.yaml b/Documentation/devicetree/bindings/misc/amd,sbrmi-i3c.yaml
new file mode 100644
index 000000000000..1d19571c2095
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/amd,sbrmi-i3c.yaml
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/misc/amd,sbrmi-i3c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: >
+ Sideband Remote Management Interface (SB-RMI) compliant
+ AMD SoC.
+
+maintainers:
+ - Akshay Gupta <Akshay.Gupta@amd.com>
+
+description: |
+ SB Remote Management Interface (SB-RMI) is an SMBus compatible
+ interface that reports AMD SoC's Power (normalized Power) using,
+ Mailbox Service Request over I3C interface to BMC.
+ The power attributes in hwmon reports power in microwatts.
+
+properties:
+ reg:
+ - description: |
+ Encodes the static I2C address.
+ Socket 0: 0x3c
+ Socket 1: 0x38
+ - description: |
+ First half of the Provisioned ID (following the PID
+ definition provided by the I3C specification).
+ Contains the manufacturer ID left-shifted by 1 (0x224).
+ - description: |
+ Second half of the Provisioned ID (following the PID
+ definition provided by the I3C specification).
+ Contains the ORing of the part ID left-shifted by 16,
+ the instance ID left-shifted by 12 and extra information (0x00000002).
+
+ assigned-address:
+ - description: |
+ Dynamic address to be assigned to this device. As static address is
+ present, this address is assigned using SETDASA.
+
+required:
+ - reg
+ - assigned-address
+
+additionalProperties: false
+
+examples:
+ - |
+ i3c {
+ /* I3C device with a static I2C address and assigned address. */
+ sbrmi_p0_1: sbrmi@3c,22400000002 {
+ reg = <0x3c 0x224 0x00000002>;
+ assigned-address = <0x3c>;
+ };
+ };
+...
--
2.25.1
next prev parent reply other threads:[~2025-07-28 6:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-28 6:10 [PATCH v1 1/5] misc: amd-sbi: Split core driver as separate module Akshay Gupta
2025-07-28 6:10 ` [PATCH v1 2/5] misc: amd-sbi: Add support for SB-RMI over I3C Akshay Gupta
2025-07-28 6:37 ` Thomas Weißschuh
2025-08-11 11:02 ` Gupta, Akshay
2025-07-29 6:33 ` Krzysztof Kozlowski
2025-08-11 11:03 ` Gupta, Akshay
2025-07-28 6:10 ` [PATCH v1 3/5] dt-bindings: misc: Move amd,sbrmi.yaml from hwmon to misc Akshay Gupta
2025-07-29 6:29 ` Krzysztof Kozlowski
2025-08-11 11:54 ` Gupta, Akshay
2025-08-11 11:56 ` Krzysztof Kozlowski
2025-07-28 6:10 ` [PATCH v1 4/5] dt-bindings: misc: Update the "$id:" to misc path Akshay Gupta
2025-07-29 6:29 ` Krzysztof Kozlowski
2025-07-28 6:10 ` Akshay Gupta [this message]
2025-07-29 6:31 ` [PATCH v1 5/5] dt-bindings: misc: Add binding document for SB-RMI I3C Krzysztof Kozlowski
2025-08-11 11:55 ` Gupta, Akshay
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=20250728061033.1604169-5-akshay.gupta@amd.com \
--to=akshay.gupta@amd.com \
--cc=Anand.Umarji@amd.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=naveenkrishna.chatradhi@amd.com \
/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
all inboxes | Powered by JetHome®