[v1,0/4] CAST Controller Area Network driver support

Message ID 20240129031239.17037-1-william.qiu@starfivetech.com
Headers
Series CAST Controller Area Network driver support |

Message

William Qiu Jan. 29, 2024, 3:12 a.m. UTC
  Hi,

This patchset adds initial rudimentary support for the CAST Controller
Area Network driver. And we registered cast in kernel as well. This
driver will be applied in JH7110 SoC first, so add relevant
compatibility support.

William Qiu (4):
  dt-bindings: vendor-prefixes: Add cast vendor prefix
  dt-bindings: can: Add bindings for CAST CAN Controller
  can: cast: add driver for CAST CAN controller
  riscv: dts: starfive: jh7110: Add CAN node

 .../devicetree/bindings/net/can/cast,can.yaml |   95 ++
 .../devicetree/bindings/vendor-prefixes.yaml  |    2 +
 MAINTAINERS                                   |    7 +
 arch/riscv/boot/dts/starfive/jh7110.dtsi      |   32 +
 drivers/net/can/Kconfig                       |    7 +
 drivers/net/can/Makefile                      |    1 +
 drivers/net/can/cast_can.c                    | 1215 +++++++++++++++++
 7 files changed, 1359 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/can/cast,can.yaml
 create mode 100644 drivers/net/can/cast_can.c

--
2.34.1
  

Comments

Marc Kleine-Budde Jan. 29, 2024, 7:57 a.m. UTC | #1
On 29.01.2024 11:12:35, William Qiu wrote:
> Hi,
> 
> This patchset adds initial rudimentary support for the CAST Controller
> Area Network driver. And we registered cast in kernel as well. This
> driver will be applied in JH7110 SoC first, so add relevant
> compatibility support.

Is there a public available data sheet for the IP core?

Marc

> 
> William Qiu (4):
>   dt-bindings: vendor-prefixes: Add cast vendor prefix
>   dt-bindings: can: Add bindings for CAST CAN Controller
>   can: cast: add driver for CAST CAN controller
>   riscv: dts: starfive: jh7110: Add CAN node
> 
>  .../devicetree/bindings/net/can/cast,can.yaml |   95 ++
>  .../devicetree/bindings/vendor-prefixes.yaml  |    2 +
>  MAINTAINERS                                   |    7 +
>  arch/riscv/boot/dts/starfive/jh7110.dtsi      |   32 +
>  drivers/net/can/Kconfig                       |    7 +
>  drivers/net/can/Makefile                      |    1 +
>  drivers/net/can/cast_can.c                    | 1215 +++++++++++++++++
>  7 files changed, 1359 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/net/can/cast,can.yaml
>  create mode 100644 drivers/net/can/cast_can.c
> 
> --
> 2.34.1
> 
> 
>
  
William Qiu Jan. 29, 2024, 8:07 a.m. UTC | #2
> -----Original Message-----
> From: Marc Kleine-Budde <mkl@pengutronix.de>
> Sent: 2024年1月29日 15:58
> To: William Qiu <william.qiu@starfivetech.com>
> Cc: devicetree@vger.kernel.org; linux-kernel@vger.kernel.org;
> linux-riscv@lists.infradead.org; linux-can@vger.kernel.org; Emil Renner
> Berthing <kernel@esmil.dk>; Rob Herring <robh+dt@kernel.org>; Wolfgang
> Grandegger <wg@grandegger.com>; Philipp Zabel <p.zabel@pengutronix.de>;
> Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>; Conor Dooley
> <conor+dt@kernel.org>; David S . Miller <davem@davemloft.net>; Eric
> Dumazet <edumazet@google.com>; Jakub Kicinski <kuba@kernel.org>; Paolo
> Abeni <pabeni@redhat.com>; Paul Walmsley <paul.walmsley@sifive.com>;
> Palmer Dabbelt <palmer@dabbelt.com>; Albert Ou <aou@eecs.berkeley.edu>
> Subject: Re: [PATCH v1 0/4] CAST Controller Area Network driver support
> 
> On 29.01.2024 11:12:35, William Qiu wrote:
> > Hi,
> >
> > This patchset adds initial rudimentary support for the CAST Controller
> > Area Network driver. And we registered cast in kernel as well. This
> > driver will be applied in JH7110 SoC first, so add relevant
> > compatibility support.
> 
> Is there a public available data sheet for the IP core?
> 
> Marc
> 

We do have the data sheet, but I'm not sure if CAST is willing to make it
public. I need to contact them first and then reply to you.
Or you can contact them on their website, which is https://www.cast-inc.com/.

Thanks,
William
> >
> > William Qiu (4):
> >   dt-bindings: vendor-prefixes: Add cast vendor prefix
> >   dt-bindings: can: Add bindings for CAST CAN Controller
> >   can: cast: add driver for CAST CAN controller
> >   riscv: dts: starfive: jh7110: Add CAN node
> >
> >  .../devicetree/bindings/net/can/cast,can.yaml |   95 ++
> >  .../devicetree/bindings/vendor-prefixes.yaml  |    2 +
> >  MAINTAINERS                                   |    7 +
> >  arch/riscv/boot/dts/starfive/jh7110.dtsi      |   32 +
> >  drivers/net/can/Kconfig                       |    7 +
> >  drivers/net/can/Makefile                      |    1 +
> >  drivers/net/can/cast_can.c                    | 1215
> +++++++++++++++++
> >  7 files changed, 1359 insertions(+)
> >  create mode 100644
> > Documentation/devicetree/bindings/net/can/cast,can.yaml
> >  create mode 100644 drivers/net/can/cast_can.c
> >
> > --
> > 2.34.1
> >
> >
> >
> 
> --
> 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   |
  
Marc Kleine-Budde Jan. 29, 2024, 11:31 a.m. UTC | #3
On 29.01.2024 08:07:49, William Qiu wrote:
> > Is there a public available data sheet for the IP core?
> 
> We do have the data sheet, but I'm not sure if CAST is willing to make it
> public. I need to contact them first and then reply to you.
> Or you can contact them on their website, which is https://www.cast-inc.com/.

I'll contact them via the website, but please ask them as well, as you
have probably a better, more direct contact to them.

regards,
Marc
  
William Qiu Jan. 30, 2024, 6:41 a.m. UTC | #4
> -----Original Message-----
> From: Marc Kleine-Budde <mkl@pengutronix.de>
> Sent: 2024年1月29日 19:31
> To: William Qiu <william.qiu@starfivetech.com>
> Cc: devicetree@vger.kernel.org; linux-kernel@vger.kernel.org;
> linux-riscv@lists.infradead.org; linux-can@vger.kernel.org; Emil Renner
> Berthing <kernel@esmil.dk>; Rob Herring <robh+dt@kernel.org>; Wolfgang
> Grandegger <wg@grandegger.com>; Philipp Zabel <p.zabel@pengutronix.de>;
> Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>; Conor Dooley
> <conor+dt@kernel.org>; David S . Miller <davem@davemloft.net>; Eric
> Dumazet <edumazet@google.com>; Jakub Kicinski <kuba@kernel.org>; Paolo
> Abeni <pabeni@redhat.com>; Paul Walmsley <paul.walmsley@sifive.com>;
> Palmer Dabbelt <palmer@dabbelt.com>; Albert Ou <aou@eecs.berkeley.edu>
> Subject: Re: RE: [PATCH v1 0/4] CAST Controller Area Network driver support
> 
> On 29.01.2024 08:07:49, William Qiu wrote:
> > > Is there a public available data sheet for the IP core?
> >
> > We do have the data sheet, but I'm not sure if CAST is willing to make
> > it public. I need to contact them first and then reply to you.
> > Or you can contact them on their website, which is
> https://www.cast-inc.com/.
> 
> I'll contact them via the website, but please ask them as well, as you have
> probably a better, more direct contact to them.
> 
> regards,
> Marc
> 
I see. I'll do it .

Thanks,
William
> --
> 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   |