[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251126-large-mongrel-from-jupiter-c96915-mkl@pengutronix.de>
Date: Wed, 26 Nov 2025 16:27:26 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Biju <biju.das.au@...il.com>
Cc: Vincent Mailhol <mailhol@...nel.org>,
Geert Uytterhoeven <geert+renesas@...der.be>, Magnus Damm <magnus.damm@...il.com>,
Biju Das <biju.das.jz@...renesas.com>, Tranh Ha <tranh.ha.xb@...esas.com>,
Duy Nguyen <duy.nguyen.rh@...esas.com>, linux-can@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
linux-kernel@...r.kernel.org, Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@...renesas.com>,
stable@...r.kernel.org
Subject: Re: [PATCH] can: rcar_canfd: Fix CAN-FD mode as default
On 18.11.2025 12:39:25, Biju wrote:
> From: Biju Das <biju.das.jz@...renesas.com>
>
> The commit 5cff263606a1 ("can: rcar_canfd: Fix controller mode setting")
> has aligned with the flow mentioned in the hardware manual for all SoCs
> except R-Car Gen3 and RZ/G2L SoCs. On R-Car Gen4 and RZ/G3E SoCs, due to
> the wrong logic in the commit[1] sets the default mode to FD-Only mode
> instead of CAN-FD mode.
>
> This patch sets the CAN-FD mode as the default for all SoCs by dropping
> the rcar_canfd_set_mode() as some SoC requires mode setting in global
> reset mode, and the rest of the SoCs in channel reset mode and update the
> rcar_canfd_reset_controller() to take care of these constraints. Moreover,
> the RZ/G3E and R-Car Gen4 SoCs support 3 modes compared to 2 modes on the
> R-Car Gen3. Use inverted logic in rcar_canfd_reset_controller() to
> simplify the code later to support FD-only mode.
Applied to linux-can
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists