[PATCH v2 1/4] dt-bindings: can: rockchip: add rk3588 CAN-FD compatible
Heiko Stübner
heiko at sntech.de
Thu Jul 2 09:01:06 PDT 2026
Am Donnerstag, 2. Juli 2026, 16:06:51 Mitteleuropäische Sommerzeit schrieb 1579567540 at qq.com:
> From: Cunhao Lu <1579567540 at qq.com>
>
> 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.
>
> Changes in v2:
> - Use enum for the single-compatible entries, as suggested by Krzysztof.
> - Reword the commit message to explain the hardware difference instead
> of referring to Linux driver match data.
>
> Signed-off-by: Cunhao Lu <1579567540 at qq.com>
after fixing Krzysztof's comment:
Reviewed-by: Heiko Stuebner <heiko at sntech.de>
and doing dtbscheck of the binding against the dt-patches:
Tested-by: Heiko Stuebner <heiko at sntech.de>
More information about the linux-arm-kernel
mailing list