2025-06-03
00:05zumi_ has joined #asahi-dev
00:07Calandracas has quit [Remote host closed the connection]
00:08chrisl has joined #asahi-dev
00:09zumi has quit [Ping timeout: 480 seconds]
00:10zumi_ is now known as zumi
00:16pb17 has quit [Ping timeout: 480 seconds]
00:16chrisl has quit [Ping timeout: 480 seconds]
00:24pb17 has joined #asahi-dev
00:31amarioguy has quit [Remote host closed the connection]
00:59chrisl has joined #asahi-dev
01:07chrisl has quit [Ping timeout: 480 seconds]
01:15chrisl has joined #asahi-dev
01:23chrisl has quit [Ping timeout: 480 seconds]
01:33BlueMatt_ has quit [Ping timeout: 480 seconds]
01:35BlueMatt has joined #asahi-dev
01:44Drago has quit [Ping timeout: 480 seconds]
01:49chrisl has joined #asahi-dev
01:51Drago has joined #asahi-dev
01:58Calandracas has joined #asahi-dev
02:00chrisl has quit [Ping timeout: 480 seconds]
02:39tobhe_ has joined #asahi-dev
02:41hexdump02 has joined #asahi-dev
02:43hexdump01 has quit [Ping timeout: 480 seconds]
02:46tobhe has quit [Ping timeout: 480 seconds]
02:50pb17 has quit [Ping timeout: 480 seconds]
02:54pthariensflame has joined #asahi-dev
03:00chrisl has joined #asahi-dev
03:06pb17 has joined #asahi-dev
03:08chrisl has quit [Ping timeout: 480 seconds]
03:23nora_ has joined #asahi-dev
03:24nora has quit [Ping timeout: 480 seconds]
03:37halloy-user has joined #asahi-dev
03:38halloy-user has quit []
03:40pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
03:52Larwive has joined #asahi-dev
04:06chrisl has joined #asahi-dev
04:14chrisl has quit [Ping timeout: 480 seconds]
04:15Pokemod97 has quit []
04:17Pokemod97 has joined #asahi-dev
04:22john-cabaj has quit [Ping timeout: 480 seconds]
04:42BlueMatt has quit []
04:42BlueMatt has joined #asahi-dev
05:19halloy-user has joined #asahi-dev
05:20halloy-user has quit []
05:51Drago has quit [Ping timeout: 480 seconds]
05:53chrisl has joined #asahi-dev
05:54Drago has joined #asahi-dev
05:57mripard has joined #asahi-dev
06:01chrisl has quit [Ping timeout: 480 seconds]
06:02Drago has quit [Ping timeout: 480 seconds]
06:04zumi_ has joined #asahi-dev
06:09zumi has quit [Ping timeout: 480 seconds]
06:09Drago has joined #asahi-dev
06:09zumi_ is now known as zumi
06:12pb17 has quit [Ping timeout: 480 seconds]
06:20Larwive has quit [Ping timeout: 480 seconds]
06:33pb17 has joined #asahi-dev
06:37Drago has quit [Ping timeout: 480 seconds]
06:40vimproved has quit [Ping timeout: 480 seconds]
06:42vimproved has joined #asahi-dev
06:45Drago has joined #asahi-dev
06:45yuyichao_ has quit [Ping timeout: 480 seconds]
06:46chadmed has quit [Quit: Konversation terminated!]
06:46chadmed has joined #asahi-dev
06:57ravikant_ has joined #asahi-dev
06:58Drago has quit [Ping timeout: 480 seconds]
08:21midou has quit [Ping timeout: 480 seconds]
08:38midou has joined #asahi-dev
08:45chrisl has joined #asahi-dev
08:53chrisl has quit [Ping timeout: 480 seconds]
09:01kraem has quit [Remote host closed the connection]
09:01kraem has joined #asahi-dev
09:03chrisl has joined #asahi-dev
10:08chrisl has quit [Ping timeout: 480 seconds]
10:20yuyichao_ has joined #asahi-dev
10:36chrisl has joined #asahi-dev
10:39fl0_idmade a super basic M3 device tree https://github.com/step21/linux-asahi/commit/403b936c9e97362dbffee3a01f0f3b21fbea6bf2
10:44nickchannormally i would recommend running dtbs_check but the downstream tree doesn't adhere to that so i can't recommend that here
10:44chrisl has quit [Ping timeout: 480 seconds]
10:46fl0_idI at least have some inconsistency still where sometimes I have j514 but in other places like the bindings I use j514c
10:46fl0_idnot sure how important those small differences are. I have the c, but supposedly there is also an m variant
10:48chadmedits also just important in general because the dt maintainers are (rightfully) fastidious about that stuff
10:48nickchansome of the address also look suspicious - make sure that you considered ADT's ranges property when computing addresses
10:49nickchanand t6031 aic is most definitely not compatible with "apple,aic" which refers to s5l8960x's aic
10:51chadmedonce a bunch more bindings find their way upstream it would be nice for m1n1 to generate them from the ADT where possible
10:52nickchanthe plan was in fact to generate parts of fdt from adt offline and then add the generated results to repo
10:53chadmedtheres very little point to expending the engineering effort until the bindings are upstream because they _will_ change
10:54nickchan<https://github.com/AsahiLinux/linux/commit/d23457abac1e2f309404e63c7a390d9a32bce9e6> this is what a minimal device tree would look like and id get rid of pinctrl for initial bringup even
10:56nickchani guess i can think about auto generate adt cause doing it for 69 (this is the actual number of pre-M1 skus supported in linux) skus is not fun
10:56fl0_idthx I will take a look again later. I'm very aware that there are still issues, likely I did not conisder the ranges property
10:57fl0_idI was in the past pointed to this as a minimal device tree https://github.com/AsahiLinux/linux/commit/7d2d16ccf15d8eb84accfaf44a0b324f36e39588#diff-845c07f30f0f94856b22d7b50c0ff3d27a961abeffefcdfab01f2e8cd64569cc
11:00fl0_idsure. I think I looked at that one too. and very little if anything should be extra. I only though about adding the display, as it's a laptop, but hopfeully framebuffer works without as this needs DART or sth I think
11:21Tramtris1 has joined #asahi-dev
11:23Tramtrist has quit [Ping timeout: 480 seconds]
11:43ravikant_ has quit [Ping timeout: 480 seconds]
12:00jannauahdeb[mds]: the `mv -f "$TARGET" "${TARGET}.old"` is unchanged in that commit. using `cp --preserve=timestamps -f` should make the switch atomic. feel free to create a PR
12:04ravikant_ has joined #asahi-dev
12:04jannau#address-cells / #size-cells specify the layout of the "reg" property. address-cells = 1, #size-cells = 0 is perfectly valid in some places, for example for i2c devices
12:05zumi_ has joined #asahi-dev
12:10zumi has quit [Ping timeout: 480 seconds]
12:10zumi_ is now known as zumi
12:33fl0_idnickchan thx, good to know that's what I was hoping. I have serial I think. not sure about wdt
13:23fl0_idnickchan are you sure that "apple,aic" cannot be compatible? while the adt has compatible = [aic,3] for the aic, the wdt has compatible = [wdt,t8101, wdt,s5l8960x]
13:27svenI know that v3 introduced some more properties for register offsets but they seems similar to v2
13:31chrisl has joined #asahi-dev
13:32jannauDaniel and I followed Apple's v3 in m1n1 and linux https://github.com/jannau/linux/commit/3daf98a7eac1ba8ee972c2d9d381c1aba39cd7b2
13:39chrisl has quit [Ping timeout: 480 seconds]
14:00fl0_idsth else - if there is not just one address and size for a register, is just the first one used for the dt, or is there a more complicated calculation e.g. how a set of five address / size pairs for a reg entry are transcribed?
14:12john-cabaj has joined #asahi-dev
14:27chrisl has joined #asahi-dev
14:35chrisl has quit [Ping timeout: 480 seconds]
15:10mildsunrise31 has joined #asahi-dev
15:10mildsunrise3 has quit [Remote host closed the connection]
15:10mildsunrise31 is now known as mildsunrise3
15:14marcusr has quit [Ping timeout: 480 seconds]
15:14cyrinux94907 has quit [Ping timeout: 480 seconds]
15:15Larwive has joined #asahi-dev
15:16agraf has quit [Ping timeout: 480 seconds]
15:16agraf has joined #asahi-dev
15:18zkrx has quit [Ping timeout: 480 seconds]
15:20zkrx has joined #asahi-dev
15:23mattia013_ has joined #asahi-dev
15:24marcusr has joined #asahi-dev
15:58mattia013_ has quit [Ping timeout: 480 seconds]
16:08Larwive has quit [Ping timeout: 480 seconds]
16:14ravikant_ has quit []
16:16Larwive has joined #asahi-dev
16:19chrisl has joined #asahi-dev
16:24Larwive has quit [Ping timeout: 480 seconds]
16:27chrisl has quit [Ping timeout: 480 seconds]
16:33Larwive has joined #asahi-dev
16:35malfunction54 has quit [Remote host closed the connection]
16:36malfunction54 has joined #asahi-dev
16:36Drago has joined #asahi-dev
17:00iyes has joined #asahi-dev
17:20chrisl has joined #asahi-dev
17:23WindowPain1 has joined #asahi-dev
17:28chrisl has quit [Ping timeout: 480 seconds]
17:29WindowPain has quit [Ping timeout: 480 seconds]
17:29WindowPain1 is now known as WindowPain
17:32cylm has joined #asahi-dev
18:05zumi_ has joined #asahi-dev
18:09zumi has quit [Ping timeout: 480 seconds]
18:10zumi_ is now known as zumi
18:21chrisl has joined #asahi-dev
18:29chrisl has quit [Ping timeout: 480 seconds]
18:58ellyq_ has quit []
18:59Drago has quit [Ping timeout: 480 seconds]
19:02iyes has quit [Quit: Leaving]
19:02ellyq has joined #asahi-dev
19:21chrisl has joined #asahi-dev
19:22Drago has joined #asahi-dev
19:26cylm_ has joined #asahi-dev
19:27pb17 has quit [Ping timeout: 480 seconds]
19:27cylm has quit [Ping timeout: 480 seconds]
19:29chrisl has quit [Ping timeout: 480 seconds]
19:30Drago has quit [Ping timeout: 480 seconds]
19:34cylm has joined #asahi-dev
19:36cylm_ has quit [Ping timeout: 480 seconds]
19:39leah2 has quit [Ping timeout: 480 seconds]
19:40pb17 has joined #asahi-dev
19:40ol0ck has joined #asahi-dev
19:48leah2 has joined #asahi-dev
19:50iyes has joined #asahi-dev
20:08chrisl has joined #asahi-dev
20:16chrisl has quit [Ping timeout: 480 seconds]
20:25iyes has quit [Quit: Leaving]
20:36Larwive has quit [Ping timeout: 480 seconds]
20:42ddxtanx_ has quit [Remote host closed the connection]
20:53chrisl has joined #asahi-dev
21:01chrisl has quit [Ping timeout: 480 seconds]
21:24ddxtanx has joined #asahi-dev
21:39lion328 has quit [Quit: Leaving]
21:51chrisl has joined #asahi-dev
21:57lion328 has joined #asahi-dev
21:59chrisl has quit [Ping timeout: 480 seconds]
21:59pthariensflame has joined #asahi-dev
22:05pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
23:01master91122 has quit [Quit: Connection closed for inactivity]
23:18cylm has quit [Quit: WeeChat 4.6.3]
23:45chrisl has joined #asahi-dev
23:49phire_ has joined #asahi-dev
23:49phire is now known as Guest17267
23:49phire_ is now known as phire
23:52Guest17267 has quit [Ping timeout: 480 seconds]
23:53chrisl has quit [Ping timeout: 480 seconds]