Message ID | 20250119-add_support_max31331_fix_5-v1-1-73f7be59f022@analog.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | Add support for MAX31331 RTC | expand |
On Sun, Jan 19, 2025 at 01:17:38PM +0530, PavithraUdayakumar-adi wrote: > Added DT compatible string for MAX31331. MAX31331 is > compatible with MAX31335 without any additional features. Your driver patch suggests these are not compatible, but anyway if you claim these are compatible, then express it with fallback (see example-schema and many other bindings). Best regards, Krzysztof
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