Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1468 commits
Select commit Hold shift + click to select a range
58b2aee
drm: apple: Prefer SDR color modes
jannau Dec 11, 2022
6b1ec28
drm: apple: Add IOMobileFramebufferAP::get_color_remap_mode
jannau Dec 11, 2022
2be879d
drm: apple: Add show_notch module parameter
jannau Dec 11, 2022
312dc14
drm/apple: Enable 10-bit mode & set colorspace to native
marcan Dec 25, 2022
051b520
drm: apple: Clear all surfaces on startup
jannau Dec 31, 2022
aee52c5
drm/apple: Update swap handling
jannau Jan 2, 2023
9e158ac
drm: apple: Use aperture_remove_conflicting_devices
jannau Dec 22, 2022
fdb9c79
drm/apple: Use drm_module_platform_driver
jannau Dec 31, 2022
7fbbff4
drm/apple: Allocate drm objects according to drm's expectations
jannau Jan 2, 2023
86c4297
drm: apple: Use components to avoid deferred probing
jannau Dec 29, 2022
bd87765
drm: apple: Wait for iomfb initialization
jannau Dec 29, 2022
10b3782
drm/apple: simplify IOMFB_THUNK_INOUT
jannau Jan 8, 2023
d1ca777
drm/apple: Fix parse_string() memory leaks
hoshinolina Feb 15, 2023
8234b78
drm/apple: Fix bad error return
hoshinolina Feb 15, 2023
3010d74
drm/apple: Set backlight level indirectly if no mode is set
jannau Jan 22, 2023
a46c5b8
drm/apple: Use backlight_get_brightness()
jannau Jan 22, 2023
91adbf2
drm/apple: Move panel options to its own sub-struct
jannau Mar 26, 2023
e04c902
drm/apple: Align buffers to 16K page size
hoshinolina Mar 22, 2023
6bf1b42
drm/apple: purge unused dcp_update_notify_clients_dcp
jannau Feb 28, 2023
eafcbb2
drm/apple: Add callbacks triggered by last_client_close_dcp()
jannau Jan 8, 2023
6fc6b86
drm/apple: Add support for the macOS 13.2 DCP firmware
jannau Feb 17, 2023
3e0c229
drm/apple: ignore surf[3] in clear swap calls
jannau Mar 9, 2023
8ae91d7
drm/apple: Support color transformation matrices
jannau Mar 12, 2023
3805a51
drm/apple: Drop unsupported DRM_FORMAT_ARGB2101010
jannau Mar 23, 2023
025caf9
dcp: Allow unused trampolines
marcan Apr 11, 2023
687244a
dcp: Add get_tiling_state
marcan Apr 11, 2023
5f686ae
dcp: 42-bit DMA masks
marcan Apr 11, 2023
4a5c0a5
dcp: T602X bwreq support
marcan Apr 11, 2023
f6360f1
dcp: Warn if DMA mapping fails
marcan Apr 11, 2023
65e66cf
WIP: drm/apple: Port to incompatible V13.3 firmware interface
jannau Apr 14, 2023
6416a55
drm/apple: Remove simpledrm framebuffer before DRM device alloc
jannau Apr 15, 2023
6d8a798
drm/apple: Mark DCP as being in the wakeup path
marcan Apr 24, 2023
2508eff
drm: apple: iomfb: Increase modeset timeout to 2.5 seconds
jannau Apr 30, 2023
f4ccf4d
drm: apple: Only match backlight service on DCP with panel
jannau Apr 30, 2023
1fbcd12
drm: apple: iomfb: limit backlight updates to integrated panels
jannau Apr 30, 2023
eae33e3
drm: apple: backlight: avoid updating the brightness with a commit
jannau Jul 16, 2023
1136ebe
drm/apple: Get rid of the piodma dummy driver
jannau Jul 15, 2023
c2bbd9d
drm/apple: Use iommu domain for piodma maps
jannau Jul 19, 2023
a074d4f
drm: apple: Align PIODMA buffers to SZ_16K
jannau Jul 19, 2023
1814eb9
drm: apple: Add D129 allocate_bandwidth iomfb callback
jannau Aug 23, 2023
82ed441
drm: apple: Update supported firmware versions to 12.3 and 13.5
jannau Sep 4, 2023
2ae64ac
drm: apple: dcp: Port over to DEFINE_SIMPLE_DEV_PM_OPS
jannau Nov 6, 2023
12c6db6
drm: apple: dcp: Remove cargo-culted devm_of_platform_populate
jannau Nov 6, 2023
aac0000
drm: apple: iomfb: implement abort_swaps_dcp
jannau Apr 30, 2023
d43d7e2
drm: apple: iomfb: Increase modeset tiemout to 8.5 seconds
jannau Nov 6, 2023
836aebe
drm: apple: Remove explicit asc-dram-mask handling
jannau Nov 6, 2023
b1b0af2
mux: apple DP xbar: Add Apple silicon DisplayPort crossbar
svenpeter42 Nov 5, 2022
ce263fd
mux: apple dp crossbar: Support t8112 varient
jannau Apr 30, 2023
93372e9
mux: apple dp crossbar: FIFO_RD_UNK_EN seems to use 2 bits per dispext*
jannau Apr 30, 2023
3940121
mux: apple dp crossbar: Read UNK_TUNABLE before and after writing it
jannau Apr 30, 2023
bfd169a
mux: apple dp crossbar: Support t602x DP cross bar variant
jannau Aug 17, 2023
a985038
drm: apple: Add utility functions for matching on dict keys
povik Feb 15, 2023
495643f
drm: apple: Add 'parse_blob'
povik Feb 23, 2023
72e389c
drm: apple: Add sound mode parsing
povik Feb 15, 2023
14fa247
drm: apple: DCP AFK/EPIC support
svenpeter42 Feb 12, 2023
e79e81f
drm: apple: afk: Use linear array of services
jannau Nov 12, 2023
288adaf
drm: apple: Add DPTX support
svenpeter42 Nov 5, 2022
6786c79
drm: apple: Move offsets for rt_bandwidth callback to DT
jannau Nov 12, 2023
4f8155c
drm: apple: iomfb: Do not match/create PMU service for dcpext
jannau Aug 17, 2023
13621eb
drm: apple: afk: Adapt to macOS 13.3 firmware
jannau Apr 9, 2023
435f8c6
drm: apple: dptx: Port APCALL to macOS 13.3 firmware
jannau Apr 28, 2023
4836b0b
drm: apple: dptx: port interface to macOS 13.5 firmware
jannau Aug 17, 2023
86059a6
drm: apple: dptx: Add set_active_lanes APCALL
jannau Nov 6, 2023
7857e96
drm: apple: dptx: Add DPTX_APCALL_ACTIVATE
jannau Nov 6, 2023
153aa57
drm: apple: dptx: Adapt dptxport_connect() to observed behavior
jannau Nov 6, 2023
336cf15
drm: apple: afk: Clear commands before sending them
marcan Nov 16, 2023
9938ec5
drm: apple: Fix missing unlock path in dcp_dptx_connect
marcan Nov 16, 2023
c33614d
drm: apple: dptxep: Fix reply size check
marcan Nov 16, 2023
2a4d1fa
drm: apple: dptxep: Implement drive settings stuff
marcan Nov 16, 2023
db57996
drm: apple: HACK: Do not delete piodma platform device
jannau Nov 20, 2023
4479e08
drm: apple: afk: Update read pointer before processing message
jannau Nov 6, 2023
ab11d2e
drm: apple: Implement D592 callback
jannau Nov 19, 2023
04d1688
drm: apple: Keep information at which swap_id fb are still referenced
jannau Nov 19, 2023
6b31d61
Revert "drm: apple: iomfb: Do not match/create PMU service for dcpext"
jannau Nov 20, 2023
b42235d
drm: apple: dptx: Implement APCALL_DEACTIVATE and reset the phy
jannau Nov 20, 2023
2d257b6
drm: apple: Disconnect dptx When the CRTC is powered down
jannau Nov 20, 2023
9b2685c
drm: apple: dptx: Wait for completion of dptx_connect.
jannau Nov 21, 2023
37e80a3
drm: apple: HPD: Only act on connect IRQs
jannau Nov 21, 2023
343f99e
drm: apple: iomfb: Improve hotplug related logging
jannau Nov 21, 2023
219ed0b
drm: apple: Extract modeset crtc's atomic_flush()
jannau Nov 22, 2023
55aec20
drm: apple: dptx: Log connect/disconnect calls
jannau Nov 22, 2023
8fd927e
drm: apple: Move modeset into drm_crtc's atomic_enable
jannau Nov 23, 2023
81153d5
drm: apple: Fix DPTX hotplug handling
jannau Nov 23, 2023
fe8ab74
drm: apple: iomfb: Use drm_kms_helper_connector_hotplug_event
jannau Nov 23, 2023
c458683
drm: apple: iomfb: Handle OOB ASYNC/CB context
jannau Nov 26, 2023
84e1045
drm: apple: iomfb: Extend hotplug/mode parsing logging
jannau Nov 26, 2023
a717422
drm: apple: Adjust startup sequence and timing for dptx
jannau Nov 26, 2023
e0d67c1
drm: apple: dcp: Fix resume with DPTX based display outputs
jannau Nov 28, 2023
ecb79d8
drm: apple: Be less noisy about teardown notifies without service
jannau Dec 2, 2023
26b7cca
drm: apple: dptx: Wait for link config on connect
jannau Dec 3, 2023
f10c333
drm: apple: Prefer RGB SDR modes
jannau Dec 1, 2023
60176bb
drm: apple: iomfb: Always parse DisplayAttributes
jannau Dec 4, 2023
4b9bf79
drm: apple: parser: constify parser data
jannau Dec 10, 2023
28ab131
drm: apple: epic: Pass full notfiy/report payload to handler
jannau Dec 10, 2023
60b5239
drm: apple: epic: systemep: Parse "mNits" log events
jannau Dec 10, 2023
e8236c4
drm: apple: mark local functions static
arndb Jan 17, 2024
ce3ac0f
drm/apple: Add missing RTKit Kconfig dependency
alyssais Jan 11, 2024
8ab40d9
drm/apple: spelling fixes
jonathangray Jan 22, 2024
8c3b7ff
drm: apple: backlight: force backlight update after resume
kettenis Dec 28, 2023
bdc13a8
drm: apple: Fix/remove log messages
jannau Jan 22, 2024
d8868f3
drm: apple: dptx: Debounce HPD by simple msleep()
jannau Mar 26, 2024
a07381a
drm: apple: Add Kconfig option for audio
jannau Jan 21, 2024
b2df14e
drm: apple: iomfb: export property dicts in connector debugfs
jannau Dec 25, 2023
3ff4453
gpu: drm: apple: Expose injecting of EPIC calls via debugfs
povik Feb 13, 2023
0fcdd3e
gpu: drm: apple: Set up client of AV endpoint
povik Feb 13, 2023
dc076fd
drm: apple: av: Support macOS 12.3 and 13.5 firmware APIs
jannau Nov 13, 2023
3538cb1
drm: apple: av: Do not open AV service from afk receive handler
jannau Nov 13, 2023
5e45406
gpu: drm: apple: Add DCP audio driver
povik Feb 23, 2023
8ceb649
drm: apple: dptx: Remove DPTX disconnect/connect on init
jannau Apr 14, 2024
7dc0ed2
drm: apple: audio: init AV endpoint later
jannau Apr 14, 2024
c3758ec
drm: apple: av: Use a workqueue
jannau Apr 20, 2024
cee00a8
drm: apple: audio: move the audio driver into the DCP module
jannau Apr 20, 2024
2c89d53
drm: apple: audio: Make the DP/HDMI audio driver a full driver
jannau Apr 21, 2024
027dede
drm: apple: audio: Avoid probe errors
jannau Apr 22, 2024
82c92c3
drm/apple: fix double words in comments
jonathangray Apr 21, 2024
1435924
drm: apple: backlight: release lock in error path
cschutijser Apr 18, 2024
8d91a71
drm: apple: Switch back to drm_atomic_helper_commit_tail_rpm()
jannau Apr 27, 2024
7b585a8
drm: apple: Fix broken MemDescRelay::release_descriptor callback number
jannau May 4, 2024
d7b78f5
drm: apple: Reduce log spam about busy command channel
jannau May 4, 2024
177b1a0
drm: apple: av: Warn only once about failed calls
jannau May 4, 2024
9d8f259
drm: apple: disable HDMI audio by default
jannau May 8, 2024
d4315d8
drm: apple: Override drm_vblank's page flip event handling [HACK]
jannau May 12, 2024
0b0524a
drm/apple: Explicitly stop AFK endpoints on shutdown
hoshinolina Jun 15, 2024
992dd32
drm/apple: audio: Create a device link to the DMA device
hoshinolina Jun 15, 2024
2790677
drm/apple: audio: Defer DMA channel acquisition to device open
hoshinolina Jun 15, 2024
518a2c0
drm/apple: audio: Fix hotplug notifications
hoshinolina Jun 15, 2024
b8fed2e
drm: apple: Add oob hotplug event
svenpeter42 Nov 5, 2022
c499a0f
drm: apple: dptx: Fix get_drive_settings retcode
jannau Jun 9, 2024
2e7fac0
drm: apple: dptxport: get_max_lane_count: Retrieve lane count from phy
jannau Jun 9, 2024
815fc37
drm: apple: iomfb: Align buffer size on unmap/free as well
jannau Jul 13, 2024
340f1de
Revert "drm: apple: HACK: Do not delete piodma platform device"
jannau Aug 21, 2024
49188b0
drm: apple: afk: Optionally match against EPICName
jannau Aug 20, 2024
d441b93
drm: apple: Add dcpav-service-ep
jannau Dec 3, 2023
6445f5e
drm: apple: iomfb: Provide the EDID as connector property
jannau Aug 20, 2024
475d37f
ALSA: Introduce 'snd_interval_rate_bits'
povik Feb 23, 2023
5a1fb16
drm: apple: Enable EDID support by default
jannau Nov 9, 2024
e935570
drm: apple: audio: Implement runtime PM support
jannau Aug 31, 2024
c86a3ca
drm: apple: Add CRTC CRC support
jannau Jul 22, 2024
96a3572
drm: apple: Add .get_scanout_buffer for drm_panic support
jannau Dec 7, 2024
6de4cd2
drm: apple: respect drm_plane_state zpos
chadmed May 12, 2024
81a2bde
drm: apple: constrain swaps to maximum blendable surfaces
chadmed May 14, 2024
a6bf4d7
drm: apple: reject plane commit if it will crash DCP
chadmed May 14, 2024
915da1d
drm: apple: add support for overlay planes
chadmed May 14, 2024
1d4f2c2
drm: apple: use correct min/max plane scaling factors
chadmed May 14, 2024
3534353
drm: apple: warn about broken sw cursor fallback
chadmed May 15, 2024
483d79d
drm: apple: make plane zpos immutable
chadmed Jul 1, 2024
36f34a2
drm: apple: refactor apple_plane_atomic_check
jannau Dec 8, 2024
601917b
drm: apple: Use dest rct in offscreen test
jannau Dec 8, 2024
f93c267
drm: apple: iomfb: Clear non-visible planes
jannau Jan 18, 2025
da10577
drm: apple: Call dptxport_set_hpd in dcp_dptx_connect
jannau Aug 4, 2024
c496fcf
drm: apple: Support up to 3 DCP instances.
jannau Jul 30, 2024
74fb393
drm: apple: Handle dcps with "phys" property as dcpext
jannau Aug 3, 2024
49f94bb
drm: apple: dptx: Silence DPTX_APCALL_{GET,SET}_DOWN_SPREAD
jannau Jan 16, 2025
207461e
drm: apple: dptx: Tidy up lane count handling
jannau Jan 16, 2025
162d12d
drm: apple: afk: Allow replies after service 'teardown'
jannau Jan 18, 2025
4250264
drm: apple: audio: Rework audio service handling
jannau Jan 14, 2025
775ab44
drm: apple: iomfb: Adapt `IOMFB_METHOD` for gcc 15
jannau Jan 27, 2025
8322ff2
drm: apple: dptx: Rework/document get_max_lane_count()
jannau Jan 21, 2025
08cf298
drm: apple: HDMI: Check HPD state before enabling the IRQ
jannau Jan 21, 2025
07b105c
drm: apple: dptx: Configure number of lanes for dptx-phy
jannau Jan 21, 2025
0d99d0f
drm: apple: dptx: Issue HPD event early on gpio/type-c disconnect
jannau Feb 9, 2025
84048df
drm/apple: fix audioless build
alyssarosenzweig Feb 17, 2025
395b3ef
drm: apple: Use piodma default iommu domain
jannau Apr 9, 2025
b7b037e
drm: dcp: Adjust .mode_valid signature
jannau May 25, 2025
7410819
drm: apple: Support sync objects
jannau Jul 26, 2025
1940ec6
drm: apple: Remove conflicting devices as late as possible
jannau Aug 25, 2025
03b5e18
HACK: ALSA: Export 'snd_pcm_known_rates'
povik Feb 23, 2023
ca49a73
drm: apple: set timestamps for 120hz
oliverbestmann Dec 16, 2025
bd6a8f6
fixup! drm: apple: set timestamps for 120hz
jannau Dec 21, 2025
1a697da
drm/apple: Unify driver into a single module
jannau Sep 10, 2025
6354e3d
drm: apple: Use typec mux to switch atc-phy into DP
jannau Dec 21, 2025
8b7e508
arm64: dts: apple: t8103: Add dcpext/dispext0 nodes
jannau Sep 30, 2022
50b2ad6
arm64: dts: apple: t8112: Add dcpext/dispext0 nodes
jannau Dec 3, 2022
d4f63c8
arm64: dts: apple: t600x: Add t6000 dispext device nodes
jannau Oct 20, 2022
e28c7ca
arm64: dts: apple: t602x: Add t6020 dispext device nodes
jannau Aug 17, 2023
7f02b45
arm64: dts: apple: t8112: Add dptx-phy node
jannau Oct 28, 2023
5b9a63a
arm64: dts: apple: t602x: Add lpdptx-phy node
jannau Oct 29, 2023
0915d9f
arm64: dts: apple: t600x: Add device nodes for atc DP crossbar
jannau Nov 5, 2023
597c1f9
arm64: dts: apple: t602x: Add device nodes for atc DP crossbar
jannau Aug 17, 2023
af0cc0c
arm64: dts: apple: t8112-j473: Enable dcpext0/dptx-phy/dp2hdmi
jannau Oct 28, 2023
866acec
arm64: dts: apple: t6020-j474,t6021-j475: Enable dcpext0/dptx-phy/dp2…
jannau Nov 6, 2023
4754706
arm64: dts: apple: t6022-{j180,j475}: Enable dcpext0/dptx-phy/dp2hdmi
jannau Nov 4, 2023
0c49716
arm64: dts: apple: Fill device node for dp2hdmi on Macbook Pros
jannau Nov 6, 2023
491537c
arm64: apple: t8103-pmgr: SIO: Add audio, spi and uart power-domains
povik Feb 12, 2023
e2c20e1
arm64: apple: t8112-pmgr: SIO: Add audio, spi and uart power-domains
jannau Nov 13, 2023
25989da
arm64: apple: t600x: pmgr: SIO: Add audio, spi and uart power-domains
jannau Apr 21, 2024
424bdbd
arm64: apple: t602x: pmgr: SIO: Add audio, spi and uart power-domains
jannau Apr 21, 2024
a485c9b
arm64: apple: t8103: Add SIO, DPA nodes; hook up to DCP
povik Nov 28, 2022
a4041ff
arm64: apple: t8112: Add SIO, DPA nodes; hook up to DCP
jannau Nov 13, 2023
a79915c
arm64: apple: t600x: Move dart_sio* to dieX
jannau Nov 19, 2023
6d1eaeb
arm64: apple: t600x: Add sio and dpaudio device nodes
jannau Nov 19, 2023
843a4b9
arm64: apple: t602x: Add sio and dpaudio device nodes
jannau Jan 21, 2024
41c67da
arm64: apple: t60xx: Enable DP/HMI audio nodes on all devices
jannau Apr 7, 2024
f124433
arm64: apple: t60x0/t60x1: Enable sio explicitly
jannau Apr 27, 2024
3f5e0d1
arm64: apple: t8103-j274: Enable sio explicitly
jannau Apr 27, 2024
adb2f2b
arm64: apple: t8112-j473: Enable sio explicitly
jannau Apr 27, 2024
7c7cce6
arm64: dts: apple: t6022-j180d: Enable second HDMI port
jannau Apr 12, 2025
811a5c1
arm64: dts: apple: add common hwmon keys and fans
chadmed Jul 1, 2024
9e471b8
arm64: dts: apple: t8103: Add SMC hwmon sensors
jannau Jul 11, 2024
9f8119d
arm64: dts: apple: t8112: Add SMC hwmon sensors
jannau Jul 11, 2024
b72c74f
arm64: dts: apple: t600x-j3xx: Add SMC hwmon sensors
jannau Jul 11, 2024
bb0f794
arm64: dts: apple: t602x-j4xx: Add SMC hwmon sensors
jannau Jul 11, 2024
b9424a0
arm64: dts: apple: Add AOP and subdevices
WhatAmISupposedToPutHere Nov 9, 2024
0c0104c
arm64: dts: apple: Add SEP device tree nodes
WhatAmISupposedToPutHere Nov 10, 2024
bbbfe59
arm64: dts: apple: Add AOP audio identifiers
WhatAmISupposedToPutHere Nov 9, 2024
f7af169
arm64: dts: apple: t600x-j314-j316: Enable AOP
jannau Dec 30, 2024
5c465ac
arm64: dts: apple: t8103-j293: Enable AOP
jannau Dec 30, 2024
74d787f
arm64: dts: apple: t8103-j313: Enable AOP
jannau Dec 30, 2024
9cc92b4
arm64: dts: apple: t8103-j45x: Enable AOP
jannau Dec 30, 2024
ff8ff2a
arm64: dts: apple: t8112-j413: Enable AOP
jannau Dec 30, 2024
830d3ee
arm64: dts: apple: t8112-j415: Enable AOP
jannau Dec 30, 2024
2561a74
arm64: dts: apple: t8112-j493: Enable AOP
jannau Dec 30, 2024
1427600
arm64: dts: apple: t600x: Add "pm_setting" for smc_reboot
jannau Sep 6, 2025
0219bc6
arm64: dts: apple: t8103: Add "pm_setting" for smc_reboot
jannau Sep 6, 2025
9a747e6
arm64: dts: apple: t8112: Add "pm_setting" for smc_reboot
jannau Sep 6, 2025
ae4e438
arm64: dts: apple: Add chassis-type property for all Macbooks
jannau Sep 19, 2025
c338c0e
arm64: dts: apple: Add chassis-type property for Apple desktop devices
jannau Sep 19, 2025
5a90337
arm64: dts: apple: Add chassis-type property for Mac Pro
jannau Sep 19, 2025
4720205
arm64: dts: apple: Add chassis-type property for Apple iMacs
jannau Sep 19, 2025
08a5ee2
arm64: dts: apple: Add SMC hwmon node for t600x,t602x,t8103,t8112
jannau Sep 26, 2025
27b0580
arm64: dts: apple: Adjust all hwmon sensors for upstream driver
jannau Sep 26, 2025
961be03
arm64: apple: t602x: Remove disabled status from uat reserved-mem reg…
jannau Dec 16, 2025
0551748
rm64: dts: apple: t8103: Add ATC display crossbar devices
jannau Dec 22, 2025
b7aa8b2
rm64: dts: apple: t8112: Add ATC display crossbar devices
jannau Dec 22, 2025
51bf311
arm64: dts: apple: Connect dcp and atc-phy for dp2hdmi on Macbook Pros
jannau Dec 21, 2025
826e19a
Merge branch 'bits/000-devicetree' into asahi-wip
jannau Dec 22, 2025
b93ce67
Merge branch 'bits/002-backports' into asahi-wip
jannau Dec 22, 2025
e8774b4
Merge branch 'bits/010-soc' into asahi-wip
jannau Dec 22, 2025
7a52ccb
Merge branch 'bits/020-dart' into asahi-wip
jannau Dec 22, 2025
643448a
Merge branch 'bits/030-misc' into asahi-wip
jannau Dec 22, 2025
371486c
Merge branch 'bits/040-dwc3' into asahi-wip
jannau Dec 22, 2025
8a6c887
Merge branch 'bits/050-nvme' into asahi-wip
jannau Dec 22, 2025
c738845
Merge branch 'bits/070-audio' into asahi-wip
jannau Dec 22, 2025
7780647
Merge branch 'bits/080-wifi' into asahi-wip
jannau Dec 22, 2025
389777a
Merge branch 'bits/090-spi-hid' into asahi-wip
jannau Dec 22, 2025
fbae4c7
Merge branch 'bits/110-smc' into asahi-wip
jannau Dec 22, 2025
785c903
Merge branch 'bits/140-pci' into asahi-wip
jannau Dec 22, 2025
17e54c2
Merge branch 'bits/150-xhci-firmware' into asahi-wip
jannau Dec 22, 2025
53ef268
Merge branch 'bits/170-atcphy' into asahi-wip
jannau Dec 22, 2025
14b2e20
Merge branch 'bits/180-sio' into asahi-wip
jannau Dec 22, 2025
4816d28
Merge branch 'bits/190-rust' into asahi-wip
jannau Dec 22, 2025
5dfcf2c
Merge branch 'bits/200-dcp' into asahi-wip
jannau Dec 22, 2025
852d54e
Merge branch 'bits/210-gpu' into asahi-wip
jannau Dec 22, 2025
91e5987
Merge branch 'bits/220-tso' into asahi-wip
jannau Dec 22, 2025
e2f80b4
Merge branch 'bits/240-isp' into asahi-wip
jannau Dec 22, 2025
99d7ed4
Merge branch 'bits/250-aop' into asahi-wip
jannau Dec 22, 2025
b5af743
Input: apple_z2: Fix reading incorrect reports after exiting sleep
WhatAmISupposedToPutHere Dec 18, 2025
57df9f1
drm/apple: Discard EDID on disconnect
jannau Dec 23, 2025
4b0726e
arm64: dts: apple: j[34]1[46]: Mark ps_atc3_common as always-on
jannau Dec 25, 2025
1cf69dc
rust: drm: gpuvm: Add a missing lock
WhatAmISupposedToPutHere Jan 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 13 additions & 3 deletions Documentation/admin-guide/LSM/Smack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -601,10 +601,15 @@ specification.
Task Attribute
~~~~~~~~~~~~~~

The Smack label of a process can be read from /proc/<pid>/attr/current. A
process can read its own Smack label from /proc/self/attr/current. A
The Smack label of a process can be read from ``/proc/<pid>/attr/current``. A
process can read its own Smack label from ``/proc/self/attr/current``. A
privileged process can change its own Smack label by writing to
/proc/self/attr/current but not the label of another process.
``/proc/self/attr/current`` but not the label of another process.

Format of writing is : only the label or the label followed by one of the
3 trailers: ``\n`` (by common agreement for ``/proc/...`` interfaces),
``\0`` (because some applications incorrectly include it),
``\n\0`` (because we think some applications may incorrectly include it).

File Attribute
~~~~~~~~~~~~~~
Expand Down Expand Up @@ -696,6 +701,11 @@ sockets.
A privileged program may set this to match the label of another
task with which it hopes to communicate.

UNIX domain socket (UDS) with a BSD address functions both as a file in a
filesystem and as a socket. As a file, it carries the SMACK64 attribute. This
attribute is not involved in Smack security enforcement and is immutably
assigned the label "*".

Smack Netlabel Exceptions
~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
111 changes: 111 additions & 0 deletions Documentation/devicetree/bindings/dma/apple,sio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/dma/apple,sio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple SIO Coprocessor

description:
SIO is a coprocessor on Apple M1 and later chips (and maybe also on earlier
chips). Its role is to offload SPI, UART and DisplayPort audio transfers,
being a pretend DMA controller.

maintainers:
- Martin Povišer <povik+lin@cutebit.org>

allOf:
- $ref: dma-controller.yaml#

properties:
compatible:
items:
- enum:
- apple,t6000-sio
- apple,t8103-sio
- const: apple,sio

reg:
maxItems: 1

'#dma-cells':
const: 1
description:
DMA clients specify a single cell that corresponds to the RTKit endpoint
number used for arranging the transfers in question

dma-channels:
maximum: 128

mboxes:
maxItems: 1

iommus:
maxItems: 1

power-domains:
maxItems: 1

memory-region:
minItems: 2
maxItems: 8
description:
A number of references to reserved memory regions among which are the DATA/TEXT
sections of coprocessor executable firmware and also auxiliary firmware data
describing the available DMA-enabled peripherals

apple,sio-firmware-params:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: |
Parameters in the form of opaque key/value pairs that are to be sent to the SIO
coprocesssor once it boots. These parameters can point into the reserved memory
regions (in device address space).

Note that unlike Apple's firmware, we treat the parameters, and the data they
refer to, as opaque. Apple embed short data blobs into their SIO devicetree node
that describe the DMA-enabled peripherals (presumably with defined semantics).
Their driver processes those blobs and sets up data structure in mapped device
memory, then references this memory in the parameters sent to the SIO. At the
level of description we are opting for in this binding, we assume the job of
constructing those data structures has been done in advance, leaving behind an
opaque list of key/value parameter pairs to be sent by a prospective driver.

This approach is chosen for two reasons:

- It means we don't need to try to understand the semantics of Apple's blobs
as long as we know the transformation we need to do from Apple's devicetree
data to SIO data (which can be shoved away into a loader). It also means the
semantics of Apple's blobs (or of something to replace them) need not be part
of the binding and be kept up with Apple's firmware changes in the future.

- It leaves less work for the driver attaching on this binding. Instead the work
is done upfront in the loader which can be better suited for keeping up with
Apple's firmware changes.

required:
- compatible
- reg
- '#dma-cells'
- dma-channels
- mboxes
- iommus
- power-domains

additionalProperties: false

examples:
- |
sio: dma-controller@36400000 {
compatible = "apple,t8103-sio", "apple,sio";
reg = <0x36400000 0x8000>;
dma-channels = <128>;
#dma-cells = <1>;
mboxes = <&sio_mbox>;
iommus = <&sio_dart 0>;
power-domains = <&ps_sio_cpu>;
memory-region = <&sio_text>, <&sio_data>,
<&sio_auxdata1>, <&sio_auxdata2>; /* Filled by loader */
apple,sio-firmware-params = <0xb 0x10>, <0xc 0x1b80>, <0xf 0x14>,
<0x10 0x1e000>, <0x30d 0x34>, <0x30e 0x4000>,
<0x1a 0x38>, <0x1b 0x50>; /* Filled by loader */
};
86 changes: 86 additions & 0 deletions Documentation/devicetree/bindings/hwmon/apple,smc-hwmon.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwmon/apple,smc-hwmon.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple SMC Hardware Monitoring

