Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
38147dc
usb: typec: mux: zero the device arrays the duplicate checks scan
chriskearney Oct 19, 2026
a197bcb
ASoC: cs42l42: keep the codec on the oscillator until SCLK runs
sithglan Oct 16, 2026
68e75ef
ASoC: cs42l84: keep the codec on the oscillator until BCLK runs
chriskearney Oct 19, 2026
6cb3a4b
ASoC: cs42l42: test that unmute waits for D0 and a locked PLL
chriskearney Oct 19, 2026
84f7ad6
ASoC: cs42l84: test that unmute waits for D0 and a locked PLL
chriskearney Oct 19, 2026
4b00154
media: apple: avd: bound the optional firmware codec trailer
chriskearney Oct 22, 2026
67ec0db
tools/asahi: exercise firmware codec tail bounds and fallback
chriskearney Oct 22, 2026
7c8470f
ASoC: cs42l42, cs42l84: initialize the 7.2 power reference in tests
chriskearney Oct 19, 2026
086e6b9
thunderbolt: defer DP pairing until DPRX retirement releases paths
Oct 21, 2026
6e854ed
thunderbolt: preserve deferred DP pairing across sleep
Oct 21, 2026
1e2f1dd
thunderbolt: replay deferred DP pairing after runtime PM is enabled
Oct 21, 2026
c9efb09
tools/asahi: check DP repair against the maintained DPRX callback
chriskearney Oct 22, 2026
7032a5c
mm/mremap: user4k: reset the sub-page offset of an unfaulted DONTUNMA…
chriskearney Oct 19, 2026
719b038
phy: apple: implement the T6030 source-aware tunnel clock provider
chriskearney Oct 13, 2026
bb0ad1c
drm/apple: support both T6030 Thunderbolt dock display streams
chriskearney Oct 21, 2026
9d336ad
drm/apple: route a lone T6030 dock DPIN1 stream without waiting for a…
Oct 21, 2026
58d75c3
soc: apple: opt native T6030 GPUs into the admitted PMP supplier
chriskearney Oct 22, 2026
19538d9
pmdomain: apple: read readiness from the passive T6030 report
chriskearney Oct 22, 2026
64e27bd
tools/asahi: exercise native T6030 supplier admission and passive rea…
chriskearney Oct 22, 2026
f85c821
drm/apple: check T6030 tunnel clock policy parity
chriskearney Oct 22, 2026
0287dbe
phy: apple: make legacy USB3 handoff completion retryable
chriskearney Oct 22, 2026
c87c7a3
phy: apple: exercise legacy handoff on the current PIPE lifecycle
chriskearney Oct 22, 2026
21cf45a
drm/apple: initialize the deferred attributes hotplug fixture
chriskearney Oct 22, 2026
35a54d2
phy: apple: check role selection after Type-C lane setup
chriskearney Oct 22, 2026
7bdff67
rust: platform: allow a retained device to suppress manual bind attri…
chriskearney Oct 22, 2026
1633fb9
drm/asahi: g15: Add the UAPI glue and register the G15 generation
erykwieliczko Oct 19, 2026
4d6d407
drm/asahi: g15: Add the T6031 (M3 Max, G15C) configuration row
malik-na Oct 19, 2026
99a4031
drm/asahi: g15: Pin the J516C GPU firmware build
malik-na Oct 19, 2026
4abf704
drm/asahi: g15: Build the J516C initdata from its board images
malik-na Oct 19, 2026
5fc412a
drm/asahi: g15: Encode compute commands with the G15C register values
malik-na Oct 19, 2026
377ce9d
drm/asahi: g15: Admit and map UAT regions that are reserved System RAM
malik-na Oct 19, 2026
3a5c855
drm/asahi: g15: Accept the J516C 14.8 GPU firmware build
malik-na Oct 19, 2026
f0d7c15
drm/asahi: g15: Reject a scissor base that overflows the address space
DjDeveloperr Oct 19, 2026
2510cc3
drm/asahi: g15: Do not fail a published prefix on a group allocation …
DjDeveloperr Oct 19, 2026
5a592f2
drm/asahi: g15: Release a closed VM's state when its handle goes
DjDeveloperr Oct 19, 2026
e2b962c
drm/asahi: g15: Release the power hold and the PMP vote when a start …
DjDeveloperr Oct 19, 2026
c4d01d3
drm/asahi: g15: Only mark used pass slots dirty on release
DjDeveloperr Oct 19, 2026
35bbcb1
tools/asahi: Drop the removed T6031 knobs from the M3 runtime tests
DjDeveloperr Oct 19, 2026
f6da2c8
drm/asahi-m3: adapt the native G15 driver to the 7.2 driver core and …
chriskearney Oct 19, 2026
42f91c2
drm/asahi: g15: Say what to report when the GPU firmware build is unk…
malik-na Oct 19, 2026
f3b867b
drm/asahi: g15: Move the board template fill into a core-only submodule
malik-na Oct 19, 2026
7375309
drm/asahi: g15: t6031: Build Globals and Power from the device tree
malik-na Oct 19, 2026
b840b99
drm/asahi: g15: board: Review fixes for the device-tree Globals and P…
malik-na Oct 19, 2026
3f02f6c
drm/asahi: g15: t6031: Build the hardware record from the device tree
malik-na Oct 19, 2026
f1f5a81
drm/asahi: t6031: take the idle standby time from the GPU node
malik-na Oct 19, 2026
de64626
drm/asahi: g15: t6031: refuse board-data values that do not fit in u32
chriskearney Oct 19, 2026
a9a0e4b
selftests: asahi-g15: run the T6031 board-data and firmware-lookup tests
chriskearney Oct 19, 2026
0b06992
drm/asahi: g15: t6031: test that no GPU node value panics the record …
chriskearney Oct 19, 2026
68b780f
drm/asahi: g15: Read back the GPU's performance state in debugfs
malik-na Oct 19, 2026
cd97056
drm/asahi: g15: t6031: Leave the 42 record words the firmware does no…
malik-na Oct 19, 2026
2a03199
drm/asahi: g15: m3: complete the stats record loads before consuming …
Oct 19, 2026
73047c7
drm/asahi: g15: Seed the compute UMA freelist with every pool
malik-na Oct 19, 2026
345f1d8
drm/asahi: g15: Leave PB growth requests unanswered after two refusal…
malik-na Oct 19, 2026
bd0201f
drm/asahi: g15: Keep PB blocks above the firmware's growth maximum fo…
malik-na Oct 19, 2026
ff0d1cd
drm/asahi: g15: Map a 512 MiB parameter buffer heap
malik-na Oct 19, 2026
e1cdc12
drm/asahi: g15: m3: keep every PB ledger below the block list's K
Oct 19, 2026
b1adafb
drm/asahi: g15: m3: say what a PB refusal does and size the heap right
Oct 19, 2026
3ea5cb6
drm/asahi: g15: m3: check firmware-object backing geometry with check…
Oct 19, 2026
1eced02
drm/asahi: g15: m3: map the PB backing into each VM when it first runs
Oct 19, 2026
73b9ade
drm/asahi: g15: m3: back the PB on demand, before an answer posts it
Oct 19, 2026
716d2fb
drm/asahi: adapt retained-G15 hooks to the maintained shared APIs
chriskearney Oct 22, 2026
a400092
drm/asahi: port the native G15 adapter onto maintained DRM registration
chriskearney Oct 22, 2026
23ae3ea
drm/asahi: g15: allocate driver data before touching firmware
chriskearney Oct 22, 2026
a828926
drm/asahi: g15: defer firmware start until module registration completes
chriskearney Oct 22, 2026
bc96241
drm/asahi: g15: make maintained loader contracts independent of SF pr…
chriskearney Oct 22, 2026
5804cd2
drm/asahi: test maintained G15 admission, rings and demand backing
chriskearney Oct 22, 2026
6c6f0e6
drm/asahi: use the native private wire in G15 command consumers
chriskearney Oct 22, 2026
b3fcfd5
soc: apple: sep: reserve the xART list key before the write, flush th…
chriskearney Oct 22, 2026
627c501
drm/asahi: isolate the native G15 command ABI behind a private facade
chriskearney Oct 22, 2026
a5b2287
power: supply: macsmc: add "auto-discharge" charge behaviour for CHLS
BoiledElectricity Aug 1, 2026
82df55d
mfd: macsmc: let client tests stub key reads and writes
Oct 22, 2026
ede99b3
power: supply: macsmc: serialize charge settings and offer auto on CH…
Oct 22, 2026
ffe8011
drm/asahi: g15: reject errored input dependencies before publication
chriskearney Oct 22, 2026
9d5c0ee
drm/asahi: g15: bound device-wide live logical queue capacity
chriskearney Oct 22, 2026
faef7fd
drm/asahi: expose the inherited-error policy only for native G15
chriskearney Oct 22, 2026
49ab353
ci: register the native G15 host regression suites
chriskearney Oct 22, 2026
adfbae4
dt-bindings: dma: apple,sio: Add the T6030 compatible
erykwieliczko Oct 19, 2026
ec5ad4c
dmaengine: apple-sio: Configure the T6030 channels as its firmware ex…
erykwieliczko Oct 19, 2026
1a7e213
arm64: configs: asahi: Configure the T6030 SIO channels
DjDeveloperr Oct 19, 2026
6f09c82
dmaengine: apple-sio: Start the T6030 SIO only with protocol-10 tables
Oct 22, 2026
bdaf6dd
dt-bindings: power: apple,pmgr-pwrstate: Add apple,no-auto-pm
erykwieliczko Oct 19, 2026
7d1b0b9
dt-bindings: power: apple,pmgr-pwrstate: document apple,inherited-on
DjDeveloperr Oct 19, 2026
8736001
pmdomain: apple: pmgr-pwrstate: Honour apple,no-auto-pm
erykwieliczko Oct 19, 2026
4f6aba6
pmdomain: apple: pmgr-pwrstate: Test apple,no-auto-pm on power on and…
Oct 22, 2026
c4b33fa
drm/apple: iomfb v14.7: add the J514C (M3 Max 14-inch) board record
DjDeveloperr Oct 19, 2026
db9d534
drm: apple: iomfb v14.7: take an HDMI 2.1 sink's catalog of more than…
erykwieliczko Oct 19, 2026
e080e39
dmaengine: apple-sio: Refuse T6030 boot parameter keys wider than 16 …
Oct 22, 2026
7b4ad52
dmaengine: apple-sio: Refuse a T6030 window entry whose owner is unre…
Oct 22, 2026
831b3cd
dmaengine: apple-sio: Select DMA_VIRTUAL_CHANNELS
Oct 22, 2026
5406e67
dmaengine: apple-sio: Leave a T6030 SIO stopped without APPLE_SIO_T6030
Oct 22, 2026
3c32d31
arm64: mm: Export dcache_clean_poc()
erykwieliczko Oct 19, 2026
b9d3cf7
drm/asahi: export a T6030 module alias for the native G15 driver
chriskearney Oct 22, 2026
dac55df
arm64: dts: apple: t6030: Describe the J514S HDMI port's audio
erykwieliczko Oct 19, 2026
5babf19
drm: apple: Add the DCP 14.7 external role's HDMI audio
erykwieliczko Oct 19, 2026
c74f465
drm/apple: start the external audio work disabled
chriskearney Oct 19, 2026
f1de0e8
drm/apple: iomfb v14.7: keep the sink's audio when an external mode s…
chriskearney Oct 19, 2026
92a87f1
drm/apple: afk: the 14.7 external role's reply byte and re-announced …
erykwieliczko Oct 19, 2026
cadaaeb
drm/apple: dpavservep: open and close the 14.7 external role's AV client
erykwieliczko Oct 19, 2026
146f1a0
drm/apple: name the audio link and status commands by what they do
chriskearney Oct 19, 2026
28db05e
drm/apple: test the external audio work and an audio interface withou…
Oct 22, 2026
24a044a
drm/apple: dpavservep: tie the 14.7 AV client to the instance it opened
Oct 22, 2026
956bedf
drm/apple: av: keep the 14.7 audio client on its own instance
Oct 22, 2026
3168691
drm/apple: av: carry a Terminate's instance through its whole disconnect
Oct 22, 2026
af2c5c0
pmdomain: apple: restore gated T6030 managed PMP startup
Oct 22, 2026
3127221
drm/apple: directly call the bounded DMA region translator
chriskearney Oct 22, 2026
3f426f5
drm/apple: dpavservep: test that a Close keeps a Terminate in force
Oct 22, 2026
2a18274
test: exercise the actual T6030 halted-PMP consumer graph
chriskearney Oct 22, 2026
70f41a7
drm/apple: admit T6030 G15 only after native display registration
chriskearney Oct 22, 2026
9632ccd
drm/asahi: require a callable native display provider for G15
chriskearney Oct 22, 2026
cabe468
selftests: asahi-g15: exercise display admission before the PMP link
chriskearney Oct 22, 2026
b11dd17
thunderbolt: apple: let T6030 DP IN tunnels wait for a display pipeline
Oct 22, 2026
8696e7b
tools: asahi: format the host test fixtures in kernel style
Oct 22, 2026
b1331cd
selftests: apple: cover the newly admitted J514C panel record
Oct 22, 2026
eb8ecb7
selftests: apple-dcp: follow the T8103 USB3 retry, T6030 dock and 14.…
Oct 22, 2026
4c8e1eb
arm64: asahi: keep the Apple CIO reset controller built in
chriskearney Oct 22, 2026
e9d92ce
drm/asahi: retain live G15 storage after allocation failures
chriskearney Oct 22, 2026
319a4c0
ASoC: cs42l84: retain the card-resume unmute
chriskearney Oct 22, 2026
4411a55
drm/apple: validate the plane layout sent to DCP
chriskearney Oct 22, 2026
fe6349e
selftests/apple-dcp: cover layout bounds through DRM format admission
chriskearney Oct 22, 2026
fa52480
ASoC: cs42l42: require playback prepare for the base-M1 SCLK workaround
chriskearney Oct 22, 2026
bb71dfa
phy: apple: restrict the USB3 handoff workaround to base M1
chriskearney Oct 22, 2026
e7307bd
drm/apple: drain AV owner work before endpoint teardown
chriskearney Oct 22, 2026
cf7d47c
selftests: aurora-sep: replace the stalled sensor fixture atomically
chriskearney Oct 22, 2026
e085a95
tools/asahi: follow the 7.3 DPRX callback in the DP repair test
DjDeveloperr Oct 23, 2026
48e1185
tools/asahi: model deferred PMP requests in the T6030 graph test
DjDeveloperr Oct 23, 2026
fc13d05
drm/asahi: g15: adapt the native G15 backend to the Linux 7.3 Rust APIs
DjDeveloperr Oct 23, 2026
18ba468
power: supply: macsmc: test the refused out-of-range end thresholds
DjDeveloperr Oct 23, 2026
127df1b
Merge integration/aurora into aurora-wip-sync-177
RyanTheTide Oct 25, 2026
ed10e7a
selftests: asahi-g15: cover the combined native registrations
RyanTheTide Oct 25, 2026
817b34f
selftests: asahi-g15: allow explicit host compiler and control inputs
RyanTheTide Oct 25, 2026
c7e8b87
selftests: apple-dcp: model the legacy supplier readiness branch
RyanTheTide Oct 25, 2026
d1468a5
drm/asahi: gpu: drop the unused module_parameters import
Oct 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Documentation/ABI/testing/sysfs-class-power
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,11 @@ Description:
inhibit-charge: Do not charge while AC is attached
inhibit-charge-awake: inhibit-charge only when device is awake
force-discharge: Force discharge while AC is attached
auto-discharge: auto, but actively discharge down to
the charge control end threshold.
Needs an end threshold below 100;
an end threshold of 100 returns to
auto
===================== ========================================

What: /sys/class/power_supply/<supply_name>/technology
Expand Down
24 changes: 21 additions & 3 deletions Documentation/devicetree/bindings/display/apple,dcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,16 @@ properties:
mux-controls:
$ref: /schemas/types.yaml#/definitions/phandle-array
minItems: 1
maxItems: 8
maxItems: 10
description: |
T6030 external DCPs may also name the two DP IN tunnel states of each
Type-C crossbar, in addition to the fixed output and Type-C routes.

mux-control-names:
minItems: 1
maxItems: 8
maxItems: 10
items:
pattern: '^(dp-xbar|typec[0-9]+)$'
pattern: '^(dp-xbar|typec[0-9]+(-dpin[01])?)$'

mux-index:
$ref: /schemas/types.yaml#/definitions/uint32
Expand Down Expand Up @@ -352,6 +355,21 @@ required:
- iommus

allOf:
- if:
properties:
compatible:
contains:
const: apple,t6030-dcpext
required:
- compatible
else:
properties:
mux-controls:
maxItems: 8
mux-control-names:
maxItems: 8
items:
pattern: '^(dp-xbar|typec[0-9]+)$'
- if:
not:
properties:
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/dma/apple,sio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ properties:
items:
- enum:
- apple,t6000-sio
- apple,t6030-sio
- apple,t8103-sio
- const: apple,sio

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ properties:
- apple,t8142-asc-mailbox
- apple,t6000-asc-mailbox
- apple,t6020-asc-mailbox
- apple,t6030-asc-mailbox
- apple,t6041-asc-mailbox
- const: apple,asc-mailbox-v4

