diff options
| author | Frank Li <Frank.Li@nxp.com> | 2025-06-02 10:28:41 -0400 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-07-07 23:42:15 +0200 |
| commit | 0bafe291cb429d39b5ff70bcf7b2f3ab026dcb02 (patch) | |
| tree | 9cdf69c8f53e495cf814722e5b26b8abccef8cf6 | |
| parent | d754e2c4aaeadb342036f89d8afc78db6ba2e210 (diff) | |
dt-bindings: rtc: nxp,lpc1788-rtc: add compatible string nxp,lpc1850-rtc
Add compatible string nxp,lpc1850-rtc and fallback to nxp,lpc1788-rtc.
Fix below CHECK_DTB warning:
arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dtb: rtc@40046000 (nxp,lpc1850-rtc): compatible: ['nxp,lpc1850-rtc', 'nxp,lpc1788-rtc'] is too long
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250602142842.942700-1-Frank.Li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
| -rw-r--r-- | Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml b/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml index e88b847a1cc5..e896ba59302a 100644 --- a/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml @@ -18,7 +18,12 @@ allOf: properties: compatible: - const: nxp,lpc1788-rtc + oneOf: + - items: + - enum: + - nxp,lpc1850-rtc + - const: nxp,lpc1788-rtc + - const: nxp,lpc1788-rtc reg: maxItems: 1 |
