#
…

2022-01-30

01:22skipwich has quit [Ping timeout: 480 seconds]
01:23skipwich has joined #asahi-dev
01:26chengsun has quit [Quit: Quit]
01:27chengsun has joined #asahi-dev
02:04chadmed has quit [Quit: Konversation terminated!]
02:09chadmed has joined #asahi-dev
02:20djk121[m] has joined #asahi-dev
02:26chengsun_ has joined #asahi-dev
02:30chengsun has quit [Ping timeout: 480 seconds]
02:46skipwich has quit [Ping timeout: 480 seconds]
02:49akemin_dayo has quit [Ping timeout: 480 seconds]
03:00chengsun_ has quit [Quit: Quit]
03:01chengsun has joined #asahi-dev
03:06jevinskie[m]That’s cool!
03:08PhilippvK has joined #asahi-dev
04:04refi64 has quit [Quit: Ping timeout (120 seconds)]
04:05kov has quit [Quit: Coyote finally caught me]
04:05refi64 has joined #asahi-dev
04:05kov has joined #asahi-dev
04:26espo has quit [Ping timeout: 480 seconds]
04:42refi64 has quit [Quit: The Lounge - https://thelounge.chat]
04:45refi64 has joined #asahi-dev
04:45the_lanetly_052__ has joined #asahi-dev
07:52m6wiq has joined #asahi-dev
08:03espo has joined #asahi-dev
08:36espo_ has joined #asahi-dev
08:36chadmed has quit [Ping timeout: 480 seconds]
08:43espo has quit [Ping timeout: 480 seconds]
08:44espo_ is now known as espo
09:21chadmed has joined #asahi-dev
09:48nsklaus_ has joined #asahi-dev
09:48nsklaus has quit [Read error: Connection reset by peer]
10:31akemin_dayo has joined #asahi-dev
10:43m6wiq1 has joined #asahi-dev
10:46gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:46gabuscus has joined #asahi-dev
10:49m6wiq has quit [Ping timeout: 480 seconds]
10:58m6wiq2 has joined #asahi-dev
10:59m6wiq1 has quit [Read error: Connection reset by peer]
12:13___nick___ has joined #asahi-dev
12:13___nick___ has quit []
12:15___nick___ has joined #asahi-dev
12:56m6wiq2 has quit [Quit: Leaving]
13:00akemin_dayo has quit [Ping timeout: 480 seconds]
14:13___nick___ has quit [Ping timeout: 480 seconds]
15:00m6wiq has joined #asahi-dev
15:56the_lanetly_052___ has joined #asahi-dev
16:02the_lanetly_052__ has quit [Ping timeout: 480 seconds]
16:16akemin_dayo has joined #asahi-dev
16:49skipwich has joined #asahi-dev
17:10koorogi1 has quit [Remote host closed the connection]
17:11koorogi has joined #asahi-dev
17:40MajorBiscuit has joined #asahi-dev
17:55espo_ has joined #asahi-dev
18:03espo has quit [Ping timeout: 480 seconds]
18:10the_lanetly_052___ has quit [Ping timeout: 480 seconds]
18:33espo_ has quit [Quit: Leaving]
18:40MajorBiscuit has quit [Quit: WeeChat 3.3]
20:04m6wiq1 has joined #asahi-dev
20:05m6wiq1 has quit []
20:11m6wiq has quit [Ping timeout: 480 seconds]
20:43jeffmiw has joined #asahi-dev
20:49akemin_dayo has quit [Ping timeout: 480 seconds]
20:50trouter has joined #asahi-dev
20:55jeffmiwI have a basic SPMI/PMU/RTC drivers implementation almost ready, what is the best way to proceed ? I create a branch on asahi/linux for reviews and testing (I only have an mba, should work on the other with little or no changes but to be confirmed) before submitting upstream ?
20:55jeffmiwthis will be my first submission, so I'm sure asahi team feedback will be valuable before submitting :)
21:01ketteniswe don't have a mailing list (yet) so a branch on github is probably te next best thing
21:18jeffmiwok thanks, I will do that
21:46m6wiq has joined #asahi-dev
21:58m6wiq has quit [Quit: Leaving]
22:24alyssapovik: Awwh! nice work :-)
22:25alyssaBy the way, my speakers have been working reliably now. Idk
22:25alyssadefinitely something screwy happening but not sure what
22:31povikthanks :)
22:31alyssaThe drivers have passed the "Legally Blonde" test
22:31povikweird with the speakers. could we have been so unlucky on the first try?
22:31poviknot that i don't want to fix the issue, even if it scarcely manifests
22:31alyssamaybe.. or some state persisting across boots...
22:32alyssarandom theory, can't remember if this applies here but plausible-- Related to whether the boot chime is enabled or not
22:33alyssaIf it is, iBoot did config or powered something on or something that Linux forgot
22:33alyssaIf it's not that idk what other race it would be
22:33alyssas/race/issue/
22:36tpw_rulesi only ever got sound to work once
22:36povikyeah post that dmesg please
22:38alyssathis is what failed for me, for whatever it's worth
22:38alyssawhen I commented out the whole device ID block, `regmap_read(cs42l42->regmap, CS42L42_REVID, &reg)` failed instead
22:38alyssawhich to me smells like the CS42L42 is just powered off
22:39povikthe only idea i had is that the cs42l wasn't in reset when linux booted because of the state of the respective gpio
22:39povikand then the driver pulls the reset for too short
22:39povikwhich means the part is in a weird state
22:39roxfan has quit [Remote host closed the connection]
22:39poviklet's see the driver code again if that's possible
22:40povikyeah, i wonder if it's possible that lines 2087 to 2096 generate a narrow reset pulse
22:40povikif the codec isn't in reset to begin with
22:42poviki guess the gpio line is untouched before some driver calls gpiod_get_optional
22:42povikshame we can't reproduce it
22:43povikwell but i can try changing the gpio before linux boots :)
22:43alyssaOoh, true
22:46povikno breakage here
22:46poviklet me try couple more times
22:49poviknope, didn't reproduce
22:50poviklet's try changing that usleep_range to udelay
22:50povikoh i already tried that, that's what i am running
22:50povikone day...
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:01povikeven if i put the codec in an unresponsive state by messing with its clocking, and leave the gpio in the bad state, that narrow pulse linux does is enough to recover
23:01yrlf has joined #asahi-dev
23:01povikalyssa: how did you do it ?!
23:02alyssapovik: i'm cursed
23:02poviki'm short on other explanations
23:14aead has quit [Ping timeout: 480 seconds]
23:18alyssawitchcraft
…