mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
dt-bindings: can: rockchip: add rk3588 CAN-FD compatible
RK3588 integrates a Rockchip CAN-FD controller variant that is not fully compatible with RK3568v2. The RX FIFO count register field is encoded in bits 7:5 on RK3588, while RK3568v2 uses bits 6:4. Add a dedicated rockchip,rk3588-canfd compatible to describe this variant. Do not use rockchip,rk3568v2-canfd as a fallback, because that would describe a register layout that does not match the hardware. Reviewed-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Cunhao Lu <1579567540@qq.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Link: https://patch.msgid.link/tencent_AE1A1199FC8C9ADC680C6458134A46B40309@qq.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
a0d62de8ad
commit
1802936fa0
|
|
@ -16,7 +16,9 @@ allOf:
|
|||
properties:
|
||||
compatible:
|
||||
oneOf:
|
||||
- const: rockchip,rk3568v2-canfd
|
||||
- enum:
|
||||
- rockchip,rk3568v2-canfd
|
||||
- rockchip,rk3588-canfd
|
||||
- items:
|
||||
- const: rockchip,rk3568v3-canfd
|
||||
- const: rockchip,rk3568v2-canfd
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user