#
#asahi-dev · 2025-08-22 07:57
jannauyes, I was thinking the same. added in https://lore.kernel.org/all/20250414-dwc3-refactor-v7-0-f015b358722d@oss.qualcomm.com/ (April 2025) but started in at the end of 2023
#asahi-dev · 2025-08-22 07:54
svenbut I guess that would mean dropping the snps,dwc3 compatible
#asahi-dev · 2025-08-22 07:51
svenohh.. that glue.h stuff the dwc3 maintainer suggested looks interesting. maybe I can move all the crap this thing needs to dwc3-apple.c
#asahi-dev · 2025-08-22 07:20
jannauiphone (pro) have so far only usb3 with dp-altmode. I wouldn't be surprised if A family SoCs lack apciec if the saved die space is worth the effort. even the ipad airs with m2/m3 do not advertise usb4
#asahi-dev · 2025-08-22 07:08
svenand only deal with that situation if it really happens
#asahi-dev · 2025-08-22 07:08
svenbut anyway, I wouldn’t worry about devices that will likely never run Linux
#asahi-dev · 2025-08-22 07:03
svencould be dp over tbt as well
#asahi-dev · 2025-08-22 07:03
svenI assume that is dp altmode but dunno
#asahi-dev · 2025-08-22 07:03
svenmy 15 pro at least does display port via a dell thunderbolt dock
#asahi-dev · 2025-08-22 06:59
chadmedi thought the 15 pro was the only one that had usb-c for that gen
#asahi-dev · 2025-08-22 06:59
chadmedah nvm it was the base 15
#asahi-dev · 2025-08-22 06:58
chadmedthere was a dwc2 behind the phy or something stupid like that
#asahi-dev · 2025-08-22 06:57
chadmedthe first pro which had usb-c could still only do 2.0
#asahi-dev · 2025-08-22 06:57
chadmedno there was some quirk
#asahi-dev · 2025-08-22 06:57
chaos_princess(If it is a pro and has usb, it can do 3.0)
#asahi-dev · 2025-08-22 06:57
chaos_princess15 pro should do 3.0
#asahi-dev · 2025-08-22 06:56
jannauI think the iphone 15 pro uses the spmi variant, sn201202x. also not sure if it makes sense to worry about devices which likely will never run linux
#asahi-dev · 2025-08-22 06:56
chadmedanyone got any strong opinions on what the rust api should look like? i dont think it should really look like how it looks now
#asahi-dev · 2025-08-22 06:56
chadmedchaos_princess: i was gonna look at libfdt either while im away or when i get back
#asahi-dev · 2025-08-22 06:54
chadmedor whatever usb-if are calling it this quarter
#asahi-dev · 2025-08-22 06:54
chadmednot sure if the 16 pro can do tbt or just usb 3.2 gen 2 2x2 2.0 2
#asahi-dev · 2025-08-22 06:53
chadmedi think it was the 15 pro, which has usb-c but can only do usb 2.0
#asahi-dev · 2025-08-22 06:53
chadmedjannau: i think one of the more recent iphone models uses cd3217
#asahi-dev · 2025-08-22 06:27
svenoh yeah, that sounds like something they would’ve done
#asahi-dev · 2025-08-22 06:27
jannauI think R reversed it
#asahi-dev · 2025-08-22 06:27
svensame for the aes block, there’s some script in m1n1 but I never bothered to write a driver because it’s slower than the main cpu with the optimized arm64 implementation Linux has
#asahi-dev · 2025-08-22 06:26
svennever wrote a driver though
#asahi-dev · 2025-08-22 06:25
sveniirc someone (alyssa or maybe eiln) reverse engineered it a long while ago
#asahi-dev · 2025-08-22 06:24
jannauit's third-party IP so there might be a linux driver. not upstream though (checked around 2022)
#asahi-dev · 2025-08-22 06:22
jannauI don't think anyone started writing a linux driver for the jpeg block
#asahi-dev · 2025-08-22 06:20
jannaunickchan: I was mustly wondering if there are devices with cd321x without thunderbolt or displayport when reading the commit description of "[PATCH RFC 14/22] usb: typec: tipd: Register DisplayPort and Thunderbolt altmodes for cd321x"
#asahi-dev · 2025-08-22 04:39
nickchan(in Linux)
#asahi-dev · 2025-08-22 04:38
nickchandid anyone work on the ancient jpeg block?
#asahi-dev · 2025-08-22 04:00
nickchanother than hotplug not working
#asahi-dev · 2025-08-22 04:00
nickchanand of course the T2s has USB-C ports but I haven't seen the need to deal with them any different from iPhone 7
#asahi-dev · 2025-08-22 03:59
nickchanso I suppose A11 has the most latest tech apple SoC that's still exploitable
#asahi-dev · 2025-08-22 03:59
nickchanand T2 is a newer SoC than A11 that's still exploitable though T2 is a mix of old and new hw blocks
#asahi-dev · 2025-08-22 03:10
nickchanBut I haven't need to handle that any different from iPhone 6
#asahi-dev · 2025-08-22 03:09
nickchanhas A8 chip
#asahi-dev · 2025-08-22 03:09
nickchanjannau: Apple TV HD uses USB-C
#asahi-dev · 2025-08-21 20:18
jannauI think it would be fine merge after rebase. maybe replace the easy parts from the ugly struct with direct rust adt calls. we can complete it later
#asahi-dev · 2025-08-21 20:11
chaos_princessso, thats why kind of on the fence
#asahi-dev · 2025-08-21 20:11
chaos_princessadt alone only drops like 3 fields, in order to make it nice, i need to also riir more c float calculations
#asahi-dev · 2025-08-21 20:06
svenseriously though, why not use rust adt if it’s there now and makes the code nicer
#asahi-dev · 2025-08-21 20:06
svenmaybe also riir libfdt while you’re at it and do it completely in rust :D
#asahi-dev · 2025-08-21 19:56
chaos_princess*more rust adt in m1n1, should i riir more gpu init code and get rid of the ugly c->rust call
#asahi-dev · 2025-08-21 19:55
chaos_princesssince we have more adt in
#asahi-dev · 2025-08-21 17:25
svenso yeah, they are just the parents and the child domain is actually the correct one
#asahi-dev · 2025-08-21 17:24
sveni thought i dropped that line but apparently something went wrong while rebasing and reshuffling commits
#asahi-dev · 2025-08-21 17:23
svenugh, that was an older experiment iirc

plus ›