* [PATCH] dt-bindings: hwmon: pmbus: Add bindings for MPS MP297x
@ 2024-10-22 10:37 Naresh Solanki
2024-10-22 16:29 ` Conor Dooley
2024-11-01 14:40 ` Guenter Roeck
0 siblings, 2 replies; 3+ messages in thread
From: Naresh Solanki @ 2024-10-22 10:37 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, devicetree, linux-kernel, jdelvare,
linux, sylv, linux-hwmon, Naresh Solanki
Remove mps297x from trivial-devices as it requires
additional properties and does not fit into the trivial
devices category.
Add new bindings for MPS mp2971, mp2973 & mp2975.
It is Dual-Loop, Digital Multi-Phase Controller with PMBUS
interface
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
---
.../bindings/hwmon/pmbus/mps,mp2975.yaml | 75 +++++++++++++++++++
.../devicetree/bindings/trivial-devices.yaml | 6 --
2 files changed, 75 insertions(+), 6 deletions(-)
create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/mps,mp2975.yaml
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/mps,mp2975.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mp2975.yaml
new file mode 100644
index 000000000000..f7bc4f077929
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mp2975.yaml
@@ -0,0 +1,75 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/pmbus/mps,mp2975.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MPS MP2975 Synchronous Buck Regulator
+
+maintainers:
+ - Naresh Solanki <naresh.solanki@9elements.com>
+
+description:
+ The MPS MP2971, MP2973 & MP2975 is a multi-phase voltage regulator
+ designed for use in high-performance computing and server
+ applications. It supports I2C/PMBus for control and monitoring.
+
+properties:
+ compatible:
+ enum:
+ - mps,mp2971
+ - mps,mp2973
+ - mps,mp2975
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ regulators:
+ type: object
+ description:
+ List of regulators provided by this controller.
+
+ patternProperties:
+ "^vout[0-1]$":
+ $ref: /schemas/regulator/regulator.yaml#
+ type: object
+ unevaluatedProperties: false
+
+ additionalProperties: false
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ regulator@58 {
+ compatible = "mps,mp2973";
+ reg = <0x58>;
+
+ interrupt-parent = <&smb_pex_cpu1_event>;
+ interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
+
+ regulators {
+ vout0 {
+ regulator-name = "pvccin_cpu1";
+ regulator-enable-ramp-delay = <200>;
+ };
+ vout1 {
+ regulator-name = "pvccfa_ehv_fivra_cpu1";
+ regulator-enable-ramp-delay = <200>;
+ };
+ };
+ };
+ };
+
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 15f89d7ecf73..08de873f9f98 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -281,12 +281,6 @@ properties:
- mps,mp2888
# Monolithic Power Systems Inc. multi-phase controller mp2891
- mps,mp2891
- # Monolithic Power Systems Inc. multi-phase controller mp2971
- - mps,mp2971
- # Monolithic Power Systems Inc. multi-phase controller mp2973
- - mps,mp2973
- # Monolithic Power Systems Inc. multi-phase controller mp2975
- - mps,mp2975
# Monolithic Power Systems Inc. multi-phase controller mp2993
- mps,mp2993
# Monolithic Power Systems Inc. multi-phase hot-swap controller mp5920
base-commit: d79616b04f0e08178ceb716a5d2ef60ab723d532
--
2.42.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: hwmon: pmbus: Add bindings for MPS MP297x
2024-10-22 10:37 [PATCH] dt-bindings: hwmon: pmbus: Add bindings for MPS MP297x Naresh Solanki
@ 2024-10-22 16:29 ` Conor Dooley
2024-11-01 14:40 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2024-10-22 16:29 UTC (permalink / raw)
To: Naresh Solanki
Cc: robh, krzk+dt, conor+dt, devicetree, linux-kernel, jdelvare,
linux, sylv, linux-hwmon
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
On Tue, Oct 22, 2024 at 04:07:49PM +0530, Naresh Solanki wrote:
> Remove mps297x from trivial-devices as it requires
> additional properties and does not fit into the trivial
> devices category.
>
> Add new bindings for MPS mp2971, mp2973 & mp2975.
> It is Dual-Loop, Digital Multi-Phase Controller with PMBUS
> interface
>
> Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: hwmon: pmbus: Add bindings for MPS MP297x
2024-10-22 10:37 [PATCH] dt-bindings: hwmon: pmbus: Add bindings for MPS MP297x Naresh Solanki
2024-10-22 16:29 ` Conor Dooley
@ 2024-11-01 14:40 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2024-11-01 14:40 UTC (permalink / raw)
To: Naresh Solanki
Cc: robh, krzk+dt, conor+dt, devicetree, linux-kernel, jdelvare, sylv,
linux-hwmon
On Tue, Oct 22, 2024 at 04:07:49PM +0530, Naresh Solanki wrote:
> Remove mps297x from trivial-devices as it requires
> additional properties and does not fit into the trivial
> devices category.
>
> Add new bindings for MPS mp2971, mp2973 & mp2975.
> It is Dual-Loop, Digital Multi-Phase Controller with PMBUS
> interface
>
> Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-01 14:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22 10:37 [PATCH] dt-bindings: hwmon: pmbus: Add bindings for MPS MP297x Naresh Solanki
2024-10-22 16:29 ` Conor Dooley
2024-11-01 14:40 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox