Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
60d2415
ci: mask the pattern list of unmatched-property dt-schema messages
fbalazsy Nov 14, 2026
c8666fb
dt-bindings: apple: T6040 sleep controller, ProRes, PCIe, ATC PHY, DP…
fbalazsy Nov 10, 2026
12f467f
arm64: dts: apple: t6040: J616s sleep controller, ProRes, JPEG and DP…
fbalazsy Nov 10, 2026
d7c68ac
arm64: dts: apple: t6040: give each USB4 router its Type-C PHY
fbalazsy Nov 10, 2026
ff6a5d2
arm64: dts: apple: put every AP pin back after a T6040 S2R
fbalazsy Nov 10, 2026
3e32012
arm64: dts: apple: name the T8140 driver instead of its pull request
RyanTheTide Nov 12, 2026
152b2c0
arm64: dts: apple: enable the sleep controller per board
fbalazsy Nov 12, 2026
dd04dd7
dt-bindings: power: apple,t6040-sleep: describe the node and add appl…
fbalazsy Nov 12, 2026
6e41315
MAINTAINERS: describe the T6040 part as it is
fbalazsy Nov 12, 2026
8842a1f
dt-bindings: display: Add Apple T6041 display power words
fbalazsy Nov 12, 2026
8f54ea6
arm64: dts: apple: t6040: describe what the boot loader adds
fbalazsy Nov 12, 2026
9257f40
arm64: dts: apple: t6040: give the sleep controller its unit address
fbalazsy Nov 12, 2026
7f78dbc
dt-bindings: soc: apple: move the T6040 sleep controller next to T8140
fbalazsy Nov 12, 2026
05bc00c
dt-bindings: chosen: document aurora,s2r-mailbox
fbalazsy Nov 12, 2026
9953429
dt-bindings: chosen: document the aura hibernation layout
fbalazsy Nov 12, 2026
c4404fc
dt-bindings: soc: apple: t6040-sleep: require the register blocks
fbalazsy Nov 13, 2026
eedb5c2
dt-bindings: soc: apple: t6040-sleep: size the power word pages
fbalazsy Nov 13, 2026
5983f84
arm64: dts: apple: t6040: size the sleep controller's power word pages
fbalazsy Nov 13, 2026
9caa407
dt-bindings: soc: apple: describe the sleep controllers in one schema
fbalazsy Nov 13, 2026
d05b2d3
arm64: dts: apple: t6040: name the sleep controller's blocks as the T…
fbalazsy Nov 13, 2026
fae0858
dt-bindings: thunderbolt: apple: name the router's Type-C PHY in phys
fbalazsy Nov 13, 2026
a37cf5d
arm64: dts: apple: t6040: give the USB4 routers their PHY in phys
fbalazsy Nov 13, 2026
c44d77b
PM: hibernate: tell drivers a restored image from a failed one, and a…
fbalazsy Nov 10, 2026
95ba8c3
arm64: hibernate and spin-table CPUs at EL2 on M4 Pro (T6040)
fbalazsy Nov 10, 2026
11e47b6
soc: apple: hibernation under aura's fixed layout and RTKit coprocess…
fbalazsy Nov 10, 2026
240d753
KVM: arm64: keep the guests' counters when the physical counter start…
fbalazsy Nov 12, 2026
9db5869
arm64: share the sleep registry so one kernel builds both controllers
RyanTheTide Nov 12, 2026
a6f9c1d
PM: hibernate: mark a restored kernel without testing the error
fbalazsy Nov 12, 2026
b135dad
arm64: hibernate: put the boot layout comment above its function
fbalazsy Nov 12, 2026
2e3101d
arm64: smp_spin_table: say what still needs the platform power ops
fbalazsy Nov 12, 2026
e9c9a50
soc: apple: rtkit-helper: say why a self-started session keeps running
fbalazsy Nov 12, 2026
6c51807
arm64: hibernate: compute the boot layout once on restore
fbalazsy Nov 12, 2026
5236e29
arm64: smp_spin_table: name the pen's physical address in a local
fbalazsy Nov 12, 2026
22ce23a
soc: apple: rtkit-helper: report restore failures with dev_err()
fbalazsy Nov 12, 2026
2e64582
soc: apple: rtkit-helper: build hibernation callbacks unconditionally
fbalazsy Nov 12, 2026
f11a999
soc: apple: rtkit-helper: adopt by one buffer rule at probe and restore
fbalazsy Nov 12, 2026
50547e3
arm64: errata: drop the apple_pmuv3_traps boot parameter
fbalazsy Nov 12, 2026
500a847
soc: apple: rtkit-helper: test the coprocessor's run bit in one place
fbalazsy Nov 12, 2026
9fe3970
soc: apple: rtkit: add an AP idle notice for use with interrupts off
fbalazsy Nov 13, 2026
f6e50ad
soc: apple: aura-hibernate: probe again through the aura reprobe helper
fbalazsy Nov 13, 2026
48b0af4
soc: apple: rtkit: report an idle that kept the firmware's memory apa…
fbalazsy Nov 13, 2026
06cd2c4
arm64: build every sleep controller and drop two symbols
fbalazsy Nov 13, 2026
5b71214
PM: hibernate: tell drivers that an image is being loaded
fbalazsy Nov 13, 2026
db30c72
PM: hibernate: let the architecture clean the pages of a loaded image
fbalazsy Nov 13, 2026
02db30e
PM: hibernate: let the platform refuse hibernation through a hook
fbalazsy Nov 13, 2026
71d768d
arm64: hibernate: take platform facts from a hook, not from aura
fbalazsy Nov 13, 2026
e8f7126
PM: hibernate: tell the restored kernel whether another boot loaded it
fbalazsy Nov 13, 2026
93b3ce4
PM: hibernate: recover devices when no image was created
fbalazsy Nov 13, 2026
cf056cc
soc: apple: rtkit: drop the restore callbacks' checks for an abandone…
fbalazsy Nov 13, 2026
af65ee2
rust: tell drivers a restored image from a failed one, and allow a pl…
fbalazsy Nov 10, 2026
84ed8d7
soc: apple: T6040 suspend-to-RAM controller
fbalazsy Nov 10, 2026
ddb3ce1
soc: apple, tools: asahi: PMP, AOP, SEP, store and DockChannel across…
fbalazsy Nov 10, 2026
042a370
irqchip, pmdomain, spmi, rtc, pinctrl, mfd, cpufreq: T6040 state acro…
fbalazsy Nov 10, 2026
8656e86
dmaengine: apple-sio: restart the SIO after hibernation
fbalazsy Nov 10, 2026
827c54c
soc: apple: sep: leave the sleep request for the T6040 sleep's last s…
fbalazsy Nov 10, 2026
ae57b7a
soc: apple: t6040-sleep: tell drivers when the commit stops the copro…
fbalazsy Nov 10, 2026
55a3c63
soc: apple: t6040-sleep: drop the unused power word of a first-stop c…
fbalazsy Nov 10, 2026
ad93de6
pinctrl: apple: put every AP pin back after a T6040 S2R
fbalazsy Nov 10, 2026
23a172f
pinctrl: apple: put the block's global word back and write pins in st…
fbalazsy Nov 10, 2026
9ccadcb
soc: apple: t6040-sleep: raise the SIO peripheral words again that we…
fbalazsy Nov 11, 2026
58a32cf
soc: apple: t6040-sleep: set the display pipes' PMC interface enables…
fbalazsy Nov 11, 2026
dcd39da
soc: apple: t6040-sleep: clear ANS's fabric bridge enable before the …
fbalazsy Nov 11, 2026
dd044b4
soc: apple: t6040-sleep: leave the bring-up marks off by default
fbalazsy Nov 11, 2026
fa450de
soc: apple: t6040-sleep: run the S2R entry on every ATC port that sti…
fbalazsy Nov 11, 2026
046db4a
mfd: macsmc: end the SMC's silent running once a wake is a full one
fbalazsy Nov 11, 2026
135fefc
soc: apple: t6040-sleep: drop the list of steps that had not run yet
fbalazsy Nov 12, 2026
8955929
soc: apple: t6040-sleep: leave suspend-to-idle alone
RyanTheTide Nov 12, 2026
cf29446
soc: apple: share the sleep registry so one kernel builds both contro…
RyanTheTide Nov 12, 2026
428de21
soc: apple: t6040-sleep: depend on a built-in SMC driver
RyanTheTide Nov 12, 2026
a7ce91c
soc: apple: t6040-sleep: name the T8140 driver instead of its pull re…
RyanTheTide Nov 12, 2026
ccffb0f
tools: asahi: sep-suspend-errors: take the enclave registration from …
fbalazsy Nov 12, 2026
ef59ae7
soc: apple: t6040-sleep: remove the experiments that are off by default
fbalazsy Nov 12, 2026
92c2a2a
soc: apple: t6040-sleep: make the default-on steps unconditional
fbalazsy Nov 12, 2026
b936dc0
soc: apple: t6040-sleep: fold the bit-mask parameters to the tested v…
fbalazsy Nov 12, 2026
a341ee6
soc: apple: t6040-sleep: remove the progress marks, records, probes a…
fbalazsy Nov 12, 2026
f78c770
soc: apple: t6040-sleep: keep a successful sleep and wake quiet
fbalazsy Nov 12, 2026
9040c20
soc: apple: t6040-sleep: describe the driver as it is
fbalazsy Nov 12, 2026
5b25b86
pinctrl: apple: put the pins back after S2R without switches
fbalazsy Nov 12, 2026
8d8b47f
soc: apple: sleep: drop the progress mark hook
fbalazsy Nov 12, 2026
84b6ebd
soc: apple: t6040-sleep: drop the dry run that never reached the comm…
fbalazsy Nov 12, 2026
4d8cea7
soc: apple: t6040-sleep: two comments that still pointed away from th…
fbalazsy Nov 12, 2026
e42c8b3
soc: apple: sleep: let a SoC bring its own sequences
fbalazsy Nov 12, 2026
005a94f
soc: apple: sleep: open the registry to a SoC's part
fbalazsy Nov 12, 2026
cd2f1c0
soc: apple: sleep: let a part decline the lid and the USB wake ports
fbalazsy Nov 12, 2026
7985932
arm64: dts: apple: t6040: enable the sleep controller per board
fbalazsy Nov 12, 2026
c79f1bc
soc: apple: sleep: take the T6040 controller in as a part
fbalazsy Nov 12, 2026
52563db
soc: apple: sleep: t6040: use the shared mailbox layout
fbalazsy Nov 12, 2026
d62a1dc
soc: apple: sleep: share the register definitions that are the same
fbalazsy Nov 12, 2026
a7a6b5f
soc: apple: sleep: write the PMU from one function
fbalazsy Nov 12, 2026
9ea9b5a
soc: apple: sleep: map the storage PCIe windows with one pair of helpers
fbalazsy Nov 12, 2026
8ba3163
soc: apple: sleep: describe the T6040 part as it is
fbalazsy Nov 12, 2026
0d10d57
soc: apple: say what the wake leaves undone
fbalazsy Nov 12, 2026
fc292b2
soc: apple: sleep: one copy of the power word raise, the tunable writ…
fbalazsy Nov 12, 2026
d1501d0
soc: apple: sleep: t6040: name the T8132 stub instead of its pull req…
fbalazsy Nov 12, 2026
3ba6867
soc: apple: sleep: t6040: map the S2R-lo counter once, at probe
fbalazsy Nov 12, 2026
926fd87
soc: apple: sleep: t6040: log the mailbox the blocker count uses
fbalazsy Nov 12, 2026
1a08782
soc: apple: sleep: t6040: drop the tests .valid has already made
fbalazsy Nov 12, 2026
2493207
soc: apple: sleep: t6040: drop state nobody reads and wrappers that a…
fbalazsy Nov 12, 2026
109867e
soc: apple: sleep: t6040: drop the PTD and GAPF windows from the pref…
fbalazsy Nov 12, 2026
56ca733
soc: apple: sleep: one name per power word bit and per GP port register
fbalazsy Nov 12, 2026
9f71b06
soc: apple: sleep: t6040: name the constants and masks
fbalazsy Nov 12, 2026
55882b9
soc: apple: sleep: t6040: group the definitions and attach the comments
fbalazsy Nov 12, 2026
9f3679b
soc: apple: sleep: t6040: call the state s and the seq_file m
fbalazsy Nov 12, 2026
b5a4342
soc: apple: sleep: t6040: one prefix rule for the step functions
fbalazsy Nov 12, 2026
9994c5d
soc: apple: sleep: t6040: print every message through dev_*()
fbalazsy Nov 12, 2026
49f64ba
soc: apple: sleep: t6040: correct the comments that disagree with the…
fbalazsy Nov 12, 2026
5925ba0
soc: apple: sleep: t6040: say what the hardware expects
fbalazsy Nov 12, 2026
f96e888
soc: apple: sleep: t6040: follow the coding style
fbalazsy Nov 12, 2026
824382d
soc: apple: sleep: t6040: keep the .begin state in the driver's state
fbalazsy Nov 12, 2026
d26899e
mfd: macsmc: say what the SMC needs in the hibernation and WKTP comments
fbalazsy Nov 12, 2026
52e740f
mfd: macsmc: drop a duplicate include and a never-NULL drvdata test
fbalazsy Nov 12, 2026
2f8d83f
mfd: macsmc: report restore failures with dev_err()
fbalazsy Nov 12, 2026
613cb63
mfd: macsmc: build the hibernation callbacks with pm_sleep_ptr()
fbalazsy Nov 12, 2026
2313aeb
power: reset: macsmc-reboot: log power-off and reboot at usual levels
fbalazsy Nov 12, 2026
70b3c01
irqchip/apple-aic: drop two dead conditions around the sleep syscore
fbalazsy Nov 12, 2026
40b3695
pinctrl: apple: describe the resume order by what the pins need
fbalazsy Nov 12, 2026
9719ac0
spmi: apple: say why the masks are rewritten in the early restore
fbalazsy Nov 12, 2026
e57c498
pmdomain: apple: pmgr-pwrstate: set restore_noirq with pm_sleep_ptr()
fbalazsy Nov 12, 2026
aa404cd
dmaengine: apple-sio: report restart failures with dev_err()
fbalazsy Nov 12, 2026
c17e76f
pinctrl: apple: report the per-sleep pin restore at debug level
fbalazsy Nov 12, 2026
652cfe2
spmi: apple: report the early mask rewrite at debug level
fbalazsy Nov 12, 2026
c9afea3
pinctrl: apple: drop the restored-pin report and never-true tests
fbalazsy Nov 12, 2026
4368700
spmi: apple: set the restore callbacks with pm_sleep_ptr()
fbalazsy Nov 12, 2026
6c5a94a
soc: apple: Kconfig: tidy the T6040 sleep and aura hibernation texts
fbalazsy Nov 12, 2026
adb570c
soc: apple: sep: hold no sleep for a restore the notifier refuses
fbalazsy Nov 12, 2026
3678af9
rtc: apple-pmu: have the alarm set again after a resume from disk
fbalazsy Nov 12, 2026
9eabdf5
pinctrl: apple: put back every pin the driver set after a resume from…
fbalazsy Nov 12, 2026
993255e
spmi: apple: drop replies left by firmware at a firmware-driven resume
AxxzyWasTaken Nov 12, 2026
1d474d8
spmi: apple: rewrite the masks once after a resume from disk
fbalazsy Nov 12, 2026
ecea7d3
mfd: macsmc: write WKTP only to an SMC known to take it
fbalazsy Nov 12, 2026
ec3e925
pinctrl: apple: write a pin back in steps only on T6041
fbalazsy Nov 12, 2026
0105206
mfd: macsmc: make the WKTP values constants
fbalazsy Nov 12, 2026
34c02e1
irqchip/apple-aic: mark the T6041 AIC as lost in a firmware suspend
fbalazsy Nov 12, 2026
03837bb
irqchip/apple-aic: resync the masks only after a resume from disk
fbalazsy Nov 12, 2026
3f9a32b
irqchip/apple-aic: resync the masks after a resume from disk on any SoC
fbalazsy Nov 12, 2026
66a2c2d
mfd: macsmc: share the SMC handshake between probe and restore
fbalazsy Nov 12, 2026
6dfa5af
spmi: apple: share the interrupt reset between probe and restore
fbalazsy Nov 12, 2026
58fe936
mfd: macsmc: expect the lid read in the sleep order test
fbalazsy Nov 12, 2026
316b800
mfd: macsmc: leave the SMC's sleep commit out of a dry run
fbalazsy Nov 12, 2026
f487ada
mfd: macsmc: say when a sleep is refused after the SMC's commit
fbalazsy Nov 12, 2026
1995d17
mfd: macsmc: warn the SMC of a sleep only where it is committed
fbalazsy Nov 13, 2026
56cf925
mfd: macsmc: send the sleep commit from the sleep controller's last stop
fbalazsy Nov 13, 2026
70e4cd3
dmaengine: apple-sio: stop the T6041 firmware at the sleep's commit
fbalazsy Nov 13, 2026
3f8f167
mfd: macsmc: leave out the rest of the last stop for an SMC that does…
fbalazsy Nov 13, 2026
51eafe8
soc: apple: sleep: order the first stops explicitly, drop an unused e…
fbalazsy Nov 13, 2026
ae28dfc
soc: apple: sep: probe again through the aura reprobe helper
fbalazsy Nov 13, 2026
db76911
soc: apple: sleep-t6040: decide the refusal before the setup writes
fbalazsy Nov 13, 2026
9e87510
soc: apple: sleep-t6040: require the register blocks at probe
fbalazsy Nov 13, 2026
38ceef9
soc: apple: sleep-t6040: map each power word page once
fbalazsy Nov 13, 2026
7e81a56
soc: apple: sleep: keep the registry's walkers with the registry
fbalazsy Nov 13, 2026
5066af2
soc: apple: sleep: keep the registry's answers in the registry
fbalazsy Nov 13, 2026
f750948
soc: apple: sleep: keep the wake information with the registry
fbalazsy Nov 13, 2026
c60ff39
soc: apple: sleep: build every sleep controller and drop two symbols
fbalazsy Nov 13, 2026
9af13df
soc: apple: sleep: leave the SoC with a part of its own out of the la…
fbalazsy Nov 13, 2026
2ff613c
soc: apple: sleep-t6040: look the register blocks up by the shared names
fbalazsy Nov 13, 2026
11aa7cc
soc: apple: sleep-t6040: share the test for the GP host's system domain
fbalazsy Nov 13, 2026
8c022da
mfd: macsmc: tell drivers that an image is being loaded
fbalazsy Nov 13, 2026
56f3993
soc: apple: let the platform refuse hibernation through a hook
fbalazsy Nov 13, 2026
beeff17
soc: apple: sep: learn a cold resume from the PM core, not from the PMP
fbalazsy Nov 13, 2026
cd45353
soc: apple: drop the restore callbacks' checks for an abandoned hiber…
fbalazsy Nov 13, 2026
db9d742
mfd: macsmc: own the pmVC request for the VDD_CIO rail
fbalazsy Nov 13, 2026
7fbe928
pmdomain: apple: pmc: put the voter enables back after a resume from …
fbalazsy Nov 14, 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
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ properties:
reg:
maxItems: 1

nonposted-mmio: true

"#address-cells":
const: 1

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

title: Memory layout a boot object keeps the same on every boot

maintainers:
- František Balázsy <frantisekbalazsy@gmail.com>

description: |
A hibernation image puts every saved page back into the frame it was taken
from, so the boot that resumes an image has to give the kernel the same RAM,
and keep the same ranges from it, as the boot that wrote the image. On Apple
silicon the boot firmware loads the boot object at an address that changes
from boot to boot, and what the boot object keeps alive after the hand-off
moves with it. A boot object that instead keeps everything from the start of
RAM up to a fixed end from the kernel, at the same addresses on every boot,
says so with aura,hibernate-layout. Without it the kernel neither hibernates
nor resumes.

The boot firmware still places some firmware segments anew on every boot,
inside that range, and a kernel restored from an image holds the device tree
of the boot that wrote the image. The boot object therefore puts the device
tree of every boot at one address inside the range, given in
aura,hibernate-dt. The image does not contain that memory, so the restored
kernel reads there what the resuming boot placed.

The properties are named after aura, the boot loader that defined them and
whose released versions publish them.

select:
properties:
$nodename:
const: chosen
required:
- $nodename

properties:
$nodename:
const: chosen

aura,hibernate-layout:
$ref: /schemas/types.yaml#/definitions/uint64-array
description:
The range of RAM that is kept from the kernel and laid out the same on
every boot.
items:
- description: Physical address of the start of RAM.
- description: Physical address of the end of the range, exclusive.

aura,hibernate-dt:
$ref: /schemas/types.yaml#/definitions/uint64
description:
Physical address, inside the range of aura,hibernate-layout, of the
device tree the kernel is started with. The kernel reads at most 2 MiB
there.

dependencies:
aura,hibernate-dt: [ 'aura,hibernate-layout' ]

additionalProperties: true
...
48 changes: 48 additions & 0 deletions Documentation/devicetree/bindings/chosen/aurora,s2r-mailbox.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/chosen/aurora,s2r-mailbox.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Return path of a boot object that owns the CPU reset vectors

maintainers:
- František Balázsy <frantisekbalazsy@gmail.com>

description: |
On Apple silicon the boot firmware locks every CPU's reset vector to the
boot object it started. A CPU that comes back from a power-off, and every
CPU after a suspend to RAM, therefore restarts in the boot object, not in the
kernel. A boot object that sends such a CPU back to the kernel says so with
this property: a secondary CPU returns through its spin-table release
address, and the boot CPU of a resume jumps, at EL2 with the MMU off, to the
address the kernel left in the mailbox. Its presence also tells the kernel
that its spin-table CPUs may leave the kernel and come back.

The mailbox is four 64-bit words in the CPU's byte order:
0: the magic value 0x3152325341525541 ("AURAS2R1"), written by the boot
object before the kernel starts
1: the MPIDR of the only CPU that may take the resume address
2: the resume address, set by the kernel before it suspends and cleared
by the boot object when a CPU takes it
3: how many times the resume address was taken

select:
properties:
$nodename:
const: chosen
required:
- $nodename

properties:
$nodename:
const: chosen

aurora,s2r-mailbox:
$ref: /schemas/types.yaml#/definitions/uint64
description:
Physical address of the mailbox, inside the boot object's own memory,
which the kernel does not use.

additionalProperties: true
...
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/apple,t6041-display-power.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple T6040 display power words

maintainers:
- František Balázsy <frantisekbalazsy@gmail.com>

description: |
The words a T6040 (M4 Pro) display coprocessor's driver writes to lower
its power domains after it stops the firmware for a suspend-to-RAM and to
raise them again on the wake. A display coprocessor names this node in its
apple,display-power property. The words belong to the power manager and
the display block, so no driver binds it.

The internal display coprocessor has its power-state words in the SoC's
east power manager block, the external ones in the west block, each at its
own offsets; the display PMC word that counts the powered coprocessors is
shared by all three. The boot loader publishes one node for the internal
coprocessor and one that both external coprocessors name.

properties:
compatible:
const: apple,t6041-display-power

reg:
items:
- description: a register window, named by reg-names
- description: a register window, named by reg-names

reg-names:
description:
pmc-dcp is the display PMC word that counts the powered coprocessors,
ps the power manager block that holds the coprocessors' power-state
words. The two may come in either order.
oneOf:
- items:
- const: pmc-dcp
- const: ps
- items:
- const: ps
- const: pmc-dcp

required:
- compatible
- reg
- reg-names

additionalProperties: false

examples:
- |
soc {
#address-cells = <2>;
#size-cells = <2>;

display-power@5048a9c14 {
compatible = "apple,t6041-display-power";
reg = <0x5 0x048a9c14 0x0 0x8>,
<0x5 0x02280000 0x0 0x14000>;
reg-names = "pmc-dcp", "ps";
};

display-power@502800000 {
compatible = "apple,t6041-display-power";
reg = <0x5 0x02800000 0x0 0x14000>,
<0x5 0x048a9c14 0x0 0x8>;
reg-names = "ps", "pmc-dcp";
};
};
6 changes: 5 additions & 1 deletion Documentation/devicetree/bindings/media/apple,prores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,12 @@ allOf:
maxItems: 1
iommus:
maxItems: 1
resets:
description:
The shared codec reset. It also clears the
translations of the engine's DART, so a board may
leave it out and have a hung engine refused instead.
required:
- resets
- reg-names
- if:
properties:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/pci/apple,pcie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ allOf:
properties:
reg:
minItems: 8
maxItems: 8
maxItems: 9
interrupts:
minItems: 6
maxItems: 6
Expand Down
28 changes: 28 additions & 0 deletions Documentation/devicetree/bindings/phy/apple,t6040-atcphy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,29 @@ properties:
$ref: "#/$defs/apple,tunable"
description: USB2 host tunables, applied to the bank0 region.

apple,tunable-cio-lane0:
$ref: "#/$defs/apple,tunable"
description: >
Lane 0 receiver defaults for CIO (USB4/Thunderbolt) mode, applied to the
core region when the port enters USB4 or Thunderbolt. CIO mode is offered
only when both lane tables are present.

apple,tunable-cio-lane1:
$ref: "#/$defs/apple,tunable"
description: Lane 1 receiver defaults for CIO mode, applied to the core region.

apple,tunable-cio-uc-regs:
$ref: "#/$defs/apple,tunable"
description: Optional PHY microcontroller defaults for CIO mode, core region.

apple,tunable-cio-lane0-eq:
$ref: "#/$defs/apple,tunable"
description: Optional lane 0 receiver equalization for CIO mode, core region.

apple,tunable-cio-lane1-eq:
$ref: "#/$defs/apple,tunable"
description: Optional lane 1 receiver equalization for CIO mode, core region.

required:
- compatible
- reg
Expand Down Expand Up @@ -199,6 +222,11 @@ allOf:
mode-switch: false
port: false
ports: false
apple,tunable-cio-lane0: false
apple,tunable-cio-lane1: false
apple,tunable-cio-uc-regs: false
apple,tunable-cio-lane0-eq: false
apple,tunable-cio-lane1-eq: false

additionalProperties: false

Expand Down
8 changes: 8 additions & 0 deletions Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32
description: The number of pins in this GPIO controller.

apple,resume-restore-all:
type: boolean
description:
After a sleep that powers the block down, every pin's configuration is
written back, not only the pins a driver has claimed, as the vendor
firmware does for this block. The pins in gpio-reserved-ranges are left
as the wake found them.

gpio-reserved-ranges: true

interrupts:
Expand Down
Loading
Loading