#asahi-dev · 2022-03-10 14:43
marcanI can test tomorrow, I think I have an NVMe thing that should be 2x2#asahi-dev · 2022-03-10 14:38
marcanrobher: we'd need some kind of namespace thing, e.g. a special kind of node or a special prop within a node which causes all labels within it to be prefixed with something... and then some escape syntax to break out of that where needed#asahi-dev · 2022-03-10 14:26
marcansince e.g. each die has to self-reference without colliding, and be referenceable by things outside of that file as that specific die#asahi-dev · 2022-03-10 14:26
marcanI meant labels, sorry, not aliases#asahi-dev · 2022-03-10 14:21
marcanrobher: also unrelated, but ideas for a /chosen property name to hold the EFI system partition PARTUUID? since we're going to have multiple, this seems like the sanest way to pass it down to the bootloader/OS... not sure if this one should be an apple,foo thing or not.#asahi-dev · 2022-03-10 14:05
marcanI'd be surprised if they screwed that one up...#asahi-dev · 2022-03-10 14:03
marcan(confusing thing: one USB lane (TX/RX) = two DP lanes (TX/TX))#asahi-dev · 2022-03-10 14:02
marcanat least on some monitors#asahi-dev · 2022-03-10 14:02
marcanalso apple gets this wrong in macOS, and ends up reserving everything for DP even when the DP version should let you run that resolution over 2 DP lanes, not 4, and then ends up downgrading USB to 2.0#asahi-dev · 2022-03-10 14:01
marcansven: yes#asahi-dev · 2022-03-10 14:01
marcanand then define DIE to d0_ or d1_ and include the file twice within buses that apply the MMIO offset#asahi-dev · 2022-03-10 14:01
marcansomething like DIE##i2c0: ... or L(i2c0): ... or similar#asahi-dev · 2022-03-10 13:59
marcanrobher: I think we'd want at least some pasting or wrapping to construct alias names and phandle references, otherwise there's no way to avoid the 2x copy and paste for these socs...#asahi-dev · 2022-03-10 11:15
marcanheh, so they aren't even putting both dies in PMGR, they just added a field#asahi-dev · 2022-03-10 11:15
marcan-> 0x1000021e#asahi-dev · 2022-03-10 11:15
marcan power-gates = [268435998]#asahi-dev · 2022-03-10 08:04
marcanI don't think what I want to do would be very complicated#asahi-dev · 2022-03-10 07:47
marcanlol#asahi-dev · 2022-03-10 07:46
marcan(I'm actually putting on AppleCare on these expensive macs for that reason...)#asahi-dev · 2022-03-10 07:46
marcan... so yeah, I hope you have AppleCare :p#asahi-dev · 2022-03-10 07:46
marcan... I've seen a T2 Mac have a speaker die like that, in macOS, with an EP patch#asahi-dev · 2022-03-10 07:46
marcanalso you absolutely *can* kill Mac speakers with volume#asahi-dev · 2022-03-10 07:36
marcanyeah, I guess that's a similar idea#asahi-dev · 2022-03-10 07:36
marcanah, like armada-cp11x.dtsi#asahi-dev · 2022-03-10 07:35
marcanalso are subdirectories allowed/preferred under arch/arm64/boot/dts? I think it might get unwieldy if we have everything flat, I'd favor top-level/platform DTs at the top level (and maybe top-level SoC/MCM includes), then a per-soc-family directory with bits and pieces, if that's reasonable#asahi-dev · 2022-03-10 07:32
marcanto prefix things, like i2c0 -> d0_i2c0, d1_i2c0#asahi-dev · 2022-03-10 07:32
marcanmaybe could have a macro around/next to aliases, which gets redefined around each include#asahi-dev · 2022-03-10 07:31
marcanany ideas on how to handle this, other than writing it all out twice?#asahi-dev · 2022-03-10 07:30
marcanonly problem though is aliases would collide, hm#asahi-dev · 2022-03-10 07:29
marcanrobher: what's your take on #include in DTs within buses, for something like this where a vendor glued two SoCs together?#asahi-dev · 2022-03-10 07:28
marcanand do it all that way#asahi-dev · 2022-03-10 07:28
marcanthen #include them into buses with range translation#asahi-dev · 2022-03-10 07:28
marcanI wonder if we can literally re-organize our DTs to include the T6000 and T6001-delta subcomponent bits in includes#asahi-dev · 2022-03-10 07:28
marcanalso it looks like Ultra is just another max at 0x2000000000 in MMIO space#asahi-dev · 2022-03-10 07:27
marcanand heh, ADTs have so much garbage... those have camera sections in the product info#asahi-dev · 2022-03-10 07:22
marcanoh btw, Ultra = T6002, Studio = J375C (T6001) / J375D (T6002)#asahi-dev · 2022-03-10 07:21
marcanactually we just run macOS in the hypervisor and send out a test signal and capture the speaker streams :p#asahi-dev · 2022-03-10 07:21
marcan:D#asahi-dev · 2022-03-10 07:21
marcanimpulse responses are not copyrightable :-) (the underlying response isn't anyway; the data file might be, but re-computing it isn't)#asahi-dev · 2022-03-10 07:20
marcanyou wouldn't download it, but you would certainly sample it!#asahi-dev · 2022-03-10 07:18
marcanand we can just steal those impulses from macOS#asahi-dev · 2022-03-10 07:18
marcanone FIR filter can handle everything flat#asahi-dev · 2022-03-10 07:17
marcanno need to first set up a crossover or anything like that#asahi-dev · 2022-03-10 07:17
marcanyes, L/R because I'm pretty sure Apple does cross-processing too, for stereo width#asahi-dev · 2022-03-10 07:17
marcanchadmed: it should be possible to just drive each speaker as a FIR/IIR combination of L/R#asahi-dev · 2022-03-10 07:16
marcanit sounds to me like simpledrm isn't working for you at all and you're actually using efifb#asahi-dev · 2022-03-10 07:15
marcan< Glanzmann> jannau: Yes, it works perfectly. <- perfectly as in using efifb?#asahi-dev · 2022-03-09 19:26
marcanalso pushed a new installer to fix a nvme boot surprise leftover in the 1st-stage m1n1 (which was breaking nvme on linux when booted without u-boot and with a m1n1 chainload attempt along the way :))#asahi-dev · 2022-03-09 19:22
marcanmaz: aic2v3 sent!#asahi-dev · 2022-03-09 17:48
marcanah yeah, fixed, sorry