description:
Apple's System Management Controller (SMC) exposes a vast array of
hardware monitoring sensors, including temperature probes, current and
voltage sense, power meters, and fan speeds. It also provides endpoints
to manually control the speed of each fan individually. Each Apple
Silicon device exposes a different set of endpoints via SMC keys. This
is true even when two machines share an SoC. The CPU core temperature
sensor keys on an M1 Mac mini are different to those on an M1 MacBook
Pro, for example.

maintainers:
- James Calligeros <jcalligeros99@gmail.com>

$defs:
sensor:
type: object

properties:
apple,key-id:
$ref: /schemas/types.yaml#/definitions/string
pattern: "^[A-Za-z0-9]{4}$"
description: The SMC FourCC key of the desired sensor.
Must match the node's suffix.

label:
description: Human-readable name for the sensor

required:
- apple,key-id

properties:
compatible:
const: apple,smc-hwmon

patternProperties:
"^current-[A-Za-z0-9]{4}$":
$ref: "#/$defs/sensor"
unevaluatedProperties: false

"^fan-[A-Za-z0-9]{4}$":
$ref: "#/$defs/sensor"
unevaluatedProperties: false

properties:
apple,fan-minimum:
$ref: /schemas/types.yaml#/definitions/string
pattern: "^[A-Za-z0-9]{4}$"
description: SMC key containing the fan's minimum speed

