-
Notifications
You must be signed in to change notification settings - Fork 107
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
Patch review when upstreaming #32
Comments
Thanks for the initial feedback. @cb22 has the final say here, but for my part: would you mind spelling out some of the issues so we can look into fixing them? Regarding the registration, yes, that is truly a hack (at least all the appleacpi_* stuff) - I've been assuming it's not upstreamable. But at least it allows folks to use this driver right now without needing to modify the DSDT. For more background on the whole thing, please see #29 and the linux-spi posts mentioned in #21 (in short: support for loading info from _DSM methods needs to be added to the acpi core, and then #29 can be reverted). |
Thanks for the feedback @andy-shev Agreed, there are quite a few hacks floating around in the driver that definitely should be resolved before sending it upstream. |
@cb22 is there any (rough) ETA for upstreaming this driver? For me it works quite well and we'll going to maintain a custom compile step for adding this driver to Tails (see https://labs.riseup.net/code/issues/15652 for more information). But doing so rises additional ongoing effort. From this point of view I'd really love seeing this driver upstreamed ;) |
@andy-shev, @l1k: This is long overdue, but I'm definitely ready to upstream this thing. I've pushed the candidate commits to my macbook-drivers branch. The first (4-th last) commit is this One big question about the |
I'd move the change of The I notice Love the extensive kerneldoc. |
@roadrunner2 I had a quick look at the tree and what stands out to me is the repeated mention of "recent MacBook Pros" in the Kconfigs. It might be better to call out the supported generations explicitly as the most recent MacBook Pro's (15,x) are afaik already not supported anymore by the drivers. And another very minor nitpick: The official notation for the touch bar is "Touch Bar" according to Apple, not "touchbar" or "Touchbar". |
@l1k wrote:
Sounds good. Done.
Ah, good catch - a leftover.
Yes, because the one field in there is unaligned (in all other structures things are naturally aligned). Thanks for the review and suggestions! |
@Dunedan wrote:
Ok, so this is a bit tricky. For the keyboard/trackpad I agree with you, and I believe everywhere I explicitly mention the 13,* and 14,* models (plus the MB's). For the iBridge, however, I do believe the drivers can probably be used on the 15,*'s too (with potentially minor changes to the mfd driver), because if you look at the
Oh, ouch! Ok, I've changed various places to use "Touch Bar" (such as in the Kconfig's), but for most of the code comments etc I decided to use "touch bar" (at some point the capitalization becomes annoying). |
I've taken a look at the MFD, Touch Bar and ALS commits. I'm not really familiar with MFD and HID, so it's difficult for me to provide constructive feedback on those portions. However I've worked with the IIO subsystem before, so took a closer look at the ALS commit. One thing that caught my eye was that The MFD, Touch Bar and ALS commits need a Signed-off-by: in the commit message. |
I've pushed commit l1k/linux@255df1c91f9d as a little docs fixup on top of your series. Could you fetch, cherry-pick and squash with Also, could you cc me when posting to the list? I think at least the applespi driver is ready to go in. Thanks! |
Thanks for looking at this too! You're right about the
Oops, done.
Done. All updates pushed.
Definitely. Thanks so much for looking at these! |
Not directly an issue, though, please include me to Cc list when you will be about to send this upstream.
(Code looks not bad, though it has a lot of small issues,and the driver registration looks hackish, but this fixable I believe).
The text was updated successfully, but these errors were encountered: