#
✕ nick:sven
#asahi-dev · 2025-08-19 15:50
svenand if that's not acceptable we'll just drop the generic ones, actually use t8103-whatever as fallback and do device tree surgery inside m1n1 for a year or two
#asahi-dev · 2025-08-19 15:47
svenessentially just pretend that e.g. "apple,nvme-ans2" is actually "apple,t8103-nvme-ans2"
#asahi-dev · 2025-08-19 15:46
svenyeah
#asahi-dev · 2025-08-19 15:44
sventhat also works :D
#asahi-dev · 2025-08-19 15:42
sveni'd keep using the ones that are already upstream and just not add any new ones for e.g. usb or whatever else has no bindings so far
#asahi-dev · 2025-08-19 15:36
svenso anyway, we can't fix the generic compatibles for most devices without a lot of pain. so imho we just leave them as-is and only use soc-specific ones moving forward
#asahi-dev · 2025-08-19 15:35
sventhe upstream binding at least doesn't have "apple,dart", maybe leftovers from the very early days before that was upstream?
#asahi-dev · 2025-08-19 15:33
sventhe current "problem" is apple,nvme-ans2
#asahi-dev · 2025-08-19 15:32
sveni think apple,dart doesn't even exist, that was just an example i used
#asahi-dev · 2025-08-19 15:25
svenright, so the current situation sucks but we can't really fix it unless someone here has a time machine ;)
#asahi-dev · 2025-08-19 15:24
sventhat generic thing might work for stuff like i2c but anything more complex seems to change every now and then
#asahi-dev · 2025-08-19 15:23
svenyeah, i would only stop adding stuff like „apple,dart“
#asahi-dev · 2025-08-19 15:14
svenmy point is that it just doesn't matter how and where we messed up in the past. the only thing we can do is to only use tXXX-whatever compatibles with the right XXXX in the future
#asahi-dev · 2025-08-19 15:12
svennot like we can fix that at this point
#asahi-dev · 2025-08-19 15:11
svenso?
#asahi-dev · 2025-08-19 14:57
svenbut i can reply again on the weekend
#asahi-dev · 2025-08-19 14:56
svenkrzysztof didn't comment on that suggestion at all though
#asahi-dev · 2025-08-19 14:56
svenyeah, that what i'd do as well
#asahi-dev · 2025-08-19 14:55
sventhe current status probably sucks but it is what it is, doesn’t help to just complain now but we need to find a way forward
#asahi-dev · 2025-08-19 14:55
sveni can try to writer another reply on the weekend, won’t have time before that
#asahi-dev · 2025-08-19 14:54
svenI have no idea 🙃
#asahi-dev · 2025-08-19 14:51
svenhrm, so I guess our original compatible should’ve been ans3 or maybe just t8103-nvme
#asahi-dev · 2025-08-19 14:50
svenkinda weird though
#asahi-dev · 2025-08-19 14:47
svenoh well, guess they changed it at that point then
#asahi-dev · 2025-08-19 14:46
svenwhat happens on t6000?
#asahi-dev · 2025-08-19 14:45
svenso I just tried t8103 and there it worked
#asahi-dev · 2025-08-18 19:17
svensure
#asahi-dev · 2025-08-18 11:21
svenlooks good otherwise, will take a closer look once it’s on the mailing list
#asahi-dev · 2025-08-18 11:18
svenI would rearrange them some more, usually the dts changes are the very last commits
#asahi-dev · 2025-08-18 09:06
sventhat’s what I would do
#asahi-dev · 2025-08-17 14:57
svenchadmed: https://github.com/AsahiLinux/linux/commit/24f118a8a983a2a17d69f74acafe5d9412a9225f that's the hid commit i was going to submit, feel free to include inside the hwmod+rtc series
#asahi-dev · 2025-08-16 15:35
svenalright, time to rebase atcphy on -rc1 and write that cover letter i guess
#asahi-dev · 2025-08-16 15:34
svenit's confusing how there's "t2 linux, running on the x86 chip and talking to apple's weird iOS clone on the t2" and "t2 linux, but actually runs on the t2" :D
#asahi-dev · 2025-08-16 13:22
svenand the "get resources inside mfd/" and "put the code that actually talks to SMC into drivers/soc or driver/platform" actually makes sense if we (or hopefully someone else...) ever add support for t2 or x86 SMCs
#asahi-dev · 2025-08-16 13:22
svenhave we ever checked if there's already a helper like that somewhere? :D
#asahi-dev · 2025-08-16 13:17
sven*inside
#asahi-dev · 2025-08-16 13:17
svenessentially what he'd really like is a small driver in mfd/ that just gets resources and then all the SMC api insider drivers/soc or whatever
#asahi-dev · 2025-08-16 13:16
svenjust take a look at the other mfd drivers, smc is just weird
#asahi-dev · 2025-08-16 13:11
sveni think i just removed the function then instead of trying to solve it
#asahi-dev · 2025-08-16 13:11
svenshouldn't it live somewhere more generic in the form of helpers?"
#asahi-dev · 2025-08-16 13:11
svendriver. Is this specific to this device? If it's generic math stuff,
#asahi-dev · 2025-08-16 13:11
sven"This seems like it's to technical / generic to live in a lowly device
#asahi-dev · 2025-08-16 13:11
svenhttps://lore.kernel.org/asahi/20250509135104.GC2492385@google.com/
#asahi-dev · 2025-08-16 13:09
svenbut i kinda agreed that we would not increase the smc api
#asahi-dev · 2025-08-16 13:09
svenlet me see if i can find lee's objection to that function again and what he suggested instead
#asahi-dev · 2025-08-16 13:08
sven*hwmon
#asahi-dev · 2025-08-16 13:08
svendo we need that anywhere outside of hwmod?
#asahi-dev · 2025-08-16 12:47
svenand maybe reorder the commits so that the dt-binding changes all come directly after the cover letter
#asahi-dev · 2025-08-16 12:47
svenyou should also pick up the tags that the rtc series already got
#asahi-dev · 2025-08-16 12:40
svencheck the SMC series, that f32 stuff isn’t going be accepted inside mfd

plus ›