| 0001 |
media: ipu-bridge: Add ipu_bridge_get_ipu6() |
torvalds/linux eda381fd8c0c, Sakari Ailus. Taken for the ipu6-pci-table.h include of 0004 |
upstream (v7.4) |
camera.md difference 1 |
| 0002 |
media: ipu-bridge: Assign endpoint property indices dynamically |
3436405beac8, Fernando Rimoli |
upstream (v7.4) |
same |
| 0003 |
media: ipu-bridge: Match sensor configs per IPU and add config flags |
b883954d842f, Fernando Rimoli |
upstream (v7.4) |
same |
| 0004 |
media: ipu-bridge: Request non-continuous clock for ov5693 on IPU6 |
8e3def7bf410, Fernando Rimoli. Position of the OVTI5693 entry adjusted to linux-surface |
upstream (v7.4), modified backport |
same |
| 0005 |
media: ipu-bridge: Keep the clock-noncontinuous property name out of rodata |
a20c843c9bc4, Fernando Rimoli (Fixes for 0004) |
upstream (v7.4) |
same |
| 0006 |
media: i2c: ov5693: Gate the MIPI clock lane for non-continuous clock |
0e12587945f6, Fernando Rimoli, Arsalan Naeem. The same fix as linux-surface/kernel#180 (which is a HID-based workaround) |
upstream (v7.4) |
same. linux-surface#2171 writes 0x4800=0x2d; with this patch the register reads 0x20 while streaming (measured) |
| 0007 |
HID: Assign HID_GROUP_SURFACE_UCSI to Microsoft Surface UCSI collections |
linux-surface/kernel#184 7d5b2289aa63, Jairo Valdivia |
pending (linux-surface/kernel#184) |
sam-platform.md G1 |
| 0008 |
usb: typec: ucsi: Add Microsoft Surface HID transport driver |
#184 353873373421, Jairo Valdivia |
pending (linux-surface/kernel#184) |
G1 |
| 0009 |
power: supply: surface_charger: Fix positive return value in spwr_ac_get_property() |
#184 925be86626f9, Jairo Valdivia |
pending (linux-surface/kernel#184) |
G9 |
| 0010 |
power: supply: surface_charger: Expose connected adapter power rating |
#184 aa4c309df17c, Jairo Valdivia |
pending (linux-surface/kernel#184) |
G9. Known issue: if the Artg request fails once while AC is connected, input_power_limit becomes 0 and a change event is raised (low severity; to be decided after confirmation on the device) |
| 0011 |
media: ipu-bridge: Map SSDB VCM type 0x11 to dw9800k |
Joonhoe Kim |
local. Measured on the patched kernel: the type 0x11 VCM binds as dw9800k, a written focus_absolute reads back from VCM registers 0x03/0x04, and the image changes over DAC 400–800. The exact part is not identified |
camera.md difference 4 |
| 0012 |
platform/surface: aggregator_registry: Add RTC node to the Surface Pro 9 group |
Joonhoe Kim |
local. Measured on the patched kernel: rtc1 (surface_rtc) appears and its time is within 1 second of system UTC |
sam-platform.md G5 |
| 0013 |
platform/surface: platform_profile: Clear the minimum fan speed at probe and resume |
Joonhoe Kim. The request format is the ctrl.py command from linux-surface#1726 (SP9 trace, tested on SP11 Intel). It is also sent on SP10, SP11 and SP12, which use the same node, but a failure only leaves a warning |
local, unverified. Measured on the patched kernel: after a load under Windows and a reboot the fan stopped once the device was cool (no floor left); not compared with a kernel without the patch |
G2; test-results.md SAM-4 |
| 0014 |
drm/i915/display: Disable PSR2 on the Microsoft Surface Pro 9 |
Joonhoe Kim |
local. PSR2Disable=1 was read from the display adapter's registry key on the running Windows; that PSR2 is the cause of the flicker is inferred |
display-power.md difference 1 |
| 0015 |
platform/x86: int3472: Set the DSM clock frequency from the SSDB |
Joonhoe Kim |
local. The meaning of the argument is from the DSDT and coreboot ADL camera_clock_ctl.asl; the 24 MHz output is not measured. The IR sensor, whose SSDB asks for 24 MHz, answers and streams with 0027–0029 (measured) |
camera.md difference 9 |
| 0016 |
HID: surface: Ignore Fn usages and map Call Mute Toggle to KEY_MICMUTE |
Joonhoe Kim. On top of hid-surface.c from linux-surface 0015-hid-surface.patch |
local, unverified. The usages are from the report descriptor and reports read from the cover under Windows; the Linux input device, the BTN_* numbers and the Call Mute key are unverified |
typecover.md sections 2, 5 |
| 0017 |
HID: surface: Add keyboard backlight LED for the Type Cover |
Joonhoe Kim. Same driver |
local, unverified. Report layout, levels and key behaviour are from Feature reads and input recordings of the cover under Windows; on Linux the format of the GET_FEATURE response (whether it includes the report ID) and the level update at the time of the key notification are unverified. Measured on the patched kernel: the LED surface::kbd_backlight exists with max_brightness 3 and a written 0/1/2/3 is read back from brightness; the backlight is off at 0 and on at 3 (observed) |
typecover.md sections 4, 6.1 |
| 0018 |
HID: ithc: Match feature responses to the requested report ID |
Joonhoe Kim. On top of ithc-hid.c from linux-surface 0006-ithc.patch |
local, unverified. That a second response containing only the ID byte follows a Feature 17 GET is measured on the device (13/13); why the firmware sends it is unverified. Upstream (quo/ithc-linux, mainline quickspi) has no equivalent fix. Measured on the patched kernel: in a test that reads Features 17 and 112 back to back, every response belongs to the requested report and the kernel log has 0 lines of hid_input_report failed or too short |
pen-touch.md difference 11 |
| 0019 |
usb: typec: ucsi: surface_hid: Fix up GET_PDOS responses |
Joonhoe Kim. On top of 0008 |
local, unverified. That SAM prepends a length byte to the port PDOs and writes at most 3 partner PDOs per command is confirmed from raw bytes read through hidraw. Not in linux-surface/kernel#184. Not fixed: the partner list starts at the second PDO, so the 5 V entry is missing and voltage_now is 0. Measured on the patched kernel: the source of both ports is a single 5 V 3 A, the sink is 5 V 3 A fixed, 5–20 V 60 W battery and 5–20 V 3 A variable, the charger's source is the three 9/12/15 V 3 A |
sam-platform.md G1 |
| 0020 |
media: i2c: ov5693: Do not offer the binned mode on non-continuous clock links |
Joonhoe Kim |
local, unverified. In the binned 1296x972 mode every buffer is Frame sync error as soon as either flip is on (measured); without flip 20/20. Because of the 180 rotation libcamera turns both flips on. The cause is unverified, so the mode is not fixed but withheld: requests of 720p and below go to the full mode (28.6 fps). What is lost: binned 57 fps without flip. See linux-surface#2234, #2252. Measured on the patched kernel: a front 1280x720 request goes to the sensor's 2592x1944 mode and gives 120/120 frames (28.6 fps), 640x480 30/30, 0 lines of Frame sync error |
test-results.md CAM-2, CAM-3 |
| 0021 |
media: i2c: dw9719: Power up on the first focus write, not on open |
Joonhoe Kim |
local, unverified. An open handle holds a runtime PM reference, and the devlink from ipu-bridge wakes the sensor, so the rear sensor's rails and clock stay on while WirePlumber holds the lens node open (measured: 5211/5226 s active). The mainline VCM drivers (dw9714, dw9768, ak7375) take the reference in open, so this departs from the convention. Without a focus write the VCM stays off even while streaming. Measured on the patched kernel: idle with the lens node held open by WirePlumber, sensor and VCM are both suspended; rear 1080p 45/45 frames; focus_absolute=900 reads back from the VCM register as 03 84. After a focus write both stay active until WirePlumber closes the node. Image quality without a focus write is unverified (the test scene was too dark to tell sharpness apart) |
test-results.md CAM-4; camera.md section 5.1 |
| 0022 |
media: i2c: ov13858: Enable runtime PM before registering the subdev |
Joonhoe Kim |
local, unverified. The probe enables runtime PM after it registers the subdev, so when the registration completes the IPU bridge notifier right away, pm_runtime_get_sync in the VCM creation work fails with -EACCES and no VCM is created (Error -13 runtime-resuming sensor, cannot instantiate VCM). It failed in one of two boots of the same kernel line (measured). That the VCM was created after loading the fixed module is confirmed, but that sequence (ISYS loaded later) does not reproduce the race: whether the race is gone has to be seen over several boots |
Kernel log; test-results.md CAM-4 |
| 0023 |
Bluetooth: SMP: Add LE legacy OOB pairing |
Joonhoe Kim |
local. First exercised on the device as a module: a bluetooth.ko with this patch was loaded into the booted 7.3.4 (tools/linux/kmod-dev.sh), the Slim Pen 2 was bonded in the cover's pen slot with LE legacy OOB pairing (LTK and IRK stored), and it reconnected after its idle disconnect. With a version of the patch that did not offer the host's identity key the bonding worked and the reconnection did not. The responder path and the path combined with Secure Connections OOB data are compile-tested only. A kernel built with this patch has been booted since, and the same coupling (through the device helper) and the reconnection were confirmed again on it. An earlier version, which dropped the TK as soon as a pairing used it, was the one running in the later coupling measurements: a second pairing started on the same link no longer carried the OOB flag (measured). That version, like the first, chose the method from the IO capabilities when the peer did not answer with the OOB flag, which for the pen is unauthenticated Just Works. The current version fails closed: while a TK is stored for the peer, a pairing that would not use it (legacy pairing without the OOB flag on both sides, Secure Connections without OOB data) is refused with Pairing Failed, reason OOB Not Available; the TK is dropped once a pairing with it has completed and kept after a failed one. The current version (checkpatch.pl --strict clean) was checked on a booted kernel built with it, with btmon: with a TK stored, a pairing the pen answered without the OOB flag ended in the host's Pairing Failed (OOB Not Available) with no User Confirmation Request and no New Long Term Key; a second pairing with the TK kept was refused the same way (the TK stays after a failure); with the TK cleared the kernel went to Just Works (User Confirmation Request); the cover coupling (through the device helper, OOB flag on both sides) and the reconnection without pairing after the idle disconnect are as with the earlier versions. Procedure and results in pen-vendor-exchange.md section 2.5 |
pen-vendor-exchange.md sections 2.5, 3; test-results.md PEN-5 |
| 0024 |
Bluetooth: hci_sync: Replace the resolving list entry when the IRK changed |
Joonhoe Kim |
local. Checked on a kernel built with it: after the pen was bonded again in the same boot and went idle, the kernel wrote the resolving list and the accept list again and the pen reconnected the moment it was picked up (measured). The symptom without the patch was measured too (no list write after the disconnect; the pen reconnects only once a discovery scan runs or the adapter is powered off and on). The current version (IRK copied before the entry is removed, a failed removal returned) is compile-tested only. Mainline 7.4-rc3 has the same problem |
pen-vendor-exchange.md section 2.10 |
| 0025 |
media: i2c: ov5693: Limit the analogue gain to the range the sensor follows |
Joonhoe Kim. On top of the range (1–2047) that linux-surface 0013-cameras.patch widened |
local, unverified. Response measured as the mean of raw frames (tools/linux/cam-raw.sh): proportional to the value from 16 (1x) to 992 (62x); from 993 on it drops to the level of 512 (32x) and stays there up to 1023; 1024–2047 repeat lower gains; below 16 the sensor attenuates. Checked with an ov5693.ko built with this patch and loaded into the booted 7.3.4 (tools/linux/kmod-dev.sh): the control range is 16–992, a write of 993 is clamped to 992, and the front exposure of the patched libcamera does not oscillate (standard deviation 0.5–0.7 after frame 30). A kernel built with 0001–0026 has been booted since; the range was not read again on it |
camera.md section 6.2; test-results.md CAM-7 |
| 0026 |
media: i2c: ov13858: Limit the analogue gain to the range the sensor follows |
Joonhoe Kim |
local, unverified. Response measured as the mean of raw frames: proportional to the value from 0x80 (1x) to 0x7c0 (15.5x); 0x7c0–0x7ff give the same brightness; 0x800 and 0x1000 give the brightness of 0x400 and 0x1fff that of 0x7ff; below 0x80 the gain does not go under 1x and is not monotonic. Checked with an ov13858.ko built with this patch and loaded into the booted 7.3.4: the control range is 128–1984, a write of 2048 is clamped to 1984, and the rear gain of libcamera 0.7.2 stops at 14.9x instead of 8191 with a steady brightness (standard deviation 0.15–0.83, against 7.8 before the patch). A kernel built with 0001–0026 has been booted since; the range was not read again on it |
camera.md section 6.2; test-results.md CAM-7 |
| 0027 |
media: ipu-bridge: Add the ST VD55G0 (SMO55F0) |
Joonhoe Kim. The entry follows the one in linux-surface/kernel#164 (Surface Pro 11) |
local. CSI-2 port 3 and one lane, from the SSDB. Goes in together with 0028 only: without the driver the IPU6 notifier waits for the IR sensor, and the front and rear camera nodes may not appear. Measured on a booted kernel with 0001–0028: Found supported sensor SMO55F0:00, the sensor is in the media graph on CSI2 3, and the front and rear cameras still deliver frames (10/10 each) |
camera.md difference 8 and section 4.1; test-results.md CAM-8 |
| 0028 |
media: i2c: Add the ST VD55G0 driver |
STMicroelectronics' driver (GPL-2.0) as adapted for the Surface Pro 11 by André Gilerson in linux-surface/kernel#164 (not merged). Surface Pro 9 changes by Joonhoe Kim: the second rail is requested as dovdd, the name under which the INT3472 registers it, and the reset GPIO is requested on the ACPI path as well |
pending (linux-surface/kernel#164), modified. Measured: the driver reads model ID 0x4730 and revision 0x1111 (cut 1) at probe and binds; on a booted kernel with 0001–0028 the sensor streams (with 0029, see there) |
same |
| 0029 |
media: i2c: vd55g0: Light the Surface Pro 9 IR illuminator, use 10-bit output |
Joonhoe Kim |
local. Measured on the device: 8-bit output (Y8, SGRBG8) arrives truncated in about 90 % of the frames (Transfer FIFO overflow, ISYS error STR2MMIO) at every frame size and frame rate tried, 10-bit output intact (0 errors in 209 frames), so without a device tree only the 10-bit codes are offered. The IR illuminator is on sensor GPIO 1 and stops lighting once the exposure exceeds about 65 % of the frame, so while the strobe is on the exposure range is limited to 60 % of the frame. On the Surface Pro 9 (DMI) the strobe is on by default and the exposure starts manual at 1000 lines with analogue gain 16, so that libcamera controls exposure and gain; the led_gpio module parameter picks another sensor GPIO. Loaded as a module into the booted kernel with 0001–0028: libcamera received 90 10-bit frames with 0 CSI-2 errors, and a dark room is visible under the illuminator (observed). A kernel built with 0001–0029 has since been booted: with no settings changed, 60 frames of R10 and 0 CSI-2 errors, and the front and rear cameras give 10/10 frames each |
same |
| 0030 |
media: intel/ipu6: Capture packed and 8-bit formats through the SoC raw pin |
Joonhoe Kim |
local. Upstream captures formats stored at their own bit depth through the MIPI pin with long packet headers discarded; on this device that truncates most frames on both camera ports (OV5693 packed 10-bit 109/110, VD55G0 packed 10-bit 197/211, 8-bit 205/212; measured). The patch captures every format through the SoC raw pin with the normal store mode, as the unpacked formats already were. Measured on a booted kernel with 0001–0031: IR GREY 0/211, packed 0/211, unpacked 0/211 frames in error, front packed 0/110, unpacked 0/110; libcamera front, rear and IR 30/30 frames each; all three cameras through PipeWire. It applies to every IPU6 sensor; not checked on other IPU6 machines |
test-results.md CAM-8 |
| 0031 |
media: i2c: vd55g0: Offer 8-bit output on ACPI systems again |
Joonhoe Kim |
local. With 0030 8-bit output arrives intact, so 0029's restriction to the 10-bit codes without a device tree is lifted; the default stays Y10. Booted with 0001–0031 (the IR GREY row of 0030) |
same |
| 0032 |
platform/x86/intel/pmc: Show substate requirements on Tiger Lake and Alder Lake-L |
Joonhoe Kim |
local, an upstream candidate. The 192 bytes of _DSM 57a6512e function 1 (8 modes × 6 maps) were already read, but the debugfs file had NULL fops. Loaded as a module into the 0001–0031 kernel (measured): S0i3.0 requires beyond S0i2.0 MainPLL, Fast XTAL and XTAL USB2PLL off, ADSP D3, and the CNVi and ISH requests |
standby.md section 12 |