2021-12-02
01:37chadmed has joined #asahi-dev
02:08yuyichao has quit [Ping timeout: 480 seconds]
02:09chadmed has quit [Quit: Konversation terminated!]
02:40yuyichao has joined #asahi-dev
03:06PhilippvK has joined #asahi-dev
03:06chadmed has joined #asahi-dev
03:09phiologe has quit [Ping timeout: 480 seconds]
03:52kov has quit [Quit: Coyote finally caught me]
03:52kov has joined #asahi-dev
04:03phiologe has joined #asahi-dev
04:07PhilippvK has quit [Ping timeout: 480 seconds]
04:23marcanok, yeah, the write doesn't stick; looks like we need a delay after starting up the port before touching the config regs (which might mean we weren't even applying the tunables properly either...)
05:19chadmed has quit [Remote host closed the connection]
06:24VinDuv has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
06:25VinDuv has joined #asahi-dev
08:14King_InuYasha has quit [Ping timeout: 480 seconds]
08:48mazmarcan: does this require any change in the u-boot/Linux/OpenBSD drivers, or can you keep that in m1n1?
10:25ar has quit [Ping timeout: 480 seconds]
10:39ar has joined #asahi-dev
10:46marcanmaz: this is all in m1n1, already pushed. And since this makes PORT_LOGIC_SPEED_CHANGE unnecessary, if we decide to not care about max speed caps or to put that code in m1n1 too, we can drop the patch I sent entirely
10:55landscape15[m]Has anyone managed to run OpenBSD quite well?
10:58landscape15[m]j_ey: thanks! It’s good to know that you don’t need to rewrite all the kernel.
11:12marcansven et al: I think I'm going to rename that t6k bringup branch (which isn't really any more) to something more generic
11:13marcansince that's basically my "stuff sane enough to be on the way upstream to varying degrees" branch
11:13landscape15[m]j_ey: So I suppose m1n1 does the hard job. I’m going to test it on my new 13” when I’ll get it.
11:16marcanfor-next doesn't really make sense for us because we don't have a subsystem tree; instead I have things under asahi-soc/ that I send arnd_, but that's mostly DT/misc fixes, not drivers
11:16marcanI wonder if there's some kind of name between "for-next" and "devel" that's appropriate...
11:28marcanit's probably going to evolve into the kernel branch we ship to people sooner or later anyway (in bleeding edge packages)
11:32landscape15[m]marcan: what is “asahi” branch for?
11:34marcani.e. code that is either on the way upstream or being developed with that goal, that is good enough for people to test and use
11:35as400 has joined #asahi-dev
11:35_jannau_https://github.com/jannau/linux/tree/apple-m1-exp_v5.16-rc3_1 is t600/bringup with fixes, dts additions and patches sent to kernel mailing lists rebased onto the latest rc
11:37landscape15[m]marcan: Ok, so it’s quite close to a well-rounded pre-release
11:38marcanyes, it should eventually become something we can ship to users, once a few loose ends are tied up
11:39marcan_jannau_: mostly just those SART fixes at the end, right? I imagine sven will want to pull those into his branch
11:40_jannau_marcan: you've dropped the t600 PMGR devicetree nodes in the latest t6000/bringup-work rebase ans asahi
11:43_jannau_I guess you replaced all pmgr commits with tree you send out which can't include t600 changes
13:20yuyichao has quit [Ping timeout: 480 seconds]
13:44yuyichao has joined #asahi-dev
13:44Gaspare has joined #asahi-dev
14:03robher_ has quit []
14:03robher has joined #asahi-dev
14:08marcanarnd_: I'm a bit confused about what path the PMGR driver should take upstream. It's under drivers/soc, which doesn't have anyone in charge of it at the top level AIUI. Linus Walleij acked it.
14:10marcanack, do you want all the related DT changes (bindings changes to add power-domains props, instantiating PMGR & adding domains) together in a DT pull along with other DT changes, and just the driver separately?
14:11the_lanetly_052 has joined #asahi-dev
14:11marcan(in that case, there's a dependency, so I guess I should stack the branches in the right order as usual?)
14:12aleasto has joined #asahi-dev
14:13marcanalso nobody reviewed the actual DT change yet (in particular v3 adds *all* the domains...)
14:45arnd_the idea is that each half should be regression-free and tested without the other half, to ensure that there are no incompatible binding changes
14:54kettenismarcan, sven: dr_mode changed from "host" to "otg" on the asahi branch and that makes u-boot unhappy
14:57the_lanetly_052 has quit [Ping timeout: 480 seconds]
15:06marcanarnd_: I'm mostly wondering about the DT checker; if that is to pass then all the bindings changes should come along with the DT changes, and the driver would be completely separated from its related binding changes. is that what you expect?
15:07arnd_marcan: that is usually the easiest way, the alternatives are to have the dt binding patch first, using the same commit for both branches, or to do it over more than one merge window
15:08arnd_some subsystem maintainers prefer the binding changes to go in with the driver, obviously I don't care if I merge both branches anyway
15:09kettenissven: having those ports default to otg instead of host doesn't make sense to me on these machines
15:11sveni'll have to check those node again anyway, but iirc there was another property for the default mode
15:13svenas i said, i think the default mode for dr_mode is otg anyway so we can just drop that from the DT if that helps
15:14sveni think i just put something in those node that made it work for now. i'll have to re-check them once the drd3 maintainer comments on that dumb reset quirk anyway
15:14Gaspare has quit [Quit: Gaspare]
15:27svenwe kinda need to know how this dumb reset quirks looks like in the end. though i guess i could submit the binding + DT changes separately from that
15:32kettenisanyway, it would be great you and/or jannau could remove that dr_mode property such that we don't run into this issue again later
15:35kettenisI suppose I'd need to implement support for the hpm chip in u-boot to get role switching to work properly?
15:37svenin linux you can also write to some sysfs node to trigger a role switch and that works even without support for that hpm chip
15:58aleasto has quit [Quit: Konversation terminated!]
16:02aleasto has joined #asahi-dev
16:08as400 has left #asahi-dev [#asahi-dev]
16:16___nick___ has joined #asahi-dev
16:17___nick___ has quit []
16:18___nick___ has joined #asahi-dev
16:31povikhttps://github.com/AsahiLinux/linux/blob/69711d887d3f10a4f7dd6fd648bfff63ff66ba18/sound/soc/codecs/cs42l42.c#L2079
16:39kettenishttps://github.com/kettenis/u-boot/blob/708c71df69d31421a92e7b7577f4c7ac1ed8f659/arch/arm/dts/t8103-j293.dts#L50
17:20Gaspare has joined #asahi-dev
17:21Gaspare has quit []
17:23Gaspare has joined #asahi-dev
17:31crabbedhaloablut has joined #asahi-dev
17:31loki_val has quit [Ping timeout: 480 seconds]
17:40crabbedhaloablut has quit [Ping timeout: 480 seconds]
17:40crabbedhaloablut has joined #asahi-dev
18:11gig has quit [Remote host closed the connection]
19:00Mary has quit [Quit: The Lounge - https://thelounge.chat]
19:01Mary has joined #asahi-dev
19:03Mary has quit []
19:06Mary has joined #asahi-dev
19:13yuyichao has quit [Quit: Konversation terminated!]
19:14___nick___ has quit [Ping timeout: 480 seconds]
19:34Gaspare has quit [Quit: Gaspare]
19:48yuyichao has joined #asahi-dev
20:11Gaspare has joined #asahi-dev
20:12aleasto has quit [Remote host closed the connection]
21:07Gaspare has quit [Quit: Gaspare]
21:23Gaspare has joined #asahi-dev
21:25fgfhmnrtry4r4t[m] is now known as iPhowned[m]
22:24Gaspare has quit [Quit: Gaspare]
23:49kode54 has quit [Quit: The Lounge - https://thelounge.chat]
23:49KDDLB has quit [Quit: The Lounge - https://thelounge.chat]
23:51KDDLB has joined #asahi-dev
23:51kode54 has joined #asahi-dev