This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:developers:documentation:submittingpatches [2020/10/08 09:43] Kalle Valo [New driver] Clarify that these are requirements, add DT, separate preferred licenses |
en:developers:documentation:submittingpatches [2020/10/12 13:19] Kalle Valo [New driver] overview of the driver |
||
---|---|---|---|
Line 165: | Line 165: | ||
* have firmware images submitted for [[https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/|linux-firmware]] with an acceptable license allowing redistribution | * have firmware images submitted for [[https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/|linux-firmware]] with an acceptable license allowing redistribution | ||
* document Device Tree usage in [[https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html|devicetree bindings]] and review them with DT maintainers | * document Device Tree usage in [[https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html|devicetree bindings]] and review them with DT maintainers | ||
+ | * in the commit log/cover letter provide an overview of the driver | ||
+ | * what hardware the driver supports | ||
+ | * what features are supported (client, AP, mesh modes etc) | ||
* for review submit the driver as one file per patch, to make it easier for the reviewers | * for review submit the driver as one file per patch, to make it easier for the reviewers | ||
* example: https://lore.kernel.org/linux-wireless/20200623110000.31559-1-ajay.kathat@microchip.com/ | * example: https://lore.kernel.org/linux-wireless/20200623110000.31559-1-ajay.kathat@microchip.com/ | ||
Line 170: | Line 173: | ||
* for staging drivers the final patch will be just a small patch moving the driver, example: https://git.kernel.org/linus/5625f965d764 | * for staging drivers the final patch will be just a small patch moving the driver, example: https://git.kernel.org/linus/5625f965d764 | ||
- | There's also a list [[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/LICENSES/preferred|preferred licenses]] available. | + | There's also a list of [[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/LICENSES/preferred|preferred licenses]] available. |
===== Examples of a patches ===== | ===== Examples of a patches ===== |