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

dt-bindings: net: can: Add support for Allwinner D1 CAN controller

The Allwinner D1 has two CAN controllers, both a variant of the R40
controller. Unfortunately the registers for the D1 controllers are
moved around enough to be incompatible and require a new compatible.

Introduce the "allwinner,sun20i-d1-can" compatible to support this.

Signed-off-by: John Watts <contact@jookia.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/all/20230721221552.1973203-3-contact@jookia.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

authored by

John Watts and committed by
Marc Kleine-Budde
8c07fb0d 74dedbd7

+4 -2
+4 -2
Documentation/devicetree/bindings/net/can/allwinner,sun4i-a10-can.yaml
··· 21 21 - const: allwinner,sun4i-a10-can 22 22 - const: allwinner,sun4i-a10-can 23 23 - const: allwinner,sun8i-r40-can 24 + - const: allwinner,sun20i-d1-can 24 25 25 26 reg: 26 27 maxItems: 1 ··· 38 37 if: 39 38 properties: 40 39 compatible: 41 - contains: 42 - const: allwinner,sun8i-r40-can 40 + enum: 41 + - allwinner,sun8i-r40-can 42 + - allwinner,sun20i-d1-can 43 43 44 44 then: 45 45 required: