Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microphones the LEAP way #151

Draft
wants to merge 532 commits into
base: asahi-wip
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
532 commits
Select commit Hold shift + click to select a range
a8a5aa7
drm/apple: Drop unsupported DRM_FORMAT_ARGB2101010
jannau Mar 23, 2023
bec9b9c
dcp: Allow unused trampolines
marcan Apr 11, 2023
4cd47de
dcp: Add get_tiling_state
marcan Apr 11, 2023
210457a
dcp: 42-bit DMA masks
marcan Apr 11, 2023
613ee7e
dcp: T602X bwreq support
marcan Apr 11, 2023
9a925bc
dcp: Warn if DMA mapping fails
marcan Apr 11, 2023
ad6c983
arm64: rust: Enable Rust support for AArch64
ojeda Jan 25, 2023
ead1a45
arm64: rust: Enable PAC support for Rust.
JamieCunliffe Jan 25, 2023
4958626
arm64: rust: Disable neon and fp target features.
JamieCunliffe Jan 25, 2023
0e74f05
rust: sync: impl {Debug,Display} for {Unique,}Arc
fbq Feb 7, 2023
8cd6e03
sample: rust: print: Add sampe code for Arc printing
fbq Feb 7, 2023
f806499
soc: apple: rtkit: Fix buffer address field width
asahilina Aug 17, 2022
e7074a3
rust: time: New module for timekeeping functions
asahilina Oct 19, 2022
1f3243e
rust: macros: Make expect_punct() return the Punct directly
asahilina Jan 26, 2023
7d24b62
rust: concat_idents: Allow :: paths in first argument
asahilina Nov 4, 2022
60abc1a
rust: macros: Allow specifying multiple module aliases
asahilina Dec 5, 2022
8256c64
rust: ioctl: Add ioctl number manipulation functions
asahilina Sep 24, 2022
eaaa6b6
rust: sync: arc: implement Arc<dyn Any + Send + Sync>::downcast()
asahilina Feb 15, 2023
abe21fe
rust: Enable feature new_uninit for the kernel crate
asahilina Feb 11, 2023
00c0d4b
rust: sync: arc: Add UniqueArc<MaybeUninit<T>::assume_init()
asahilina Nov 11, 2022
350e759
rust: error: Add Error::to_ptr()
asahilina Sep 7, 2022
f279115
rust: error: Add Error::from_kernel_errno()
asahilina Feb 5, 2023
4cb6485
rust: error: Add to_result() helper
asahilina Feb 5, 2023
4bbbf79
rust: error: Add a helper to convert a C ERR_PTR to a `Result`
May 13, 2021
1214c47
rust: error: Add from_kernel_result!() macro
asahilina Feb 16, 2023
4f1046a
rust: Import upstream `alloc::vec::set_len_on_drop` module
asahilina Feb 16, 2023
e9eb039
rust: Import upstream `alloc::vec::spec_extend` module
asahilina Feb 16, 2023
e0f409b
rust: alloc: vec: Add some try_* methods we need
ojeda Feb 16, 2023
76306a4
rust: xarray: Add an abstraction for XArray
asahilina Jan 11, 2023
7b883dc
rust: Add a Sealed trait
asahilina Feb 5, 2023
3462168
rust: device: Add an abstraction for devices
wedsonaf Nov 18, 2021
9d5866b
rust: io_pgtable: Add io_pgtable abstraction
asahilina Sep 7, 2022
5566587
rust: soc: apple: rtkit: Add Apple RTKit abstraction
asahilina Aug 17, 2022
c17e249
rust: Add `container_of` and `offset_of` macros
wedsonaf Apr 1, 2021
edebe11
rust: sync: Add LockClassKey
asahilina Feb 11, 2023
53183e6
*RFL import: kernel::types::Bool
asahilina Feb 11, 2023
ced88bb
*RFL import: sync::{NeedsLockClass, init_with_lockdep}
asahilina Feb 11, 2023
9c5a45b
*RFL import: kernel::sync::guard
asahilina Feb 11, 2023
444a549
*RFL import: kernel::sync::revocable
asahilina Feb 11, 2023
784e1de
*RFL import: kernel::sync::mutex
asahilina Feb 11, 2023
c0fed28
*RFL import: kernel::sync::condvar
asahilina Feb 11, 2023
e86d577
*RFL import: kernel::io_buffer
asahilina Feb 16, 2023
787a1c3
*RFL import: kernel::user_ptr
asahilina Feb 16, 2023
c1ece00
MISSING SIGNOFFS: rust: Add PAGE_SIZE constant to kernel crate
asahilina Feb 16, 2023
11e2cac
rust: Enable const_mut_refs feature for the kernel crate
asahilina Feb 16, 2023
ddc72d4
*RFL import: kernel::module_param
asahilina Feb 16, 2023
3640bd3
rust: upgrade to Rust 1.66.0
ojeda Dec 24, 2022
057776a
*RFL import: kernel::sync::rcu
asahilina Feb 16, 2023
bbb8622
*RFL import: kernel::revocable
asahilina Feb 16, 2023
cb4066f
rust: Add `name` argument to Module::init()
asahilina Feb 16, 2023
2d6ed4c
*RFL import: kernel::driver
asahilina Feb 16, 2023
f4fcaff
*RFL import: The rest of kernel::device (minus clk stuff)
asahilina Feb 16, 2023
9eeabc2
*RFL import: kernel::io_mem
asahilina Feb 16, 2023
f9c3089
*RFL import: kernel::of
asahilina Feb 16, 2023
8d3466e
*RFL import: kernel::platform
asahilina Feb 16, 2023
3a49728
*RFL import: kernel::delay
asahilina Feb 16, 2023
662203d
rust: of: Add OF node abstraction
asahilina Oct 21, 2022
014d102
rust: driver,of: Support passing ID tables to modpost for alias gener…
asahilina Dec 8, 2022
97febe1
rust: platform: add `ioremap_resource` and `get_resource` methods
Feb 8, 2022
b2a2b9a
rust: kernel: platform: Add Device.set_dma_masks()
asahilina Sep 7, 2022
5123724
rust: Add ioremap_np support to io_mem & friends
asahilina Sep 21, 2022
a8d7087
*RFL import: macros::module params functionality & deps
asahilina Feb 16, 2023
4470d43
*RFL import: Rest of kernel::error::code::*
asahilina Feb 16, 2023
f20fe58
rust: bindings: Add resource_size wrapper
asahilina Sep 7, 2022
a0e4a02
rust: Allow feature new_uninit
asahilina Sep 8, 2022
21b844b
rust: Allow feature allocator_api
asahilina Feb 16, 2023
ca719f8
*RFL import: kernel::KParamGuard & friends
asahilina Feb 16, 2023
7e64cdf
*RFL import: kernel::error::Error Debug impl & dependencies
asahilina Feb 16, 2023
965cc6c
*RFL import: kernel::sync::smutex
asahilina Feb 16, 2023
724ca15
iommu/io-pgtable: Add Apple UAT variant format
asahilina Aug 17, 2022
cdba679
rust: io_pgtable: Add the Apple UAT format abstraction
asahilina Feb 16, 2023
47e79ce
rust: drm: ioctl: Add DRM ioctl abstraction
asahilina Feb 5, 2023
94e5e67
rust: drm: Add Device and Driver abstractions
asahilina Feb 5, 2023
5efb490
rust: drm: file: Add File abstraction
asahilina Feb 5, 2023
c19e410
rust: drm: gem: Add GEM object abstraction
asahilina Feb 5, 2023
07d3944
drm/gem-shmem: Export VM ops functions
asahilina Sep 7, 2022
1fd401d
rust: drm: gem: shmem: Add DRM shmem helper abstraction
asahilina Feb 5, 2023
32a91b8
rust: drm: mm: Add DRM MM Range Allocator abstraction
asahilina Feb 11, 2023
1a8ba65
rust: dma_fence: Add DMA Fence abstraction
asahilina Feb 11, 2023
b2d80cc
rust: drm: syncobj: Add DRM Sync Object abstraction
asahilina Feb 11, 2023
857b41f
drm/sched: Add can_run_job callback
asahilina Feb 11, 2023
708449f
rust: drm: sched: Add GPU scheduler abstraction
asahilina Feb 11, 2023
0924233
drm/gem: Add a flag to control whether objects can be exported
asahilina Feb 10, 2023
7bbc23a
rust: drm: gem: Add set_exportable() method
asahilina Feb 11, 2023
483c627
drm/asahi: Add the Asahi driver UAPI
asahilina Feb 16, 2023
4a3696d
rust: bindings: Bind the Asahi DRM UAPI
asahilina Feb 16, 2023
48eee9e
rust: macros: Add versions macro
asahilina Feb 16, 2023
c98a620
drm/asahi: Add the Asahi driver for Apple AGX GPUs
asahilina Feb 16, 2023
1f74136
drm/asahi: queue: Add more debugging IDs
asahilina Mar 1, 2023
8758b21
drm/asahi: render: Always flush stamps on both vertex & frag
asahilina Mar 1, 2023
239276f
rust: Fix bindgen on arm64
marcan Mar 5, 2023
8e4a3c7
rust: helpers: Fix spinlock helper for various spinlock modes
marcan Mar 5, 2023
21a3554
rust: helpers: Add missing mutex_[un]lock() wrappers
marcan Mar 5, 2023
20ecd01
drm/scheduler: Clean up jobs when the scheduler is torn down.
asahilina Mar 6, 2023
0610388
drm/asahi: Move GPU context drop inside refcount
asahilina Mar 6, 2023
ebf2359
drm/asahi: Promote two fields in vert/frag structs to all versions
asahilina Mar 6, 2023
d91e587
drm/asahi: Remove padding from Vertex commands, move to 13_0B4+
asahilina Mar 6, 2023
21b7c8f
drm/asahi: alloc: Make corruption ranges end-inclusive
asahilina Mar 6, 2023
a04e212
rust: module_param: Tolerate a trailing newline when parsing
asahilina Oct 21, 2022
1467eef
drm/asahi: channel: Increase timeouts, add sleeping mode
asahilina Mar 7, 2023
6fffb91
drm/asahi: Clippy cleanups
asahilina Mar 7, 2023
d4aacad
drm/asahi: Add missing timeline syncobj signaling support
asahilina Mar 7, 2023
3a054ce
drm/asahi: Merge conflict avoidance hack
marcan Mar 11, 2023
bcb1089
drm/asahi: Identify vertex attachment list
asahilina Mar 15, 2023
e189fa4
drm/asahi: Track event sequences properly
asahilina Mar 15, 2023
e99de76
drm/asahi: Fix compute stats size (maybe)
asahilina Mar 15, 2023
c379838
drm/asahi: Identify no_preemption flag
asahilina Mar 15, 2023
01df4fd
drm/asahi: Add a flag to panic (oops) on GPU crashes
asahilina Mar 22, 2023
f91ad4b
drm/asahi: Align GEM object sizes to the UAT page size
asahilina Mar 22, 2023
4f5acd5
drm/asahi: Identify and set barrier_type field
asahilina Mar 15, 2023
d8578d6
cpufreq: apple-soc: Drop setting the PS2 field
marcan Apr 18, 2023
7582f4b
PCI: apple: Skip controller port setup for online links
jannau Apr 20, 2023
06ef11a
dt-bindings: dma: apple,admac: Add t8112-admac compatible
jannau Feb 2, 2023
7896bee
arm64: dts: apple: t8112: Remove always-on from the PMP node
marcan Apr 24, 2023
84da583
arm64: dts: apple: t8112: Add wlan/bt PCIe device nodes
jannau Feb 14, 2023
f72b159
arm64: dts: apple: t8112: Add PMU NVMEM and SMC RTC/reboot nodes
marcan Feb 15, 2022
107c2a6
arm64: dts: apple: t8112-j493: Add spi3 node
jannau Feb 2, 2023
0f6515d
arm64: dts: apple: t8112: Add SMC node to devicetree
marcan Feb 4, 2022
e2662bd
arm64: dts: apple: t8112*: Put in audio nodes
povik Feb 19, 2022
2fa0ea9
arm64: dts: apple: t8112: Add dwc3 nodes
jannau Feb 2, 2023
042842b
arm64: dts: apple: Add backlight node to j413/j493
sithglan Feb 21, 2022
cdf5f1b
arm64: dts: apple: t8112: Add mtp device nodes for j413/j493
jannau Feb 2, 2023
690b532
arm64: dts: apple: t8103: Add dwc3 nodes
marcan Nov 26, 2021
11f350a
arm64: dts: apple: t8103: Add spi3/keyboard nodes
jannau Nov 25, 2021
b9f8e92
arm64: dts: apple: Add PCI power enable GPIOs
marcan Feb 6, 2022
3110839
arm64: dts: apple: Add SMC node to t8103/t6001 devicetrees
marcan Feb 4, 2022
d65eda8
arm64: dts: apple: Add PMU NVMEM and SMC RTC/reboot nodes
marcan Feb 15, 2022
9d49b14
arm64: dts: apple: Mark ATC USB AON domains as always-on
marcan Mar 2, 2022
d76d87a
arm64: dts: apple: Add backlight node to j293/j313
sithglan Feb 21, 2022
c5de5c9
arm64: dts: apple: Keep PCIe power domain on
marcan Mar 17, 2022
9ed48f3
arm64: dts: apple: Add SMC node to t600x devicetrees
marcan Feb 4, 2022
8afd779
arm64: dts: apple: Add PMU NVMEM and SMC RTC/reboot nodes
marcan Feb 15, 2022
6d37df8
arm64: dts: apple: t6000: Add spi1 node
marcan Dec 9, 2021
19ffa1c
arm64: dts: apple: t600x-j314-j316: Add NOR flash node
marcan Dec 9, 2021
0be9954
arm64: dts: apple: t600x: Add spi3 node
jannau Nov 11, 2021
e608cb6
arm64: dts: apple: j31[46]: Add keyboard nodes
jannau Nov 11, 2021
9dc5882
arm64: dts: apple: t600x: Add dwc3 nodes
jannau May 17, 2022
b764817
arm64: dts: apple: Add WiFi module and antenna properties
marcan Dec 21, 2021
77134f6
arm64: dts: apple: Add PCI power enable GPIOs
marcan Feb 6, 2022
e485826
arm64: dts: apple: Add backlight node to j314/j316
marcan Mar 2, 2022
ac3ef01
arm64: dts: apple: t8103: Fix spi4 power domain sort order
marcan Jun 27, 2022
24dda5c
arm64: dts: apple: t600x: Add bluetooth device trees
marcan Jul 11, 2022
035f985
arm64: dts: apple: t8103*: Put in audio nodes
povik Feb 19, 2022
ae17e02
arm64: dts: apple: t600x-jxxx: Put in audio nodes
povik Mar 11, 2022
d0eede2
arm64: dts: apple: Drop 'integrated audio' from sound models
povik Aug 30, 2022
2bb3fdd
arm64: dts: apple: t6001-j375c: Add USB3 hub GPIO initialization
marcan Oct 17, 2022
4116761
arch: arm64: apple: Add missing power state deps for display
jannau Jan 25, 2022
25c48a0
arch: arm64: apple: t600x: Mark USB and PCIe as "dma-coherent"
jannau Apr 24, 2022
37578f9
arch: arm64: apple: Add display controller related device tree nodes
marcan Sep 19, 2021
26bf72f
arch: arm64: apple: t600x: Add display controller related device tree…
jannau Mar 11, 2022
d56faf2
arch: arm64: apple: t8103: Add connector type property for DCP*
jannau Oct 3, 2022
7351eb1
arch: arm64: apple: t600x: Add connector type property for DCP*
jannau Oct 22, 2022
c73b081
arm64: dts: apple: t8103: Add eFuses node
svenpeter42 Nov 15, 2022
2e1b054
arm64: dts: apple: t8103: Add ATCPHY node
svenpeter42 Nov 30, 2022
3e5bf65
arch: arm64: dts: apple: t6000: Add eFuses node
ArcaneNibble Nov 15, 2022
7a9a7b2
arch: arm64: dts: apple: t600x: Add ATCPHY nodes
ArcaneNibble Nov 15, 2022
0f2cff4
arch: arm64: apple: Add dcp panel node for t8103 based laptops and imacs
jannau Oct 31, 2022
9ea709a
arch: arm64: apple: Add dcp panel node for t600x based laptops
jannau Oct 31, 2022
2b41789
arm64: dts: apple: t8112: Add eFuses node
jannau Nov 15, 2022
7756f56
arm64: dts: apple: t8112: Add ATCPHY nodes
jannau Nov 15, 2022
e8fac9f
arm64: dts: apple: t8112: Add dcp/disp0 nodes
jannau Nov 20, 2022
f91172b
scripts/dtc: Add support for floating-point literals
asahilina Nov 2, 2022
738b795
arm64: dts: apple: t8103*: Add GPU nodes
asahilina Aug 17, 2022
ed7a3f9
arm64: dts: Add GPU performance data to t8103.dts
asahilina Oct 21, 2022
ef8d307
arm64: dts: Add power data for t8103
asahilina Nov 2, 2022
58e8c12
arm64: dts: Add t600x GPU nodes
asahilina Nov 2, 2022
70192c5
arm64: dts: t8103: Add GPU leak coefficients
asahilina Nov 4, 2022
e9507db
arm64: dts: apple: Add no-map to GPU reserved-memory nodes
asahilina Nov 9, 2022
103fd4b
arm64: dts: apple: Add GPU nodes to T8112
asahilina Nov 25, 2022
9b36c2f
arm64: dts: apple: Add GPU firmware versions to t8113/t600x
asahilina Nov 25, 2022
7a00949
arm64: dts: apple: t600x: Add the NVRAM bindings
WhatAmISupposedToPutHere Oct 29, 2022
45b5235
arm64: dts: apple: t8112: Add the NVRAM bindings
WhatAmISupposedToPutHere Oct 29, 2022
58314c4
arm64: dts: apple: t8103: Add the NVRAM bindings
WhatAmISupposedToPutHere Oct 29, 2022
6fe110a
arm64: dts: apple: t600x: Add DCP power domain to missing devices
marcan Dec 12, 2022
2bd4b15
arm64: dts: apple: t8103: Add DCP power domain to missing devices
marcan Dec 12, 2022
306b359
arm64: dts: apple: t8112: Add DCP power domain to missing devices
marcan Dec 12, 2022
d84c352
arm64: dts: apple: t8103: Add missing ps_pmp dependency to ps_gfx
jannau Dec 30, 2022
5bd6fab
arm64: dts: apple: t600x: Add "ps_disp0_cpu0" as resets for dcp
jannau Jan 8, 2023
ff60dbf
arm64: dts: apple: t8103: Add "ps_disp0_cpu0" as resets for dcp
jannau Jan 8, 2023
6ef6b4b
arm64: dts: apple: t8112: Add "ps_disp0_cpu0" as resets for dcp
jannau Jan 8, 2023
3e4c131
arm64: dts: apple: j314/j316: Disable ATC3_USB_AON power domain
marcan Mar 11, 2023
baf67c5
arm64: dts: apple: Add keyboard alias & layout props for t8112 laptops
marcan Mar 19, 2023
0525e21
arm64: dts: apple: Fix t600x mca IRQs
marcan Apr 9, 2023
9f02122
WIP: drm/apple: Port to incompatible V13.3 firmware interface
jannau Apr 14, 2023
efa5a06
drm/probe_helper: fix the warning reported when calling drm_kms_helpe…
Mar 28, 2023
e180f55
drm/apple: Remove simpledrm framebuffer before DRM device alloc
jannau Apr 15, 2023
594271b
drm/apple: Mark DCP as being in the wakeup path
marcan Apr 24, 2023
95f67ad
fixup! cpuidle: apple: Add Apple SoC cpuidle driver
marcan Apr 25, 2023
cc7e403
arm64: dts: apple: Add initial t602x device trees
marcan Apr 9, 2023
47f65f1
arm64: dts: apple: Add MTP nodes to t6020x
marcan Apr 10, 2023
c9569ef
arm64: dts: apple: Add identity dma-ranges mapping
marcan Apr 10, 2023
66a0dbf
DO NOT SUBMIT: arm64: dts: apple: t6020-j474s: Add unused PCIe port01
jannau Apr 11, 2023
17fbb84
arm64: dts: apple: Add pmgr-misc nodes to t60xx
marcan Apr 17, 2023
508efe7
arm64: dts: apple: t600x: Remove obsolete comment in ans2 power domain
marcan Apr 24, 2023
1e2f96e
arm64: dts: apple: Make ps_msg always-on
marcan Apr 25, 2023
e73886e
arm64: dts: apple: t600x: Enable turbo CPU p-states
marcan Apr 27, 2023
5e1d011
arm64: dts: apple: t8103: Enable turbo CPU p-states
marcan Apr 27, 2023
26bd4bf
arm64: dts: apple: t8112: Enable turbo CPU p-states
marcan Apr 27, 2023
69f9e1f
HID: magicmouse: Handle touch controller resets on SPI devices
marcan Apr 30, 2023
1d9d900
arm64: Introduce scaffolding to add ACTLR_EL1 to thread state
marcan May 8, 2023
b5c6de4
prctl: Introduce PR_{SET,GET}_MEM_MODEL
marcan May 8, 2023
4ab692b
arm64: Implement PR_{GET,SET}_MEM_MODEL for always-TSO CPUs
marcan May 8, 2023
38015ad
arm64: Implement Apple IMPDEF TSO memory model control
marcan May 8, 2023
88e42b5
PCI: apple: Make link up timeout configurable, default to 500ms
marcan May 18, 2023
250ac97
init/Kconfig: Only block on RANDSTRUCT for RUST
Conan-Kudo Dec 12, 2022
49e57e6
rust: Fixes for 1.67.0
marcan Mar 11, 2023
98decb0
driver core: fw_devlink: Add fw_devlink_count_absent_consumers()
marcan Apr 24, 2023
2930844
PM: domains: Add a flag to defer power-off until all consumers probe
marcan Apr 24, 2023
7763abb
soc: apple: apple-pmgr-pwrstate: Mark on-at-boot PDs as DEFER_OFF
marcan Apr 24, 2023
aa216af
tty: serial: samsung_tty: Mark as wakeup_path on no_console_suspend
marcan Apr 24, 2023
5b48d9e
soc: apple: apple-pmgr-pwrstate: Mark on-at-boot PDs as wakeup
marcan Apr 24, 2023
cddca02
HACK: Lol libwebrtc
marcan May 12, 2023
a93c49a
PCI: apple: Reorder & improve link-up logic
marcan May 18, 2023
23c2572
PCI: apple: Log the time it takes for links to come up
marcan May 18, 2023
b7dd127
Merge branch 'refs/heads/bits/000-devicetree' into asahi-wip
marcan May 18, 2023
e0cf270
Merge branch 'refs/heads/bits/005-maintainers' into asahi-wip
marcan May 18, 2023
9fdc56a
Merge branch 'refs/heads/bits/010-soc' into asahi-wip
marcan May 18, 2023
4e53822
Merge branch 'refs/heads/bits/020-dart' into asahi-wip
marcan May 18, 2023
fe735e1
Merge branch 'refs/heads/bits/030-misc' into asahi-wip
marcan May 18, 2023
678fab3
Merge branch 'refs/heads/bits/040-dwc3' into asahi-wip
marcan May 18, 2023
72b32ee
Merge branch 'refs/heads/bits/050-nvme' into asahi-wip
marcan May 18, 2023
48818d0
Merge branch 'refs/heads/bits/060-spi' into asahi-wip
marcan May 18, 2023
8f0c374
Merge branch 'refs/heads/bits/070-audio' into asahi-wip
marcan May 18, 2023
29f0762
Merge branch 'refs/heads/bits/080-wifi' into asahi-wip
marcan May 18, 2023
16d9ac2
Merge branch 'refs/heads/bits/090-spi-hid' into asahi-wip
marcan May 18, 2023
8f31e02
Merge branch 'refs/heads/bits/110-smc' into asahi-wip
marcan May 18, 2023
d928bfd
Merge branch 'refs/heads/bits/120-spmi' into asahi-wip
marcan May 18, 2023
2db6cc5
Merge branch 'refs/heads/bits/130-cpufreq' into asahi-wip
marcan May 18, 2023
34f8509
Merge branch 'refs/heads/bits/140-pci' into asahi-wip
marcan May 18, 2023
d7034be
Merge branch 'refs/heads/bits/150-xhci-firmware' into asahi-wip
marcan May 18, 2023
f866b1f
Merge branch 'refs/heads/bits/160-fpwm' into asahi-wip
marcan May 18, 2023
42687bf
Merge branch 'refs/heads/bits/170-atcphy' into asahi-wip
marcan May 18, 2023
d4b7bed
Merge branch 'refs/heads/bits/200-dcp' into asahi-wip
marcan May 18, 2023
308887e
Merge branch 'refs/heads/bits/210-gpu' into asahi-wip
marcan May 18, 2023
f72b509
Merge branch 'refs/heads/bits/220-tso' into asahi-wip
marcan May 18, 2023
ee003ac
arm64: Fix up for !ARM64_ACTLR_STATE or !ARM64_MEMORY_MODEL_CONTROL
povik May 9, 2023
7ba576f
fixup! gpu: drm: apple: Use components to avoid deferred probing
povik May 19, 2023
8e4ce2c
iommu: apple-dart: Always link consumers with RPM_ACTIVE
povik Apr 28, 2023
f5c4cda
fixup! wip: ASoC: cs42l84: Start new codec driver
povik Jan 16, 2023
e559000
ASoC: macaudio: Condition selecting NCO driver on COMMON_CLK
povik Jan 19, 2023
7fa270a
ASoC: macaudio: Remove left-over pieces
povik Jan 25, 2023
28bfa53
ASoC: macaudio: Tune error messages
povik Jan 20, 2023
6220b43
ASoC: macaudio: Tune constraining of FEs, add BCLK
povik Jan 23, 2023
e3b97e5
ASoC: macaudio: Replace dpcm_hw_params
povik May 9, 2023
57965e0
ASoC: apple: leap: Start LEAP driver
povik May 19, 2023
1ce25be
ASoC: macaudio: Add OF parsing of microphone link
povik Dec 14, 2022
5f47eff
WIP: arch: arm64: boot: Add AOP-ADMAC/LEAP/DMIC nodes
povik Dec 14, 2022
a7eedba
HACK: ASoC: soc-dapm: Support many-CPUs-one-CODEC links
povik Dec 16, 2022
8aa383e
clk: clk-apple-clkdiv: Add driver
povik May 19, 2023
70b6ce6
clk: Export devm_clk_hw_register_composite_pdata
povik May 25, 2023
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
  •  
  •  
  •  
32 changes: 32 additions & 0 deletions Documentation/core-api/printk-formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,38 @@ Examples::
%p4cc Y10 little-endian (0x20303159)
%p4cc NV12 big-endian (0xb231564e)

Generic FourCC code
-------------------

::
%p4c[hnbl] gP00 (0x67503030)

Print a generic FourCC code, as both ASCII characters and its numerical
value as hexadecimal.

The additional ``h``, ``r``, ``b``, and ``l`` specifiers are used to specify
host, reversed, big or little endian order data respectively. Host endian
order means the data is interpreted as a 32-bit integer and the most
significant byte is printed first; that is, the character code as printed
matches the byte order stored in memory on big-endian systems, and is reversed
on little-endian systems.

Passed by reference.

Examples for a little-endian machine, given &(u32)0x67503030::

%p4ch gP00 (0x67503030)
%p4cl gP00 (0x67503030)
%p4cb 00Pg (0x30305067)
%p4cr 00Pg (0x30305067)

Examples for a big-endian machine, given &(u32)0x67503030::

%p4ch gP00 (0x67503030)
%p4cl 00Pg (0x30305067)
%p4cb gP00 (0x67503030)
%p4cr 00Pg (0x30305067)

Rust
----

Expand Down
15 changes: 15 additions & 0 deletions Documentation/devicetree/bindings/arm/apple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ description: |
- MacBook Air (M1, 2020)
- iMac (24-inch, M1, 2021)

Devices based on the "M2" SoC:

- MacBook Air (M2, 2022)
- MacBook Pro (13-inch, M2, 2022)
- Mac mini (M2, 2023)

And devices based on the "M1 Pro", "M1 Max" and "M1 Ultra" SoCs:

- MacBook Pro (14-inch, M1 Pro, 2021)
Expand Down Expand Up @@ -70,6 +76,15 @@ properties:
- const: apple,t8103
- const: apple,arm-platform

- description: Apple M2 SoC based platforms
items:
- enum:
- apple,j413 # MacBook Air (M2, 2022)
- apple,j473 # Mac mini (M2, 2023)
- apple,j493 # MacBook Pro (13-inch, M2, 2022)
- const: apple,t8112
- const: apple,arm-platform

- description: Apple M1 Pro SoC based platforms
items:
- enum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ properties:
items:
- enum:
- apple,t8103-pmgr
- apple,t8112-pmgr
- apple,t6000-pmgr
- const: apple,pmgr
- const: syscon
Expand Down
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/arm/cpus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ properties:

compatible:
enum:
- apple,avalanche
- apple,blizzard
- apple,icestorm
- apple,firestorm
- arm,arm710t
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/clock/apple,nco.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ properties:
- enum:
- apple,t6000-nco
- apple,t8103-nco
- apple,t8112-nco
- const: apple,nco

clocks:
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/dma/apple,admac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ properties:
- enum:
- apple,t6000-admac
- apple,t8103-admac
- apple,t8112-admac
- const: apple,admac

reg:
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/i2c/apple,i2c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ properties:
items:
- enum:
- apple,t8103-i2c
- apple,t8112-i2c
- apple,t6000-i2c
- const: apple,i2c

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ description: |
properties:
compatible:
items:
- const: apple,t6000-aic
- enum:
- apple,t8112-aic
- apple,t6000-aic
- const: apple,aic2

interrupt-controller: true

'#interrupt-cells':
const: 4
minimum: 3
maximum: 4
description: |
The 1st cell contains the interrupt type:
- 0: Hardware IRQ
- 1: FIQ

The 2nd cell contains the die ID.
The 2nd cell contains the die ID (only present on apple,t6000-aic).

The next cell contains the interrupt number.
- HW IRQs: interrupt number
Expand Down Expand Up @@ -109,6 +112,19 @@ additionalProperties: false

allOf:
- $ref: /schemas/interrupt-controller.yaml#
- if:
properties:
compatible:
contains:
const: apple,t8112-aic
then:
properties:
'#interrupt-cells':
const: 3
else:
properties:
'#interrupt-cells':
const: 4

examples:
- |
Expand Down
10 changes: 7 additions & 3 deletions Documentation/devicetree/bindings/iommu/apple,sart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ description:

properties:
compatible:
enum:
- apple,t6000-sart
- apple,t8103-sart
oneOf:
- items:
- const: apple,t8112-sart
- const: apple,t6000-sart
- enum:
- apple,t6000-sart
- apple,t8103-sart

reg:
maxItems: 1
Expand Down
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ properties:
items:
- enum:
- apple,t8103-asc-mailbox
- apple,t8112-asc-mailbox
- apple,t6000-asc-mailbox
- const: apple,asc-mailbox-v4

Expand All @@ -39,6 +40,7 @@ properties:
items:
- enum:
- apple,t8103-m3-mailbox
- apple,t8112-m3-mailbox
- apple,t6000-m3-mailbox
- const: apple,m3-mailbox-v2

Expand Down
5 changes: 4 additions & 1 deletion Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ properties:
items:
- enum:
- apple,t8103-nvme-ans2
- apple,t8112-nvme-ans2
- apple,t6000-nvme-ans2
- const: apple,nvme-ans2

Expand Down Expand Up @@ -65,7 +66,9 @@ if:
properties:
compatible:
contains:
const: apple,t8103-nvme-ans2
enum:
- apple,t8103-nvme-ans2
- apple,t8112-nvme-ans2
then:
properties:
power-domains:
Expand Down
52 changes: 49 additions & 3 deletions Documentation/devicetree/bindings/pci/apple,pcie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ properties:
items:
- enum:
- apple,t8103-pcie
- apple,t8112-pcie
- apple,t6000-pcie
- const: apple,pcie

Expand Down Expand Up @@ -71,6 +72,27 @@ properties:
power-domains:
maxItems: 1

patternProperties:
"^pci@":
$ref: /schemas/pci/pci-bus.yaml#
type: object
description: A single PCI root port

properties:
reg:
maxItems: 1

pwren-gpios:
description: Optional GPIO to power on the device
maxItems: 1

required:
- reset-gpios
- interrupt-controller
- "#interrupt-cells"
- interrupt-map-mask
- interrupt-map

required:
- compatible
- reg
Expand Down Expand Up @@ -141,34 +163,58 @@ examples:
pinctrl-0 = <&pcie_pins>;
pinctrl-names = "default";

pci@0,0 {
port00: pci@0,0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl_ap 152 0>;

#address-cells = <3>;
#size-cells = <2>;
ranges;

interrupt-controller;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &port00 0 0 0 0>,
<0 0 0 2 &port00 0 0 0 1>,
<0 0 0 3 &port00 0 0 0 2>,
<0 0 0 4 &port00 0 0 0 3>;
};

pci@1,0 {
port01: pci@1,0 {
device_type = "pci";
reg = <0x800 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl_ap 153 0>;

#address-cells = <3>;
#size-cells = <2>;
ranges;

interrupt-controller;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &port01 0 0 0 0>,
<0 0 0 2 &port01 0 0 0 1>,
<0 0 0 3 &port01 0 0 0 2>,
<0 0 0 4 &port01 0 0 0 3>;
};

pci@2,0 {
port02: pci@2,0 {
device_type = "pci";
reg = <0x1000 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl_ap 33 0>;

#address-cells = <3>;
#size-cells = <2>;
ranges;

interrupt-controller;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>;
interrupt-map = <0 0 0 1 &port02 0 0 0 0>,
<0 0 0 2 &port02 0 0 0 1>,
<0 0 0 3 &port02 0 0 0 2>,
<0 0 0 4 &port02 0 0 0 3>;
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ properties:
items:
- enum:
- apple,t8103-pinctrl
- apple,t8112-pinctrl
- apple,t6000-pinctrl
- const: apple,pinctrl

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ properties:
items:
- enum:
- apple,t8103-pmgr-pwrstate
- apple,t8112-pmgr-pwrstate
- apple,t6000-pmgr-pwrstate
- const: apple,pmgr-pwrstate

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

title: Apple FPWM controller

maintainers:
- [email protected]
- Sasha Finkelstein <[email protected]>

description: PWM controller used for keyboard backlight on ARM Macs

properties:
compatible:
items:
- enum:
- apple,t8103-fpwm
- apple,t6000-fpwm
- apple,t8112-fpwm
- const: apple,s5l-fpwm

reg:
maxItems: 1

clocks:
maxItems: 1

power-domains:
maxItems: 1

"#pwm-cells":
const: 2

required:
- compatible
- reg
- clocks

additionalProperties: false

examples:
- |
pwm@235044000 {
compatible = "apple,t8103-fpwm", "apple,s5l-fpwm";
reg = <0x35044000 0x4000>;
power-domains = <&ps_fpwm1>;
clocks = <&clkref>;
#pwm-cells = <2>;
};
Loading