diff mbox series

[v5,1/2] dt-bindings: rtc: max31335: Add max31331 support

Message ID 20250131-add_support_max31331_fix_7-v1-1-d29d5de3d562@analog.com (mailing list archive)
State Handled Elsewhere
Headers show
Series Add support for MAX31331 RTC | expand

Commit Message

PavithraUdayakumar-adi via B4 Relay Jan. 31, 2025, 11:52 a.m. UTC
From: PavithraUdayakumar-adi <pavithra.u@analog.com>

Added DT compatible string for MAX31331.

Signed-off-by: PavithraUdayakumar-adi <pavithra.u@analog.com>
---
 Documentation/devicetree/bindings/rtc/adi,max31335.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Jan. 31, 2025, 2:06 p.m. UTC | #1
On 31/01/2025 12:52, PavithraUdayakumar-adi via B4 Relay wrote:
> From: PavithraUdayakumar-adi <pavithra.u@analog.com>
> 
> Added DT compatible string for MAX31331.


In the future, instead of just removing details, correct them, so say
that these are not compatible because of this and that.

> 
> Signed-off-by: PavithraUdayakumar-adi <pavithra.u@analog.com>
> ---


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/rtc/adi,max31335.yaml b/Documentation/devicetree/bindings/rtc/adi,max31335.yaml
index 0125cf6727cc3d9eb3e0253299904ee363ec40ca..bce7558d0d8789127dcf6050a78a166c753887ba 100644
--- a/Documentation/devicetree/bindings/rtc/adi,max31335.yaml
+++ b/Documentation/devicetree/bindings/rtc/adi,max31335.yaml
@@ -18,7 +18,9 @@  allOf:
 
 properties:
   compatible:
-    const: adi,max31335
+    enum:
+      - adi,max31331
+      - adi,max31335
 
   reg:
     maxItems: 1