Commit graph

79 commits

Author SHA1 Message Date
Maximilian Luz 777db9f98e
config: Disable atomisp due to issues
Disable CONFIG_INTEL_ATOMISP because the atomisp module currently causes
problems on the Surface 3. See issue #1095 for more information.
2023-03-17 13:58:46 +01:00
Maximilian Luz 0f1c611511
Enable CONFIG_IPC_CLASSES for Intel Thread Director 2023-03-08 20:22:29 +01:00
Maximilian Luz 4ee1f87ffe
Remove outdated kernel configs 2023-03-05 18:46:31 +01:00
Maximilian Luz 3b18214612
Add patches for v6.2
Derived from latest v6.1 patches. No functional changes.

Links:
 - kernel: b94632809d
 - tree-devel: https://github.com/linux-surface/kernel/tree/v6.2-surface-devel
 - tree-patches: https://github.com/linux-surface/kernel/tree/v6.2-surface
2023-02-25 00:34:52 +01:00
Maximilian Luz eb454b555c
Fix config value
Explicitly setting values to =n seems to cause issues with Open-Suse
packaging. So use the (probably proper) "is not set" format instead.
2023-02-11 12:16:27 +01:00
Maximilian Luz a33c303ba5
Update v6.1 patches
Changes:
 - Big IPTS/ITHC update:
   - Update IPTS driver to its latest version. This switches the
     interface from a custom device interface to hidraw.
   - Include ITHC driver to support touchscreen and pen on newer
     generation devices.

   Note: Both require an updated IPTSd version.

 - Rebase onto 6.1.9

Links:
 - kernel: db042d7339
 - ipts: 8abe26863a
 - ithc: 55803a23ac
2023-02-01 18:41:44 +01:00
Maximilian Luz 87b061820a
Add patches for v6.1
No functional changes from latest v6.0 patches.

Links:
 - kernel: 8903137088
 - tree-devel: https://github.com/linux-surface/kernel/tree/v6.1-surface-devel
 - tree-patches: https://github.com/linux-surface/kernel/tree/v6.1-surface
2023-01-03 00:06:39 +01:00
Maximilian Luz 6d0fa58a6e
configs: Enable OV7251 camera sensor driver 2022-10-31 17:31:13 +01:00
Maximilian Luz 2f307dcfec
Add patches for v6.0.
No functional changes from latest v5.19 patches.

Links:
 - kernel: 8873452661
 - tree-devel: https://github.com/linux-surface/kernel/tree/v6.0-surface-devel
 - tree-patches: https://github.com/linux-surface/kernel/tree/v6.0-surface
2022-10-14 17:27:29 +02:00
Maximilian Luz 42d9466dc7
Add patches for v5.19
No functional changes from latest v5.18 patches.

Links:
 - kernel: 8e33cd037d
 - tree-devel: https://github.com/linux-surface/kernel/commits/v5.19-surface-devel
 - tree-patches: https://github.com/linux-surface/kernel/commits/v5.19-surface
2022-08-10 17:07:50 +02:00
Maximilian Luz afddc7d741
Update v5.18 patches
Changes:
 - Add support for more tablet-mode switch on the Surface Laptop Studio.
 - Rebase onto v5.18.5

Links:
 - kernel: 9af3f057b3
2022-06-16 18:30:23 +02:00
Maximilian Luz 565e226bd6
Add patches for v5.18
No functional changes from latest v5.17 patches.

Links:
 - kernel: d7bab966d2
 - tree-devel: https://github.com/linux-surface/kernel/commits/v5.18-surface-devel
 - tree-patches: https://github.com/linux-surface/kernel/commits/v5.18-surface
