Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Frank Li and committed by
Alexandre Belloni
0bafe291 d754e2c4

+6 -1
+6 -1
Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.yaml
··· 18 18 19 19 properties: 20 20 compatible: 21 - const: nxp,lpc1788-rtc 21 + oneOf: 22 + - items: 23 + - enum: 24 + - nxp,lpc1850-rtc 25 + - const: nxp,lpc1788-rtc 26 + - const: nxp,lpc1788-rtc 22 27 23 28 reg: 24 29 maxItems: 1