apple,fan-maximum:
$ref: /schemas/types.yaml#/definitions/string
pattern: "^[A-Za-z0-9]{4}$"
description: SMC key containing the fan's maximum speed

apple,fan-target:
$ref: /schemas/types.yaml#/definitions/string
pattern: "^[A-Za-z0-9]{4}$"
description: Writeable endpoint for setting desired fan speed

apple,fan-mode:
$ref: /schemas/types.yaml#/definitions/string
pattern: "^[A-Za-z0-9]{4}$"
description: Writeable key to enable/disable manual fan control


"^power-[A-Za-z0-9]{4}$":
$ref: "#/$defs/sensor"
unevaluatedProperties: false

"^temperature-[A-Za-z0-9]{4}$":
$ref: "#/$defs/sensor"
unevaluatedProperties: false

"^voltage-[A-Za-z0-9]{4}$":
$ref: "#/$defs/sensor"
unevaluatedProperties: false

additionalProperties: false
45 changes: 45 additions & 0 deletions Documentation/devicetree/bindings/mfd/apple,smc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ properties:
reboot:
$ref: /schemas/power/reset/apple,smc-reboot.yaml

rtc:
$ref: /schemas/rtc/apple,smc-rtc.yaml

hwmon:
$ref: /schemas/hwmon/apple,smc-hwmon.yaml