2022-06-04 18:37:46 +02:00
Maximilian Luz 2b99605bb2
Update v5.17 patches
Changes:
 - Move IOMMU fix for IPU to camera patches.
 - Refactor Surface Aggregator client device hubs and client device registration.
   (PR: https://github.com/linux-surface/kernel/pull/126)
    - Remove code duplication
    - Fix potential rare race condition
    - Prepare for DT/OF support

Links:
 - kernel: 27304f1c05
2022-05-21 03:50:27 +02:00
Maximilian Luz 6f40ab3d86
Remove outdated config option 2022-05-21 03:50:11 +02:00
Maximilian Luz 4550eecbf7
Update v5.17 patches
Changes:
- Fix cameras not showing up (@djrscally)
  - PR: https://github.com/linux-surface/kernel/pull/122
- Rebase onto v5.17.5

Links:
- kernel: 58e00c7367
2022-04-29 18:58:20 +02:00
Maximilian Luz d6980ce55c
Add patches for v5.17
Changes:
- Fix IOMMU errors with IPTS (@libanp)
  - PR: https://github.com/linux-surface/kernel/pull/120
- Refactor support for Surface 3 buttons (@jwrdegoede)
- Rebase onto v5.17.4

Links:
- kernel: a48902e579
2022-04-26 02:32:17 +02:00
Maximilian Luz 373d4bbaed
Add patches for v5.16 2022-01-15 04:17:07 +01:00
Maximilian Luz cf4d17dd81
Add patches for v5.15 2021-11-20 04:07:28 +01:00
Maximilian Luz 1027645b8a
Update v5.14 patches
Changes:
 - Add Surface Aggregator Module support for Surface Pro 8.
   - Add keyboard-cover support (keyboard and touchpad)
   - Add battery status support
   - Add platform profile support

Links:
 - kernel: 43661b9f92
2021-10-27 22:49:00 +02:00
Maximilian Luz 36e910cf42
Enable config options required for Surface Go / Go 2 cameras 2021-10-27 22:29:27 +02:00
Maximilian Luz 37d7a5ded8
Add patches for v5.14 2021-09-15 15:36:37 +02:00
Maximilian Luz ae046407ab
Add patches for v5.12
Notes:
 - Added support for OV8865 camera sensor, used as world-facing cameras
   on many Surface devices. The Surface Go line is currently not
   supported.

Links:
 - kernel: https://github.com/linux-surface/kernel/tree/v5.13-surface-devel
 - SAM: 0686c05d4b
 - SAM-gen4: e321205faa
 - IPTS: e66f2fe9fe
2021-07-21 01:28:46 +02:00
Maximilian Luz ad85768061
Add patches for v5.12
Links:
 - kernel: b8227ed525
 - SAM: 77eadd698c
 - SAM-gen4: e321205faa
 - IPTS: e66f2fe9fe
2021-05-05 16:02:15 +02:00
Maximilian Luz 51a06b0112
Add patches for v5.11
Links:
 - kernel: 7978404d21
 - SAM: bee2add45f
 - SAM-gen4: e321205faa
 - GPE: 6ecfdb3905
 - Hotplug: 595ed62f24
 - IPTS: 3642d0e4eb
2021-02-15 21:48:12 +01:00
Maximilian Luz 88e2e104f2
Update v5.10 patches
Changes:
 - SAM:
   - Move and split drivers to closer reflect upstreaming process
   - Various updates to HID and battery/AC drivers for upstreaming

 - Hotplug:
   - Various fixes and improvements

 - GPE:
   - Fix Kconfig dependency

 - IPTS
   - Various fixes and improvements

Links:
 - kernel: 5c7b5b588e
 - SAM: bee2add45f
 - GPE: 6ecfdb3905
 - Hotplug: 595ed62f24
 - IPTS: 3642d0e4eb
2021-02-15 21:40:31 +01:00
Maximilian Luz 5399769982
Update v5.4 patches
Changes:
 - SAM:
   - Move and split drivers to closer reflect upstreaming process
   - Various updates to HID and battery/AC drivers for upstreaming

 - Hotplug:
   - various fixes and improvements

 - GPE:
   - Fix Kconfig dependency

Links:
 - kernel: 531e6519a8
 - SAM: bee2add45f
 - GPE: 6ecfdb3905
 - Hotplug: 595ed62f24
2021-02-15 21:30:40 +01:00
Maximilian Luz 6a597d784b
Update v4.19 patches
Changes:
 - SAM:
   - Move and split drivers to closer reflect upstreaming process
   - Various updates to HID and battery/AC drivers for upstreaming

 - Hotplug:
   - various fixes and improvements

 - GPE:
   - Fix Kconfig dependency

Links:
 - kernel: e9b2f6699c
 - SAM: bee2add45f
 - GPE: 6ecfdb3905
 - Hotplug: 595ed62f24
2021-02-15 21:27:06 +01:00
Maximilian Luz a958894f29
Update v5.10 patches
Changes:
 - Add support for Ambient Light Sensor found on Surface Book 3, Surface
   Laptop 3, and Surface Pro 7 devices.
 - Update camera drivers.

Links:
 - kernel: 23b180c407
2021-01-25 00:37:20 +01:00
Maximilian Luz 557fac4ac8
Update v5.4 patches
Changes:
 - Add support for Ambient Light Sensor found on Surface Book 3, Surface
   Laptop 3, and Surface Pro 7 devices.

Links:
 - kernel: 087772fda5
2021-01-24 22:53:57 +01:00
Maximilian Luz c70b1b6b1b
Update configs 2020-12-16 17:13:27 +01:00
Maximilian Luz b5a6a16e3e
Add config for v5.10 2020-12-16 00:35:24 +01:00
Maximilian Luz 92f1abfa6a
Update v5.9 patches
Changes:
 - SAM:
   - Remove explicit dGPU power-setting code and rely on (patched)
     PCI/PM core instead for automatic and proper power management. See
     [1] and [2] for details.
   - Minor fixes.

 - GPE:
   - Add copyright notice

Links:
 - SAM: e6338f7b04
 - GPE: 245c264504
 - kernel: 062dca1b26

[1] 4138dabe85
[2] https://github.com/linux-surface/surface-aggregator-module/wiki/Discrete-GPU
2020-11-04 02:14:19 +01:00
Maximilian Luz e420429a23
Update v5.8 patches
Changes:
 - SAM:
   - Remove explicit dGPU power-setting code and rely on (patched)
     PCI/PM core instead for automatic and proper power management. See
     [1] and [2] for details.
   - Minor fixes.

 - GPE:
   - Add copyright notice

Links:
 - SAM: e6338f7b04
 - GPE: 245c264504
 - kernel: fb58dd7a01

[1] 4138dabe85
[2] https://github.com/linux-surface/surface-aggregator-module/wiki/Discrete-GPU
2020-11-04 02:13:36 +01:00
Maximilian Luz dd8e4071c8
Update v5.4 patches
Changes:
 - SAM:
   - Remove explicit dGPU power-setting code and rely on (patched)
     PCI/PM core instead for automatic and proper power management. See
     [1] and [2] for details.
   - Minor fixes.

 - GPE:
   - Add copyright notice

Links:
 - SAM: e6338f7b04
 - GPE: 245c264504
 - kernel: c0a2b69e71

[1] 4138dabe85
[2] https://github.com/linux-surface/surface-aggregator-module/wiki/Discrete-GPU
2020-11-04 02:12:31 +01:00
Maximilian Luz 4383b106db
Update v4.19 patches
Changes:
 - SAM:
   - Remove explicit dGPU power-setting code and rely on (patched)
     PCI/PM core instead for automatic and proper power management. See
     [1] and [2] for details.
   - Minor fixes.

 - GPE:
   - Add copyright notice

Links:
 - SAM: e6338f7b04
 - GPE: 245c264504
 - kernel: 69ddd7cbb4

[1] 4138dabe85
[2] https://github.com/linux-surface/surface-aggregator-module/wiki/Discrete-GPU
2020-11-04 01:57:22 +01:00
Maximilian Luz f7b58e08cb
Add config for v5.9 2020-10-22 18:53:22 +02:00
Maximilian Luz cbffebd101
Update v5.8 patches
Changes:
 - SAM:
   - Merge keyboard and HID driver into single module
   - Restructure DTX user-space interface
   - Add DTX support for Surface Book 3
   - Continued cleanup and misc. fixes

 - other:
   - Add patch to fix boot problems on the Surface Go series

Links:
- SAM: bfef4ac6f8
- kernel: bdadf4da18
2020-10-16 19:40:10 +02:00
Maximilian Luz d0b1e651ba
Update v5.4 patches
Changes:
 - SAM:
   - Merge keyboard and HID driver into single module
   - Restructure DTX user-space interface
   - Add DTX support for Surface Book 3
   - Continued cleanup and misc. fixes

 - other:
   - Add patch to fix boot problems on the Surface Go series

Links:
- SAM: bfef4ac6f8
- kernel: 2bf85a4170
2020-10-16 19:35:39 +02:00
Maximilian Luz b42ff37372
Update v4.19 patches
Changes:
 - SAM:
   - Merge keyboard and HID driver into single module
   - Restructure DTX user-space interface
   - Add DTX support for Surface Book 3
   - Continued cleanup and misc. fixes

 - other:
   - Add patch to fix boot problems on the Surface Go series

Links:
- SAM: bfef4ac6f8
- kernel: d1e77c5126
2020-10-16 19:33:14 +02:00
Maximilian Luz 1f3be0afff
Update v5.8 patches
Changes:
 - SAM:
   - Fix bug in packet submission leading to a potential deadlock when
     packets need to be resent in constested situations
   - Misc. other fixes.
   - Rename surface_aggregator_debugfs module to surface_aggregator_cdev
     and make it a proper character device (miscdevice).
   - Add copyright notices.
   - Continued cleanup and code improvements.
   - Change core from late to standard initialization
   - Add sysfs attribute for SAM firmware version
   - Register SAN consumers dynamically
   - Misc. fixes and cleanup

 - mwifiex:
   - Revert auto_ds force-disablement
   - Add enable_device_dump module parameter
   - Try to improve suspend behavior

Links:
- SAM: 47bb8f0824
- kernel: d427e73e92
2020-10-01 18:08:56 +02:00
Maximilian Luz b56f50e330
Update v5.4 patches
Changes:
 - SAM:
   - Fix bug in packet submission leading to a potential deadlock when
     packets need to be resent in constested situations
   - Misc. other fixes.
   - Rename surface_aggregator_debugfs module to surface_aggregator_cdev
     and make it a proper character device (miscdevice).
   - Add copyright notices.
   - Continued cleanup and code improvements.
   - Change core from late to standard initialization
   - Add sysfs attribute for SAM firmware version
   - Register SAN consumers dynamically
   - Misc. fixes and cleanup

 - mwifiex:
   - Revert auto_ds force-disablement
   - Add enable_device_dump module parameter
   - Try to improve suspend behavior

Links:
- SAM: 47bb8f0824
- kernel: 674e306816
2020-10-01 18:08:56 +02:00
Maximilian Luz cda77f53f5
Update v4.19 patches
Changes:
 - SAM:
   - Fix bug in packet submission leading to a potential deadlock when
     packets need to be resent in constested situations
   - Misc. other fixes.
   - Rename surface_aggregator_debugfs module to surface_aggregator_cdev
     and make it a proper character device (miscdevice).
   - Add copyright notices.
   - Continued cleanup and code improvements.
   - Change core from late to standard initialization
   - Add sysfs attribute for SAM firmware version
   - Register SAN consumers dynamically
   - Misc. fixes and cleanup

 - mwifiex:
   - Revert auto_ds force-disablement
   - Add enable_device_dump module parameter
   - Try to improve suspend behavior

Links:
- SAM: 47bb8f0824
- kernel: f9183418ae
2020-10-01 18:08:55 +02:00
Maximilian Luz 6a032ce25e
Update v5.8 patches
Changes:
- SAM:
  - Fix a bug preventing SSAM client devices to be registered on the
    Surface Book 3.
  - Introduce SSAM device domains.
  - Rename modules, drivers, and source directories.
  - Split-up main header file.
  - Update and improve Kconfig options and help texts.
  - Internal restructuring, cleanup, and documentation.

- GPE:
  - Cleanup, fixes, and restructuring.

Links:
- SAM: 4b3ee5ad71
- GPE: 7c017f4d52
- kernel: 6ec5f0ebb0
2020-09-17 23:26:19 +02:00
Maximilian Luz 536da55ec6
Update v5.4 patches
Changes:
- SAM:
  - Fix a bug preventing SSAM client devices to be registered on the
    Surface Book 3.
  - Introduce SSAM device domains.
  - Rename modules, drivers, and source directories.
  - Split-up main header file.
  - Update and improve Kconfig options and help texts.
  - Internal restructuring, cleanup, and documentation.

- GPE:
  - Cleanup, fixes, and restructuring.

Links:
- SAM: 4b3ee5ad71
- GPE: 7c017f4d52
- kernel: 70d365e78c
2020-09-17 23:25:44 +02:00
Maximilian Luz 821bb27beb
Update v4.19 patches
Changes:
- SAM:
  - Fix a bug preventing SSAM client devices to be registered on the
    Surface Book 3.
  - Introduce SSAM device domains.
  - Rename modules, drivers, and source directories.
  - Split-up main header file.
  - Update and improve Kconfig options and help texts.
  - Internal restructuring, cleanup, and documentation.

Links:
- SAM: 4b3ee5ad71
- kernel: 47860ccd1d
2020-09-17 23:20:10 +02:00
Maximilian Luz b586e3bddb
Update v5.8 patches
Changes:
- SAM:
  - Fix bug where second Surface Book 3 battery would be set up
    incorrectly.
  - Continued work on internal documentation and cleanup.
  - Other minor bugfixes.

- SAM-over-HID:
  - Add dGPU switch module for SB1.

- GPE:
  - Cleanup and formatting.

Links:
- SAM: c5f84f1f9a
- SAM-over-HID: 9d2a927ac8
- GPE: a9d97ed280
- kernel: 6f814d29c3
2020-09-08 16:43:46 +02:00
Maximilian Luz 6836b92298
Update v5.4 patches
Changes:
- SAM:
  - Fix bug where second Surface Book 3 battery would be set up
    incorrectly.
  - Continued work on internal documentation and cleanup.
  - Other minor bugfixes.

- SAM-over-HID:
  - Add dGPU switch module for SB1.

- GPE:
  - Cleanup and formatting.

Links:
- SAM: c5f84f1f9a
- SAM-over-HID: 9d2a927ac8
- GPE: a9d97ed280
- kernel: ee5d2c7ad3
2020-09-08 16:40:21 +02:00
Maximilian Luz d3992b7362
Update v4.19 patches
Changes:
- SAM:
  - Fix bug where second Surface Book 3 battery would be set up
    incorrectly.
  - Continued work on internal documentation and cleanup.
  - Other minor bugfixes.

- SAM-over-HID:
  - Add dGPU switch module for SB1.

- GPE:
  - Cleanup and formatting.

Links:
- SAM: c5f84f1f9a
- SAM-over-HID: 9d2a927ac8
- GPE: a9d97ed280
- kernel: f26a027064
2020-09-08 16:40:21 +02:00
Maximilian Luz 402c979bcd
Update v5.8 patches
Changes:
  SAM:
  - Move lid/GPE workaround into separate independent module.
  - A bus and device type has been implemented for SAM devices.
  - Detach devices attached to the base when the cliboard is being detached on
    the Surface Book 3.
  - Internal restructuring.

Links:
- kernel: 233bcf2785
- SAM: 08bbb7272a
2020-08-18 06:08:22 +02:00
Maximilian Luz 4b1be0cff3
Update v5.7 patches
Changes:
  SAM:
  - Move lid/GPE workaround into separate independent module.
  - A bus and device type has been implemented for SAM devices.
  - Detach devices attached to the base when the cliboard is being detached on
    the Surface Book 3.
  - Internal restructuring.

Links:
- kernel: 16f3286d32
- SAM: 08bbb7272a
2020-08-18 06:06:58 +02:00