* Getting started on writing a driver for the rpi4
@ 2020-05-03 20:19 Jacko Dirks
2020-05-04 3:15 ` Valdis Klētnieks
0 siblings, 1 reply; 2+ messages in thread
From: Jacko Dirks @ 2020-05-03 20:19 UTC (permalink / raw)
To: kernelnewbies
Hello all,
I want to get started on writing a driver for the I2C slave for the
Raspberry Pi 4. Now, I have a feeling that I cannot just write the thing
and then dump it on everyone involved, not in the last place because I
have never submitted a kernel patch before. So, should I email a mailing
list warning everyone of what I want to do? Is there anything else I
should know about?
To clarify, this is not about the creation of the driver itself, more of
a meta question of how to announce that I want to do this.
Thanks in advance,
Jacko Dirks
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Getting started on writing a driver for the rpi4
2020-05-03 20:19 Getting started on writing a driver for the rpi4 Jacko Dirks
@ 2020-05-04 3:15 ` Valdis Klētnieks
0 siblings, 0 replies; 2+ messages in thread
From: Valdis Klētnieks @ 2020-05-04 3:15 UTC (permalink / raw)
To: Jacko Dirks; +Cc: kernelnewbies
[-- Attachment #1.1: Type: text/plain, Size: 1341 bytes --]
On Sun, 03 May 2020 22:19:35 +0200, Jacko Dirks said:
> have never submitted a kernel patch before. So, should I email a mailing
> list warning everyone of what I want to do? Is there anything else I
> should know about?
Yes, you should do a bit of Googling and/or check the current source tree
to make sure you aren't re-inventing the wheel.. There may already be
working or near-working code, A quick Google check foud:
Somebody else was looking at the problem back in February.
https://www.raspberrypi.org/forums/viewtopic.php?t=265832
http://abyz.me.uk/rpi/pigpio/python.html apparently includes some slave
functionality from userspace that may be useful as a guide:
I2C/SPI SLAVE
bsc_xfer I2C/SPI as slave transfer
bsc_i2c I2C as slave transfer
> To clarify, this is not about the creation of the driver itself, more of
> a meta question of how to announce that I want to do this.
Pretty much nobody cares that you *want* to do it. GitHub and SourceForge
are full of abandonware where somebody *wanted* to do something and never
finished it.
Once you have a driver that loads and semi/mostly works, *then* you announce it, usually
in the form of a patch stream generated using 'git format-patch' and 'git send-email'.
But Greg KH can't even add it to drivers/staging until you have at least a good first pass
at workig code...
[-- Attachment #1.2: Type: application/pgp-signature, Size: 832 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-04 3:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-03 20:19 Getting started on writing a driver for the rpi4 Jacko Dirks
2020-05-04 3:15 ` Valdis Klētnieks
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.