additionalProperties: false

required:
Expand Down Expand Up @@ -80,5 +86,44 @@ examples:
nvmem-cell-names = "shutdown_flag", "boot_stage",
"boot_error_count", "panic_count";
};

rtc {
compatible = "apple,smc-rtc";
nvmem-cells = <&rtc_offset>;
nvmem-cell-names = "rtc_offset";
};

hwmon {
compatible = "apple,smc-hwmon";

current-ID0R {
apple,key-id = "ID0R";
label = "AC Input Current";
};

fan-F0Ac {
apple,key-id = "F0Ac";
apple,fan-minimum = "F0Mn";
apple,fan-maximum = "F0Mx";
apple,fan-target = "F0Tg";
apple,fan-mode = "F0Md";
label = "Fan 1";
};

power-PSTR {
apple,key-id = "PSTR";
label = "Total System Power";
};

temperature-TW0P {
apple,key-id = "TW0P";
label = "WiFi/BT Module Temperature";
};

voltage-VD0R {
apple,key-id = "VD0R";
label = "AC Input Voltage";
};
};
};
};
6 changes: 3 additions & 3 deletions Documentation/devicetree/bindings/pci/amlogic,axg-pcie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ properties:

reg:
items:
- description: External local bus interface registers
- description: Data Bus Interface registers
- description: Meson designed configuration registers
- description: PCIe configuration space

reg-names:
items:
- const: elbi
- const: dbi
- const: cfg
- const: config

Expand Down Expand Up @@ -113,7 +113,7 @@ examples:
pcie: pcie@f9800000 {
compatible = "amlogic,axg-pcie", "snps,dw-pcie";
reg = <0xf9800000 0x400000>, <0xff646000 0x2000>, <0xf9f00000 0x100000>;
reg-names = "elbi", "cfg", "config";
reg-names = "dbi", "cfg", "config";
interrupts = <GIC_SPI 177 IRQ_TYPE_EDGE_RISING>;
clocks = <&pclk>, <&clk_port>, <&clk_phy>;
clock-names = "pclk", "port", "general";
Expand Down
Loading