Expand Down
28 changes: 22 additions & 6 deletions Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ properties:
Forces this power domain to always be powered up.
type: boolean

apple,no-auto-pm:
description: |
Never enables automatic power management (auto-enable) for this
domain: once powered up it stays at its requested state until
Linux changes it. Required for a coprocessor CPU domain whose
firmware is started cold by Linux and must not be clock or power
gated behind its back, such as the T6030 external display
coprocessors' CPU domains.
type: boolean

apple,firmware-owned:
description:
The boot loader hands over active hardware whose power domain remains
Expand All @@ -107,13 +117,19 @@ properties:
type: boolean

apple,inherited-on:
description:
The boot loader hands over an active domain whose state register can be
read, but whose power and reset transitions have not been handed over.
Both target and actual state must already be active, with reset,
auto-enable, reset-state, busy and device-disable indications clear.
description: |
On T8132, the boot loader hands over an active domain whose state
register can be read, but whose power and reset transitions have not
been handed over. Both target and actual state must already be active,
with reset, auto-enable, reset-state, busy and device-disable clear.
The OS verifies that state, retains an always-on domain, and refuses
power-off and reset operations without writing its state register.
power-off and reset without writing the register.

On T6030, T6031 and T8122, this marks the internal display chain left
running by the boot loader. The display handoff requires the marker
before adding the PMP and setting apple,min-state on that chain.
These older domains retain their normal PMGR transition ownership;
unlike apple,firmware-owned, their registers remain writable.
type: boolean

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

title: Apple T6030 DisplayPort audio

maintainers:
- Ryan Murray <ryan@aurorasilicon.org>

description: |
The external display processor provides the HDMI port's audio service.
Its DisplayPort audio interface has no application-processor registers.
Samples arrive through SIO, and the graph connects this interface to
port 0 of the display processor that owns the audio service.

select:
properties:
compatible:
contains:
const: apple,t6030-dpaudio
required:
- compatible

properties:
compatible:
items:
- const: apple,t6030-dpaudio
- const: apple,dpaudio

dmas:
maxItems: 1

dma-names:
const: tx

power-domains:
maxItems: 1

ports:
$ref: /schemas/graph.yaml#/properties/ports
properties:
port@0:
$ref: /schemas/graph.yaml#/properties/port
description: Connection to the display processor's audio service.
required:
- port@0

required:
- compatible
- dmas
- dma-names
- power-domains
- ports

additionalProperties: false
4 changes: 4 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2682,6 +2682,10 @@ F: Documentation/devicetree/bindings/dma/apple,sio.yaml
F: Documentation/devicetree/bindings/sound/apple,*
F: Documentation/devicetree/bindings/sound/cirrus,cs42l84.yaml
F: Documentation/devicetree/bindings/sound/trivial-codec.yaml
F: drivers/dma/apple-sio-probe-test.c
F: drivers/dma/apple-sio-probe-test.dtso
F: drivers/dma/apple-sio-t6030-test.dtso
F: drivers/dma/apple-sio-test.c
F: drivers/dma/apple-sio.c
F: sound/soc/apple/*
F: sound/soc/codecs/cs42l83-i2c.c
Expand Down
20 changes: 16 additions & 4 deletions arch/arm64/boot/dts/apple/t6030-dcp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,14 @@
<&atcphy2 PHY_TYPE_DP>;
phy-names = "typec0", "typec1", "typec2";
mux-controls = <&atcphy0_xbar 0>, <&atcphy1_xbar 0>,
<&atcphy2_xbar 0>;
mux-control-names = "typec0", "typec1", "typec2";
<&atcphy2_xbar 0>,
<&atcphy0_xbar 1>, <&atcphy0_xbar 2>,
<&atcphy1_xbar 1>, <&atcphy1_xbar 2>,
<&atcphy2_xbar 1>, <&atcphy2_xbar 2>;
mux-control-names = "typec0", "typec1", "typec2",
"typec0-dpin0", "typec0-dpin1",
"typec1-dpin0", "typec1-dpin1",
"typec2-dpin0", "typec2-dpin1";
apple,connector-type = "USB-C";
apple,dcp-index = <1>;
apple,typec-dptx-phys = <0 1 2>;
Expand Down Expand Up @@ -243,8 +249,14 @@
<&atcphy2 PHY_TYPE_DP>;
phy-names = "typec0", "typec1", "typec2";
mux-controls = <&atcphy0_xbar 0>, <&atcphy1_xbar 0>,
<&atcphy2_xbar 0>;
mux-control-names = "typec0", "typec1", "typec2";
<&atcphy2_xbar 0>,
<&atcphy0_xbar 1>, <&atcphy0_xbar 2>,
<&atcphy1_xbar 1>, <&atcphy1_xbar 2>,
<&atcphy2_xbar 1>, <&atcphy2_xbar 2>;
mux-control-names = "typec0", "typec1", "typec2",
"typec0-dpin0", "typec0-dpin1",
"typec1-dpin0", "typec1-dpin1",
"typec2-dpin0", "typec2-dpin1";
apple,connector-type = "USB-C";
apple,dcp-index = <2>;
apple,typec-dptx-phys = <0 1 2>;
Expand Down
6 changes: 5 additions & 1 deletion arch/arm64/boot/dts/apple/t6030-pmgr.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@
#power-domain-cells = <0>;
#reset-cells = <0>;
label = "sio_cpu";
power-domains = <&ps_sio>;
/*
* The SIO firmware sets up the SPI, UART and audio DMA shims
* however few of them its clients use.
*/
power-domains = <&ps_sio &ps_uart_p &ps_spi_p &ps_audio_p>;
};

ps_fpwm0: power-controller@1d8 {
Expand Down
27 changes: 27 additions & 0 deletions arch/arm64/boot/dts/apple/t6030.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,33 @@
power-domains = <&ps_sio>;
};

sio_mbox: mbox@289c08000 {
compatible = "apple,t6030-asc-mailbox", "apple,asc-mailbox-v4";
reg = <0x2 0x89c08000 0x0 0x4000>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 907 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 908 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 909 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 910 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "send-empty", "send-not-empty",
"recv-empty", "recv-not-empty";
#mbox-cells = <0>;
power-domains = <&ps_sio_cpu>;
status = "disabled";
};

/* Enabled by the boot loader with its firmware and parameters. */
sio: dma-controller@289c00000 {
compatible = "apple,t6030-sio", "apple,sio";
reg = <0x2 0x89c00000 0x0 0x8000>;
dma-channels = <128>;
#dma-cells = <1>;
mboxes = <&sio_mbox>;
iommus = <&sio_dart 0>;
power-domains = <&ps_sio_cpu>;
status = "disabled";
};

admac: dma-controller@28b200000 {
compatible = "apple,t6030-admac", "apple,t8122-admac";
reg = <0x2 0x8b200000 0x0 0x34000>;
Expand Down
56 changes: 54 additions & 2 deletions arch/arm64/boot/dts/apple/t603x-j514s-j516s-hdmi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,20 @@
*
* The processor stays a hybrid pipeline: while no HDMI display is attached
* it can still be lent to a USB-C port.
*
* The HDMI port's audio is the processor's audio service with DPA1, the
* DisplayPort audio interface its port@0 links (no AP-side registers): SIO
* channel 0x66 carries the samples, as on the M1 Pro/Max HDMI port. The
* loader reserves the SIO firmware and enables the SIO with its parameters.
*/

/ {
aliases {
/* The boot loader looks the SIO up by this alias. */
sio = &sio;
};
};

&atcphy3 {
status = "okay";

Expand Down Expand Up @@ -44,15 +56,28 @@
<&atcphy1 PHY_TYPE_DP>, <&atcphy2 PHY_TYPE_DP>;
phy-names = "dp-phy", "typec0", "typec1", "typec2";
mux-controls = <&atcphy3_xbar 0>, <&atcphy0_xbar 0>,
<&atcphy1_xbar 0>, <&atcphy2_xbar 0>;
mux-control-names = "dp-xbar", "typec0", "typec1", "typec2";
<&atcphy1_xbar 0>, <&atcphy2_xbar 0>,
<&atcphy0_xbar 1>, <&atcphy0_xbar 2>,
<&atcphy1_xbar 1>, <&atcphy1_xbar 2>,
<&atcphy2_xbar 1>, <&atcphy2_xbar 2>;
mux-control-names = "dp-xbar", "typec0", "typec1", "typec2",
"typec0-dpin0", "typec0-dpin1",
"typec1-dpin0", "typec1-dpin1",
"typec2-dpin0", "typec2-dpin1";
mux-index = <0>;
apple,dptx-phy = <3>;

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
dcpext_audio: endpoint {
remote-endpoint = <&dpaudio1_dcpext>;
};
};

port@1 {
reg = <1>;
dcpext_dpout: endpoint {
Expand All @@ -62,6 +87,33 @@
};
};

/* DPA1 has no AP-side registers, so it is not a child of the SoC bus. */
/ {
dpaudio1: audio-controller-1 {
compatible = "apple,t6030-dpaudio", "apple,dpaudio";
dmas = <&sio 0x66>;
dma-names = "tx";
power-domains = <&ps_dpa1>;

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
dpaudio1_dcpext: endpoint {
remote-endpoint = <&dcpext_audio>;
};
};
};
};
};

/* The SIO's mailbox; the boot loader enables the SIO with its firmware. */
&sio_mbox {
status = "okay";
};

/*
* ATC3 has no USB consumer that would hold its common block on, so across
* system sleep it would power down and lose the HDMI PHY state.
Expand Down
5 changes: 2 additions & 3 deletions arch/arm64/configs/asahi.config
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ CONFIG_RTC_DRV_MACSMC=m
CONFIG_RTC_DRV_APPLE_PMU=m
CONFIG_APPLE_ADMAC=m
CONFIG_APPLE_SIO=m
CONFIG_APPLE_SIO_T6030=y
CONFIG_MFD_MACSMC=m
CONFIG_COMMON_CLK_APPLE_NCO=m
CONFIG_APPLE_DART=y
Expand Down Expand Up @@ -119,9 +120,7 @@ CONFIG_NVMEM_APPLE_EFUSES=m
CONFIG_NVMEM_APPLE_SPMI=m
CONFIG_MUX_APPLE_DPXBAR=m
CONFIG_TYPEC_TPS6598X=m
CONFIG_TYPEC_SN201202X=m
CONFIG_RESET_APPLE_CIO=m
CONFIG_USB4_APPLE_SOC=m
CONFIG_RESET_APPLE_CIO=y
CONFIG_INFINIBAND=m
CONFIG_INFINIBAND_USER_ACCESS=m
CONFIG_INFINIBAND_USER_MAD=m
Expand Down
3 changes: 3 additions & 0 deletions arch/arm64/mm/flush.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
#include <asm/cache.h>
#include <asm/tlbflush.h>

/* Explicit publication of retained coprocessor page tables before ASC start (asahi G15). */
EXPORT_SYMBOL_GPL(dcache_clean_poc);

void sync_icache_aliases(unsigned long start, unsigned long end)
{
if (icache_is_aliasing()) {
Expand Down
Loading