#
✕ nick:j_ey
#asahi · 2021-10-10 14:43
j_ey(at least corelliums keyboard code seems to call get() on an output reg, but that might just be wrong, will look at more examples)
#asahi · 2021-10-10 14:31
j_eyI need to look into that too, I think it might be for both
#asahi · 2021-10-10 14:31
j_eyuhh, good point
#asahi · 2021-10-10 14:29
j_eymarcan: here's what I have right now (untested) https://paste.gg/p/anonymous/8ce383b0d2b84f82a99b7fcd466f4b1d
#asahi · 2021-10-10 14:06
j_eyso you can say GPIO_DATA is a 'volatile' register in regmap
#asahi · 2021-10-10 14:06
j_eyother GPIOs hw are different in that the registers are split differently. in apple's pinctrl a register has all its value in one place. other GPIO/pinctrl have registers like: GPIO_DATA where each bit corresponds to the output data of pin n
#asahi · 2021-10-10 14:01
j_eyhm. I clearly need to read more about the regmap APIs!
#asahi · 2021-10-10 13:51
j_eyoh.. I just realised I can do a normal readl in the non-cache case, and dont use regmap for that one call
#asahi · 2021-10-10 13:19
j_ey(regmap maintainer works at the same place as me, so hopefully I can get help :P)
#asahi · 2021-10-10 13:16
j_eyI will talk to the regmap maintainer, if I can't work it out soon
#asahi · 2021-10-10 13:06
j_ey(those are regcache_cache_bypass or the volatile_reg callback)
#asahi · 2021-10-10 13:05
j_eyI can (so far that I've found), either turn off caching for the entire map (so maybe need some locking), or using a callback function I can say if a register is volatile or not (and only say its volatile if its an input reg)
#asahi · 2021-10-10 13:04
j_eyI'm trying to figure out the best way of doing that, there doesn't seem to be a regmap_read_no_cache function.
#asahi · 2021-10-10 13:02
j_eymarcan: yeah, but I need to bypass the cache when the register is an input
#asahi · 2021-10-10 10:17
j_eyI'm not sure if this regmap stuff will end up being a bit of a hack. I think we only want to cache if it's an output register
#asahi · 2021-10-09 16:41
j_eysven: gg i2c is ""done""!
#asahi · 2021-10-09 15:11
j_eyif var != boot-device { ...
#asahi · 2021-10-09 15:09
j_eyI thought there was a cli for setting nvram vars?
#asahi · 2021-10-09 14:31
j_eysven: long detour
#asahi · 2021-10-09 14:31
j_ey;)
#asahi · 2021-10-09 14:20
j_eyAn Afternoon With The Gigalocker by sven
#asahi · 2021-10-09 14:18
j_eyhopefully FUSE aapfs would be enough
#asahi · 2021-10-09 14:17
j_eysven: does linux need apfs support, or is it some initialisation stuff m1n1 could do?
#asahi · 2021-10-09 14:15
j_eypatience[m]: TouchID would be cool
#asahi · 2021-10-09 08:37
j_eyddoesnt work = SError?
#asahi · 2021-10-09 08:35
j_ey-b
#asahi · 2021-10-09 08:34
j_eyisnt that what marcan tried b?
#asahi · 2021-10-09 08:17
j_eymarcan: klange lol jinx
#asahi · 2021-10-09 08:17
j_eywrite 1 to clear?
#asahi · 2021-10-09 08:16
j_eyw1c?
#asahi · 2021-10-08 18:36
j_eyGlanzmann: oh, missed your other reply. ok!
#asahi · 2021-10-08 18:35
j_eyGlanzmann: < Glanzmann> I was able to make the ipxe.efi work using 'dhcp' and chain http://10.10.10.1/ipxe/ipxe.cfg
#asahi · 2021-10-08 18:35
j_eyGlanzmann: what was that ipxe.efi thing about?
#asahi · 2021-10-08 18:34
j_eyneurodiverse
#asahi · 2021-10-08 16:43
j_ey<3
#asahi · 2021-10-08 16:41
j_eyyou just lost all your street credibility :p
#asahi · 2021-10-08 16:28
j_eymaz: i can play thw triangle
#asahi · 2021-10-08 16:26
j_eyaw, would have gone to see yoy play :P
#asahi · 2021-10-08 16:24
j_eyask for help back marcan :P
#asahi · 2021-10-08 16:23
j_eypretend the apartment is a mixer
#asahi · 2021-10-08 16:19
j_eychair isnt even that large!
#asahi · 2021-10-08 16:16
j_eyrelatable
#asahi · 2021-10-08 16:15
j_eyhah
#asahi · 2021-10-08 16:13
j_eyjust move apartments
#asahi · 2021-10-08 16:12
j_eylol
#asahi · 2021-10-08 16:11
j_eymaz: yeah, we actually got sun!
#asahi · 2021-10-08 16:10
j_eymarcan: it was a bad week to go on holiday
#asahi · 2021-10-08 16:09
j_eypinctrl v3 next week I hope
#asahi · 2021-10-08 16:07
j_eypff
#asahi · 2021-10-08 16:07
j_eysven: i bet marcan could do it tonight

plus ›