From b60e4b3ae17a7e906a882da38bc2b91e9a9835b7 Mon Sep 17 00:00:00 2001 From: Alexis Czezar Torreno Date: Thu, 30 Jul 2026 09:03:35 +0800 Subject: [PATCH] dt-bindings: hwmon: (pmbus/max20830): add max20830c and max20840c support Add compatible strings for variants of MAX20830 which are MAX20830C and MAX20840C. These devices have the same register functionality with MAX20830 but with a longer IC_DEVICE_ID. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alexis Czezar Torreno Link: https://lore.kernel.org/r/20260730-dev-max20830c-v5-3-a7553f84ee74@analog.com Signed-off-by: Guenter Roeck --- .../devicetree/bindings/hwmon/pmbus/adi,max20830.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml index 01b7275f5b34..cc50a4ee44a2 100644 --- a/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml +++ b/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml @@ -22,7 +22,13 @@ allOf: properties: compatible: - const: adi,max20830 + oneOf: + - const: adi,max20830 + - items: + - enum: + - adi,max20830c + - adi,max20840c + - const: adi,max20830 reg: maxItems: 1