Re: [PATCH v2 1/5] dt-bindings: net: can: renesas,rcar-canfd: Document RZ/G2L SoC
From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
Date: 2021-07-20 16:02:24
Also in:
linux-can, linux-clk, linux-devicetree, linux-renesas-soc, lkml
Hi Geert, On Tue, Jul 20, 2021 at 4:11 PM Geert Uytterhoeven [off-list ref] wrote:
Hi Prabhakar, On Tue, Jul 20, 2021 at 4:31 PM Lad, Prabhakar [off-list ref] wrote:quoted
On Tue, Jul 20, 2021 at 11:22 AM Philipp Zabel [off-list ref] wrote:quoted
On Mon, 2021-07-19 at 15:38 +0100, Lad Prabhakar wrote:quoted
Add CANFD binding documentation for Renesas RZ/G2L SoC. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>quoted
quoted
quoted
--- a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml +++ b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yamlquoted
quoted
quoted
+ resets: + items: + - description: CANFD_RSTP_N + - description: CANFD_RSTC_NDo you know what the "P" and "C" stands for? It would be nice if the description could tell us what the reset lines are used for.unfortunately the HW manual does not mention anything about "P" and "C" :(quoted
I would prefer if you used these names (or shortened versions, for example "rstp_n", "rstc_n") as "reset-names" and let the driver reference the resets by name instead of by index.OK will do that and maxItems:2 for resets. @Geert, for R-Car Gen3 does "canfd_rst" (as it's a module reset) sounds good for reset-names? Or do you have any other suggestions?I wouldn't bother with reset-names on R-Car, as there is only a single reset.
OK will keep "description: CANFD reset" for R-Car as done in the current patch and just add reset-names only for RZ/G2L SoC.
BTW, does there exist a generally-accepted reset-equivalent of "fck"
("Functional ClocK")?None that I am aware of (Couple of binding docs have "rst"), but maybe Philipp could have some suggestions. Cheers, Prabhakar
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds