2024-01-29 03:46:41

by William Qiu

[permalink] [raw]
Subject: [PATCH v1 0/4] CAST Controller Area Network driver support

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



2024-01-29 07:58:49

by Marc Kleine-Budde

[permalink] [raw]
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

>
> 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 |


Attachments:
(No filename) (1.47 kB)
signature.asc (499.00 B)
Download all attachments

2024-01-29 08:08:36

by William Qiu

[permalink] [raw]
Subject: RE: [PATCH v1 0/4] CAST Controller Area Network driver support


> -----Original Message-----
> From: Marc Kleine-Budde <[email protected]>
> Sent: 2024年1月29日 15:58
> To: William Qiu <[email protected]>
> Cc: [email protected]; [email protected];
> [email protected]; [email protected]; Emil Renner
> Berthing <[email protected]>; Rob Herring <[email protected]>; Wolfgang
> Grandegger <[email protected]>; Philipp Zabel <[email protected]>;
> Krzysztof Kozlowski <[email protected]>; Conor Dooley
> <[email protected]>; David S . Miller <[email protected]>; Eric
> Dumazet <[email protected]>; Jakub Kicinski <[email protected]>; Paolo
> Abeni <[email protected]>; Paul Walmsley <[email protected]>;
> Palmer Dabbelt <[email protected]>; Albert Ou <[email protected]>
> 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 |

2024-01-29 11:35:39

by Marc Kleine-Budde

[permalink] [raw]
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

--
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 |


Attachments:
(No filename) (744.00 B)
signature.asc (499.00 B)
Download all attachments

2024-01-30 06:42:17

by William Qiu

[permalink] [raw]
Subject: RE: RE: [PATCH v1 0/4] CAST Controller Area Network driver support



> -----Original Message-----
> From: Marc Kleine-Budde <[email protected]>
> Sent: 2024年1月29日 19:31
> To: William Qiu <[email protected]>
> Cc: [email protected]; [email protected];
> [email protected]; [email protected]; Emil Renner
> Berthing <[email protected]>; Rob Herring <[email protected]>; Wolfgang
> Grandegger <[email protected]>; Philipp Zabel <[email protected]>;
> Krzysztof Kozlowski <[email protected]>; Conor Dooley
> <[email protected]>; David S . Miller <[email protected]>; Eric
> Dumazet <[email protected]>; Jakub Kicinski <[email protected]>; Paolo
> Abeni <[email protected]>; Paul Walmsley <[email protected]>;
> Palmer Dabbelt <[email protected]>; Albert Ou <[email protected]>
> 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 |