mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 22:54:17 -04:00
dt-bindings: hwmon: pmbus: Add bindings for Silergy SQ24860
Add devicetree binding documentation for the Silergy SQ24860 eFuse. The device is a PMBus hardware monitoring device which reports voltage, current, power, and temperature telemetry. The board-specific IMON resistor value is described with silergy,rimon-micro-ohms. Signed-off-by: Ziming Zhu <ziming.zhu@silergycorp.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20260612030304.5165-2-zmzhu0630@163.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
committed by
Guenter Roeck
parent
d1db9b08fb
commit
4cbf6f017a
@@ -0,0 +1,74 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
|
||||
$id: http://devicetree.org/schemas/hwmon/pmbus/silergy,sq24860.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Silergy SQ24860 eFuse
|
||||
|
||||
maintainers:
|
||||
- Ziming Zhu <ziming.zhu@silergycorp.com>
|
||||
|
||||
description:
|
||||
The Silergy SQ24860 is an integrated, high-current circuit protection and
|
||||
power management device with PMBus interface.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: silergy,sq24860
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
silergy,rimon-micro-ohms:
|
||||
description:
|
||||
Micro-ohms value of the resistance installed between the IMON pin and
|
||||
the ground reference.
|
||||
|
||||
interrupts:
|
||||
description: PMBus SMBAlert interrupt.
|
||||
maxItems: 1
|
||||
|
||||
regulators:
|
||||
type: object
|
||||
description:
|
||||
List of regulators provided by this controller.
|
||||
|
||||
properties:
|
||||
vout:
|
||||
$ref: /schemas/regulator/regulator.yaml#
|
||||
type: object
|
||||
unevaluatedProperties: false
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- silergy,rimon-micro-ohms
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
hw-monitor@40 {
|
||||
compatible = "silergy,sq24860";
|
||||
reg = <0x40>;
|
||||
|
||||
interrupt-parent = <&gpio>;
|
||||
interrupts = <42 8>;
|
||||
silergy,rimon-micro-ohms = <1600000000>;
|
||||
|
||||
regulators {
|
||||
cpu0_vout: vout {
|
||||
regulator-name = "main_cpu0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user