Skip to content
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

Linux5.15, iMacPro applesmc, blueooth fixes, asahilinux brcmfmac changes #41

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Redecorating
Copy link

  • update to linux 5.15.12, some changes to patches to make them apply on 5.15

  • add iMacPro to applesmc_whitelist (3007)

  • moved p2p patch to 8003, so the bluetooth stuff could be 900X

  • Add quirk disabling the LE Read Min/Max Tx Power command on mbp16,1/2/4 and iMac20,1/2 as the BT chip reports support for it but then says its an unknown command. (9001)

  • Add the pcie id of the uart on MBP16,2, for Bluetooth (9002)

  • Fix that lpss panic (9003)

  • moved p2p patch to 8035

  • Take wifi patchset from https://github.com/asahilinux/linux/tree/wifi/take5 (8001-8034)

    The new wifi patchset means firmware needs to have different naming scheme (because otp). To get fw:

    # in macos (or linux if you have a copy of the wifi folder):
    git clone https://github.com/AsahiLinux/asahi-installer --depth=1
    cd asahi-installer/src
    python3 -m firmware.wifi /usr/share/firmware/wifi firmware.tar
    # in linux
    cd /lib/firmware
    sudo tar xf /path/to/firmware.tar

apple-bce and apple-ibridge aren't moved in tree to drivers/staging (I can do a pr for that if you'd like, or you can copy the relevant parts of this if you want).

The 9001 patch was renamed to 8003 as we are running out of numbers for
sections of patches.

The new 9001 patch adds a quirk for mbp16,1/2/4 models that disables the
LE Read Min/Max Tx Power command, which is reported by the chip as a
supported command, but when Linux uses the command it fails. There is a
different patch fixing this on the bluetooth-next tree, but that doesn't
apply to stable.

9002 Adds the pcie id of the uart controller on the MBP16,2 to the
     intel-lpss-pci driver. The clock speed is corrected on the patch
     included.

9003 Fixes a kernel panic caused by an intel lpss acpi device, which
     doesn't seem to be used for anything on macOS (not much in ioreg
     about it).
The 5001 and 5002 patches were removed as new patches modify
brcmf_mp_device. Given that the rambases for the WiFi chips on all T2
Macs are now known, this shouldn't be too much of an issue.

This patchset supports OTP firmware selection and the 64 bit regs that
BCM4377 has. The firmware naming format has changed because of OTP. To
install firmware with the required naming scheme:

 # in macos (or linux if you have a copy of the wifi folder):
git clone https://github.com/AsahiLinux/asahi-installer --depth=1
cd asahi-installer/src
python3 -m firmware.wifi /usr/share/firmware/wifi firmware.tar
 # in linux
cd /lib/firmware
sudo tar xf /path/to/firmware.tar

Link: https://github.com/asahilinux/linux/tree/wifi/take5
Link: https://lore.kernel.org/all/[email protected]/

The 8003 p2p patch has been renamed to 8035. It still applies fine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant