-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Support for Blokas Labs pisound board. #1684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Blokas Labs pisound board. #1684
Conversation
I've add a patch to fix the README formatting. scripts/checkpatch.pl complains about a few formatting issues with the driver (C++ comments, line length, brace position and usage etc.), but if you can fix those I'll happily merge it. It's nice to see MIDI support - it takes me back to 1985 when I first started playing with it. |
Great! Didn't notice the requirement for running the scripts/checkpatch.pl, can you point me to any place listing the requirements for kernel patches, for future reference? I will let you know as soon as I get the warnings fixed. |
I have fixed most of the warnings, only these two remain:
I am not sure what would be the expected way to document them, also didn't find examples of other sound cards documenting them... Is solving these warnings optional? I have also successfully tested the updated code, the changes work as expected. |
No, you don't need to worry about those. I'll cast an eye over the result when I'm not on a phone, but then I'll almost certainly merge it. |
Thank you! |
|
Sorry about that... This code is compiled / printed only when DEBUG is defined. I will make a fix for the warning and additionally change the macro used to enable this module's debug info, as it is relevant only for the module developers only. I will submit a patch ASAP. |
No worries. Just noticed the warning after running a build. |
Alright, here is the fix, let me know if I should create a new pull request instead: (created the patch file using: git format-patch -1 HEAD --stdout > pisound_warning_fix.patch)
|
I've applied that patch (editing the commit message for line length). |
Cool! I'm sure you don't need me to state the obvious, but with the patch, compile warning is resolved! ;) |
kernel: Support for Blokas Labs pisound board See: raspberrypi/linux#1684 firmware: Video_decode: Check licenced codecs at component create firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: #667 firmware: mmal: improvements to mmal_queue code firmware: arm_dt: Silence system-supplied dtparams firmware: vc_image: Remove obsolete processor support using _VC_VERSION firmware: vc_image: Include colourspace in RGB to YUV conversions
kernel: Support for Blokas Labs pisound board See: raspberrypi/linux#1684 firmware: Video_decode: Check licenced codecs at component create firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: raspberrypi/firmware#667 firmware: mmal: improvements to mmal_queue code firmware: arm_dt: Silence system-supplied dtparams firmware: vc_image: Remove obsolete processor support using _VC_VERSION firmware: vc_image: Include colourspace in RGB to YUV conversions
kernel: Support for Blokas Labs pisound board See: raspberrypi/linux#1684 firmware: Video_decode: Check licenced codecs at component create firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: #667 firmware: mmal: improvements to mmal_queue code firmware: arm_dt: Silence system-supplied dtparams firmware: vc_image: Remove obsolete processor support using _VC_VERSION firmware: vc_image: Include colourspace in RGB to YUV conversions
kernel: Support for Blokas Labs pisound board See: raspberrypi/linux#1684 firmware: Video_decode: Check licenced codecs at component create firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: raspberrypi/firmware#667 firmware: mmal: improvements to mmal_queue code firmware: arm_dt: Silence system-supplied dtparams firmware: vc_image: Remove obsolete processor support using _VC_VERSION firmware: vc_image: Include colourspace in RGB to YUV conversions
kernel: Support for Blokas Labs pisound board See: raspberrypi/linux#1684 firmware: Video_decode: Check licenced codecs at component create firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: raspberrypi#667 firmware: mmal: improvements to mmal_queue code firmware: arm_dt: Silence system-supplied dtparams firmware: vc_image: Remove obsolete processor support using _VC_VERSION firmware: vc_image: Include colourspace in RGB to YUV conversions
This pull request integrates the pisound kernel module (https://github.com/BlokasLabs/pisound/) to Raspberry Pi kernel. The out-of-tree module code was successfully tested on multiple kinds of Raspberry Pi hardware by our beta testers.
Also I tested the module integrated to kernel code too, it builds and runs as expected, the code and device tree are exactly the same as in the out-of-tree code, apart from the code being amalgamated into a single source file.
Thank you!