xref: /freebsd-src/sys/contrib/device-tree/Bindings/hwmon/amd,sbrmi.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2354d7675SEmmanuel Vadot%YAML 1.2
3354d7675SEmmanuel Vadot---
4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/amd,sbrmi.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7354d7675SEmmanuel Vadottitle: >
8354d7675SEmmanuel Vadot  Sideband Remote Management Interface (SB-RMI) compliant
9354d7675SEmmanuel Vadot  AMD SoC power device.
10354d7675SEmmanuel Vadot
11354d7675SEmmanuel Vadotmaintainers:
12354d7675SEmmanuel Vadot  - Akshay Gupta <Akshay.Gupta@amd.com>
13354d7675SEmmanuel Vadot
14354d7675SEmmanuel Vadotdescription: |
15354d7675SEmmanuel Vadot  SB Remote Management Interface (SB-RMI) is an SMBus compatible
16354d7675SEmmanuel Vadot  interface that reports AMD SoC's Power (normalized Power) using,
17354d7675SEmmanuel Vadot  Mailbox Service Request and resembles a typical 8-pin remote power
18354d7675SEmmanuel Vadot  sensor's I2C interface to BMC. The power attributes in hwmon
19354d7675SEmmanuel Vadot  reports power in microwatts.
20354d7675SEmmanuel Vadot
21354d7675SEmmanuel Vadotproperties:
22354d7675SEmmanuel Vadot  compatible:
23354d7675SEmmanuel Vadot    enum:
24354d7675SEmmanuel Vadot      - amd,sbrmi
25354d7675SEmmanuel Vadot
26354d7675SEmmanuel Vadot  reg:
27354d7675SEmmanuel Vadot    maxItems: 1
28354d7675SEmmanuel Vadot    description: |
29354d7675SEmmanuel Vadot      I2C bus address of the device as specified in Section SBI SMBus Address
30354d7675SEmmanuel Vadot      of the SoC register reference. The SB-RMI address is normally 78h for
31354d7675SEmmanuel Vadot      socket 0 and 70h for socket 1, but it could vary based on hardware
32354d7675SEmmanuel Vadot      address select pins.
33354d7675SEmmanuel Vadot      \[open source SoC register reference\]
34354d7675SEmmanuel Vadot        https://www.amd.com/en/support/tech-docs?keyword=55898
35354d7675SEmmanuel Vadot
36354d7675SEmmanuel Vadotrequired:
37354d7675SEmmanuel Vadot  - compatible
38354d7675SEmmanuel Vadot  - reg
39354d7675SEmmanuel Vadot
40354d7675SEmmanuel VadotadditionalProperties: false
41354d7675SEmmanuel Vadot
42354d7675SEmmanuel Vadotexamples:
43354d7675SEmmanuel Vadot  - |
44*cb7aa33aSEmmanuel Vadot    i2c {
45354d7675SEmmanuel Vadot        #address-cells = <1>;
46354d7675SEmmanuel Vadot        #size-cells = <0>;
47354d7675SEmmanuel Vadot
48354d7675SEmmanuel Vadot        sbrmi@3c {
49354d7675SEmmanuel Vadot            compatible = "amd,sbrmi";
50354d7675SEmmanuel Vadot            reg = <0x3c>;
51354d7675SEmmanuel Vadot        };
52354d7675SEmmanuel Vadot    };
53354d7675SEmmanuel Vadot...
54