Skip to content

Commit

Permalink
Merge pull request #37 from AdityaGarg8/main
Browse files Browse the repository at this point in the history
5.16.1
  • Loading branch information
jamlam authored Jan 17, 2022
2 parents e325474 + ae5ecbf commit 6ca55fd
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 179 deletions.
28 changes: 13 additions & 15 deletions 6001-media-uvcvideo-Add-support-for-Apple-T2-attached-iSi.patch
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
From 4b7d515dcd6b4faf84a05b8ef555d75875314407 Mon Sep 17 00:00:00 2001
From: Paul Pawlowski <paul@mrarm.io>
Date: Tue, 18 Aug 2020 06:55:07 -0500
Subject: [PATCH] media: uvcvideo: Add support for Apple T2-attached iSight
Camera

Adds the requisite device id to support detection of the Apple iSight
webcam exposed over the T2 BCE VHCI interface.
Adds the requisite device id to support detection of the Apple FaceTime
HD webcam exposed over the T2 BCE VHCI interface.

Tested-by: Aun-Ali Zaidi <admin@kodeit.net>
Signed-off-by: Paul Pawlowski <paul@mrarm.io>
Signed-off-by: Aun-Ali Zaidi <admin@kodeit.net>
Signed-off-by: Aditya Garg <gargaditya08@live.com>
---
drivers/media/usb/uvc/uvc_driver.c | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
index 431d86e1c94b..1183b6372a14 100644
index 7c007426e..88dc9e7aa 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -2908,6 +2908,15 @@ static const struct usb_device_id uvc_ids[] = {
.bInterfaceSubClass = 1,
@@ -2848,6 +2848,15 @@ static const struct usb_device_id uvc_ids[] = {
.bInterfaceProtocol = 0,
.driver_info = UVC_INFO_META(V4L2_META_FMT_D4XX) },
+ /* Apple Built-In iSight via iBridge */
.driver_info = UVC_INFO_QUIRK(UVC_QUIRK_PROBE_MINMAX
| UVC_QUIRK_BUILTIN_ISIGHT) },
+ /* Apple Built-In FaceTime HD Camera (T2) */
+ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
+ | USB_DEVICE_ID_MATCH_INT_INFO,
+ .idVendor = 0x05ac,
Expand All @@ -30,9 +28,9 @@ index 431d86e1c94b..1183b6372a14 100644
+ .bInterfaceSubClass = 1,
+ .bInterfaceProtocol = 0,
+ .driver_info = (kernel_ulong_t)&uvc_quirk_probe_def },
/* Generic USB Video Class */
{ USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, UVC_PC_PROTOCOL_UNDEFINED) },
{ USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, UVC_PC_PROTOCOL_15) },
/* Apple Built-In iSight via iBridge */
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
| USB_DEVICE_ID_MATCH_INT_INFO,
--
2.28.0
2.25.1

63 changes: 0 additions & 63 deletions 9001-bluetooth-add-disable-read-tx-power-quirk.patch

This file was deleted.

43 changes: 0 additions & 43 deletions 9002-mfd-intel-lpss-pci-fix-clock-speed-for-38a8-UART.patch

This file was deleted.

17 changes: 6 additions & 11 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Contributor: Aun-Ali Zaidi <admin@kodeit.net>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgbase=mbp-16.1-linux-wifi
pkgver=5.16
pkgbase=linux-t2
pkgver=5.16.1
_srcname=linux-${pkgver}
pkgrel=1
pkgdesc='Linux for MBP 16.1 Wifi'
Expand Down Expand Up @@ -86,10 +86,7 @@ source=(
8028-brcmfmac-pcie-Read-the-console-on-init-and-shutdown.patch
8029-brcmfmac-pcie-Release-firmwares-in-the-brcmf_pcie_se.patch


9001-bluetooth-add-disable-read-tx-power-quirk.patch
9002-mfd-intel-lpss-pci-fix-clock-speed-for-38a8-UART.patch
intel-lpss.patch
efi.patch
)

validpgpkeys=(
Expand Down Expand Up @@ -266,7 +263,7 @@ for _p in "${pkgname[@]}"; do
}"
done

sha256sums=('027d7e8988bb69ac12ee92406c3be1fe13f990b1ca2249e226225cd1573308bb'
sha256sums=('c7bf36231c6ea1e67283802a005430d14fe3f8a3498c0724ba3439afaf723545'
'SKIP'
'7cbba374356a189faac71001c5344ce8f02434684b1ce1accefc0cc4bd6718e5'
'6b4da532421cac5600d09c0c52742aa52d848af098f7853abe60c02e9d0a3752'
Expand All @@ -287,7 +284,7 @@ sha256sums=('027d7e8988bb69ac12ee92406c3be1fe13f990b1ca2249e226225cd1573308bb'
'40eff5e88bb30c51c6b97e85c2e7b8dec5f97916f768e6c07618d9c5afe68574'
'cac035fe07663a319185c644c5b39b34bef89ada348881fa4a02d15290260445'
'9dfa9f02d17c5cd9620fa2c1d43ca967b81b6a56d33c2bafae14e0c64e498baa'
'9640178d6251686c980c30fc528b3d70beac6ce8246bf433506a3f843808326c'
'89076d6a3cb77704025dae8bd33522afcbf8bc6d7fcdf9463f98be06c86797ea'
'90a6012cdd8a64ede8e0bbaf7331960bd68f628e0973b65459188eb1ccb5b829'
'1ce089059058b1e514f1768f97178c6f4426f920b6737a73ef2eec4c8f14aada'
'de8ddf27596e57697bb6f259758efc44f03b0737d27ae9273762727fa043ba79'
Expand Down Expand Up @@ -318,6 +315,4 @@ sha256sums=('027d7e8988bb69ac12ee92406c3be1fe13f990b1ca2249e226225cd1573308bb'
'f11c4db01c578202b9bdd79e9cd8d3207c10bbabc619a2af0734cc455805ec88'
'713ce3cbda4c53f319bcfeab7e63e8ecf7938109de024f2d99b443fe664ecbd8'
'd0dd1ae3b08d9eb39bc094d86022c68f74bf903aac1d202e16853e1f0a5ade93'
'31e414978a947bdb71f27ed364c4da73b81fcf1921250cb69ee1bcf2bbd25636'
'f2cff107e536fb7331994be0920632b60b3da42e3404a20919dcffcaeec79bdb'
'22b2695afcc4103743e55ceeda4691a59ddce84a8f16d1d572159dd2ff7f8537')
'31c3260d35d6c51bff231179e6210876142d4c333d6f4a5963fd8b49f4dc61ab')
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mbp-16.1-linux-wifi - 5.15.7
mbp-16.1-linux-wifi - 5.16.1
==============

Arch Linux package for Linux kernel with bleeding edge 2018+ MacBook Pro support.
Expand Down
46 changes: 0 additions & 46 deletions intel-lpss.patch

This file was deleted.

0 comments on commit 6ca55fd

Please sign in to comment.