I am new to creating a driver implementing. My Application is using socketcan interface and apparently socketcan is not supported by the SOC. I am planning to write my own driver. The issue I know how simple module for kernel I am not pretty sure where to start for socketcan driver . If someone can please tell me where can I take reference for building the CAN driver or some git repo where can I use it and any specifics while writing the driver