Home
last modified time | relevance | path

Searched +full:sb +full:- +full:rmi (Results 1 – 6 of 6) sorted by relevance

/linux/Documentation/hwmon/ !
H A Dsbrmi.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
8 * Sideband Remote Management Interface (SB-RMI) compliant AMD SoC
15 To instantiate this driver on an AMD CPU with SB-RMI
22 As mentioned in AMD's APML specification, The SB-RMI address is
27 Datasheet: The SB-RMI interface and protocol along with the Advanced
31 https://www.amd.com/en/support/tech-docs?keyword=55898
36 -----------
38 The APML provides a way to communicate with the SB Remote Management interface
39 (SB-RMI) module from the external SMBus master that can be used to report socket
40 power on AMD platforms using mailbox command and resembles a typical 8-pin remote
[all …]
/linux/Documentation/devicetree/bindings/hwmon/ !
H A Damd,sbrmi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 Sideband Remote Management Interface (SB-RMI) compliant
12 - Akshay Gupta <Akshay.Gupta@amd.com>
15 SB Remote Management Interface (SB-RMI) is an SMBus compatible
17 Mailbox Service Request and resembles a typical 8-pin remote power
24 - amd,sbrmi
30 of the SoC register reference. The SB-RMI address is normally 78h for
34 https://www.amd.com/en/support/tech-docs?keyword=55898
[all …]
/linux/drivers/misc/amd-sbi/ !
H A Drmi-i2c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * rmi-i2c.c - Side band RMI over I2C support for AMD out
17 #include "rmi-core.h"
24 * Enable the SB-RMI Software alert status in sbrmi_enable_alert()
27 ret = regmap_read(data->regmap, SBRMI_CTRL, &ctrl); in sbrmi_enable_alert()
33 return regmap_write(data->regmap, SBRMI_CTRL, ctrl); in sbrmi_enable_alert()
48 data->pwr_limit_max = msg.mb_in_out; in sbrmi_get_max_pwr_limit()
55 struct device *dev = &client->dev; in sbrmi_i2c_probe()
65 return -ENOMEM; in sbrmi_i2c_probe()
67 mutex_init(&data->lock); in sbrmi_i2c_probe()
[all …]
H A Drmi-core.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 #include <uapi/misc/amd-apml.h>
16 /* SB-RMI registers */
42 * SB-RMI supports soft mailbox service request to MP1 (power management
44 * SB-RMI message IDs
H A Drmi-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sbrmi-core.c - file defining SB-RMI protocols compliant
16 #include "rmi-core.h"
76 input->rd_len = CPUID_RD_DATA_LEN; in prepare_cpuid_input_message()
77 input->wr_len = CPUID_WR_DATA_LEN; in prepare_cpuid_input_message()
78 input->proto_cmd = RD_CPUID_CMD; in prepare_cpuid_input_message()
79 input->thread = thread_id << 1; in prepare_cpuid_input_message()
80 input->value = func; in prepare_cpuid_input_message()
81 input->ext = ext_func; in prepare_cpuid_input_message()
87 input->rd_len = MSR_RD_DATA_LEN; in prepare_mca_msr_input_message()
[all …]
/linux/Documentation/misc-devices/ !
H A Damd-sbi.rst1 .. SPDX-License-Identifier: GPL-2.0
8 functionality via side-band interface (SBI) called
10 based 2-wire processor target interface. APML is used to
12 (SB Remote Management Interface (SB-RMI)
13 and SB Temperature Sensor Interface (SB-TSI)).
18 .. [1] https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/programmer-references/5…
24 apml_sbrmi driver under the drivers/misc/amd-sbi creates miscdevice
25 /dev/sbrmi-* to let user space programs run APML mailbox, CPUID,
31 $ ls -al /dev/sbrmi-3c
32 crw------- 1 root root 10, 53 Jul 10 11:13 /dev/sbrmi-3c
[all …]