#
…

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_idstill have to test it though ...
10:43nickchanfl0_id: #size-cells should be 2 under chosen
10:44fl0_idnickchan thx.
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:45fl0_idnickchan I did that
10:45fl0_idI didn't give any errors after adding the bindings
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:48nickchanfl0_id: also the 24 mhz clock should be named differently check t8103.dtsi
10:48chadmedits important in compatible strings that they are consistent
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:49chadmedthe addresses probably all need offsetting by 0x200000000 or something like that
10:50nickchanchadmed: that's what the ranges property do
10:50nickchanranges in ADT I mean
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:52nickchanBut over the years for the most part the only thing that materalized is pmgr_adt2dt
10:52nickchaneverything else is still manual
10:53chadmedtheres very little point to expending the engineering effort until the bindings are upstream because they _will_ change
10:53chadmedeven if theyre perfect
10:54chadmedstuff like aic and the serial port can probably happen
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:55nickchanwdt is probably fine to be in first device tree
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_idthough I adapted a bit to fit newer style, f.e. using cpu-map
10:57fl0_idand clusters
10:58nickchanthat one's style is too old and the one i showed should be fine aside from pinctrl
10:58nickchanWhich can be ignored and removed in bringup
10:59chadmeddont we need the 1ghz clock too for m3+?
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:00chadmedm1n1 should fill that with the iboot framebuffer which will work with simpledrm
11:01nickchan /chosen/framebuffer should be enough for display
11:02nickchanwdt and serial would help bringup too
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
12:33fl0_idjannau thx for explaining
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:23fl0_idso I assume the s5l8960x is still there
13:24fl0_id(this is from the adt)
13:26svenit’s at least v2 for m3, maybe even v3
13:27svenreally, don’t trust the ADT for stuff like compatibles
13:27sventhey work differently there
13:27sventhe adt node e.g. has a version property somewhere
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:33jannauI plan to send that (and the dt-bindings change) after 6.16-rc1\
13:37jannauI would read "aic,3" as "aic3"
13:39jannauiirc the offsets specified in the ADT differ from the aic2 values
13:39chrisl has quit [Ping timeout: 480 seconds]
13:59fl0_idmakes sense
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]
…