From patchwork Sat Jul 2 14:01:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 12904006 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FCD3CCA47B for ; Sat, 2 Jul 2022 14:01:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232020AbiGBOBl (ORCPT ); Sat, 2 Jul 2022 10:01:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229955AbiGBOBk (ORCPT ); Sat, 2 Jul 2022 10:01:40 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BD371BF56; Sat, 2 Jul 2022 07:01:38 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.92,240,1650898800"; d="scan'208";a="126436995" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 02 Jul 2022 23:01:38 +0900 Received: from localhost.localdomain (unknown [10.226.92.2]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 6382943676A3; Sat, 2 Jul 2022 23:01:33 +0900 (JST) From: Biju Das To: Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski Cc: Biju Das , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, Geert Uytterhoeven , Chris Paterson , Biju Das , linux-renesas-soc@vger.kernel.org Subject: [PATCH 0/6] Add support for RZ/N1 SJA1000 CAN controller Date: Sat, 2 Jul 2022 15:01:24 +0100 Message-Id: <20220702140130.218409-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch series aims to add support for RZ/N1 SJA1000 CAN controller. The SJA1000 CAN controller on RZ/N1 SoC has some differences compared to others like it has no clock divider register (CDR) support and it has no HW loopback(HW doesn't see tx messages on rx), so introduced a new compatible 'renesas,rzn1-sja1000' to handle these differences. Ref: [1] https://lore.kernel.org/linux-renesas-soc/20220701162320.102165-1-biju.das.jz@bp.renesas.com/T/#t Biju Das (6): dt-bindings: can: sja1000: Convert to json-schema dt-bindings: can: nxp,sja1000: Document RZ/N1{D,S} support can: sja1000: Add Quirks for RZ/N1 SJA1000 CAN controller can: sja1000: Use of_device_get_match_data to get device data can: sja1000: Change the return type as void for SoC specific init can: sja1000: Add support for RZ/N1 SJA1000 CAN Controller .../bindings/net/can/nxp,sja1000.yaml | 128 ++++++++++++++++++ .../devicetree/bindings/net/can/sja1000.txt | 58 -------- drivers/net/can/sja1000/sja1000.c | 17 ++- drivers/net/can/sja1000/sja1000.h | 4 +- drivers/net/can/sja1000/sja1000_platform.c | 52 ++++--- 5 files changed, 176 insertions(+), 83 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/can/nxp,sja1000.yaml delete mode 100644 Documentation/devicetree/bindings/net/can/sja1000.txt