Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/hwmon/amd,sbrmi.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: >
0008   Sideband Remote Management Interface (SB-RMI) compliant
0009   AMD SoC power device.
0010 
0011 maintainers:
0012   - Akshay Gupta <Akshay.Gupta@amd.com>
0013 
0014 description: |
0015   SB Remote Management Interface (SB-RMI) is an SMBus compatible
0016   interface that reports AMD SoC's Power (normalized Power) using,
0017   Mailbox Service Request and resembles a typical 8-pin remote power
0018   sensor's I2C interface to BMC. The power attributes in hwmon
0019   reports power in microwatts.
0020 
0021 properties:
0022   compatible:
0023     enum:
0024       - amd,sbrmi
0025 
0026   reg:
0027     maxItems: 1
0028     description: |
0029       I2C bus address of the device as specified in Section SBI SMBus Address
0030       of the SoC register reference. The SB-RMI address is normally 78h for
0031       socket 0 and 70h for socket 1, but it could vary based on hardware
0032       address select pins.
0033       \[open source SoC register reference\]
0034         https://www.amd.com/en/support/tech-docs?keyword=55898
0035 
0036 required:
0037   - compatible
0038   - reg
0039 
0040 additionalProperties: false
0041 
0042 examples:
0043   - |
0044     i2c0 {
0045         #address-cells = <1>;
0046         #size-cells = <0>;
0047 
0048         sbrmi@3c {
0049                 compatible = "amd,sbrmi";
0050                 reg = <0x3c>;
0051         };
0052     };
0053 ...