Update for 5.16+ kernels#20
Open
dimich-dmb wants to merge 33 commits into
Open
Conversation
…est only if deprecated /sys/class/gpio is enabled
|
Not a good sign that all activity on this repo stopped in Jan 2018... some of these pull requests have been here for two years... dimich-dmb your repo is by far the most current. There are several people in the pine64 community hacking on this driver for a usb-lora adapter. Would you consider opening up issues and taking pull request from your fork? I know its a big ask, but at least you could have help and we could have a usable driver moving forward. |
Author
|
Hi @UncleGrumpy. I enabled issues tracking for the forked repo. Pull requests are enabled by default, i guess. |
This was referenced Feb 14, 2022
Fixed CS release after first chunk transferred.
Implemeted transfer_one_message() (mostly copy-pasted from the kernel). CS is managed for all transfers in a single message. A little optimization and bugfixes.
Fixed CPHA bug in bitbang implementation.
Since SCK is shared, proper SCK idle state must be set before each transfer. Since SCK is idle after tranfer, don't change it if previous transfer had same CPOL. As SCK is
Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
* Fix compilation error for kernels < 6.4 * Fix installation error with DKMS * Fix dkms remove
* Include proper headers according to version * Use "new" gpiod API for export/unexport Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
Fixed "no previous prototype" warnings Added disclaimer Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
Trimmed trailing spaces Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
Removed redundant macro Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed compilation and link errors;
Adapted for gpiod usage;
Fixed interrupt handler warning.