#asahi-dev · 2025-08-27 13:47
kettenisOpenBSD uses apple,pmgr#asahi-dev · 2025-08-27 13:46
jannaufeels silly to do with "apple,pmgr" which isn't even used in a driver. it's relying on "syscon", "simple-mfd"#asahi-dev · 2025-08-27 13:26
svenmaybe drop them a year or two down the road#asahi-dev · 2025-08-27 13:25
svenyeah, i think it makes sense here to keep the generic ones around for a while#asahi-dev · 2025-08-27 13:25
jannauI'll add the generic compatibles for apple,t6020-* in m1n1#asahi-dev · 2025-08-27 13:23
jannauKrzysztof replied. 15 or so more patches, redoing the dt-bindings and updating the device trees#asahi-dev · 2025-08-27 13:18
jannauthe mac pro has this problem only for internal devices (which are still behind the pcie switch) so speaking about slots sounds equally wrong#asahi-dev · 2025-08-27 13:16
jannauit uses of_regulator_bulk_get_all() so we could add our own -supplies#asahi-dev · 2025-08-27 13:14
kettenisso yes, for the mac pro that is the answer#asahi-dev · 2025-08-27 13:13
jannauah, the supplies mention slot#asahi-dev · 2025-08-27 13:11
jannauthe "slot" controller matches "pciclass,0604" which we have#asahi-dev · 2025-08-27 13:08
kettenisalthough that seems overkill for when there just is a single GPIO that needs to be toggled#asahi-dev · 2025-08-27 13:07
kettenisI think a similar discussion eventually led to drivers/power/sequencing/pwrseq-qcom-wcn.c#asahi-dev · 2025-08-27 13:06
kettenisI remember at some point during the discussion the point was raised that there is no "slot"#asahi-dev · 2025-08-27 13:01
jannauthe pci slot power control driver uses the pcie supplies from https://github.com/devicetree-org/dt-schema/blob/v2024.11/dtschema/schemas/pci/pci-bus-common.yaml#L153 which we could back by gpio driven dummy regulator#asahi-dev · 2025-08-27 12:58
jannauI want to look if https://lore.kernel.org/linux-pci/20250819-pci-pwrctrl-perst-v1-0-4b74978d2007@oss.qualcomm.com/ works for the mac pro. if it does it should work for all other devices#asahi-dev · 2025-08-27 12:56
jannauthat alone is not enough since it needs to be synchronized with port probing#asahi-dev · 2025-08-27 12:55
jannaulinux has since a while a PCI slot power control driver.#asahi-dev · 2025-08-27 12:54
jannauwhy did I think we had the pwren-gpios in in the dt-bindings? I looked for mac pro support where it's more complicated due to the pcie switch#asahi-dev · 2025-08-27 12:51
jannauthe driver code is D3 handling. i.e. completely unrelated#asahi-dev · 2025-08-27 12:49
kettenisjannau: do you remember where? We have pwren-gpios in the PCIe port nodes, but that got NACKed IIRC#asahi-dev · 2025-08-27 11:48
chaos_princessit is a mmio address, and it writes there#asahi-dev · 2025-08-27 11:48
jannauno. looks like mmio addresses but the trailing 31 zeros are suspicios#asahi-dev · 2025-08-27 11:42
chaos_princessdoes anyone know anything about "ioa-parent" (it is dart and maybe pmgr related)#asahi-dev · 2025-08-27 11:41
svenbut he may want something like "apple,t6020-spi", "apple,t8103-spi" instead of "apple,t6020-spi", "apple,spi"#asahi-dev · 2025-08-27 11:40
sveni think dart is actually fine because there's no "apple,dart" fallback#asahi-dev · 2025-08-27 11:40
svenack#asahi-dev · 2025-08-27 11:38
jannauI'll ask for a clarification#asahi-dev · 2025-08-27 11:38
jannauI missed that. That would require driver changes as we would have to add :apple,t8110-dart" to the driver to use compatible = "apple,t6020-dart", "apple,t8110-dart"; in new device trees#asahi-dev · 2025-08-27 11:34
svenhttps://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/ "You just need to remember not to grow the old items/pattern with generic compatible." i'm not sure if he also wants us to stop adding any compatible hardware to the generic fallback list#asahi-dev · 2025-08-27 11:33
jannaushall I ask for acked-by to take the dt-bindings patches through the asahi tree?#asahi-dev · 2025-08-27 11:31
jannaukettenis: I've seen there is power handling in marcan's outstanding patches prior to bcm4388 support#asahi-dev · 2025-08-27 11:25
jannauI plan to send it later today#asahi-dev · 2025-08-27 11:24
jannauDT t602x series is in https://github.com/jannau/linux/commits/b4/dt-apple-t6020/#asahi-dev · 2025-08-27 11:21
chadmedv2 of smc stuff sent#asahi-dev · 2025-08-27 09:59
kettenisjannau: at some point we need to discuss the power control for the wifi chip with upstream#asahi-dev · 2025-08-27 08:57
svenyeah#asahi-dev · 2025-08-27 08:56
chaos_princessit should be ok then#asahi-dev · 2025-08-27 08:56
jannauI have the wifi node in the t602x DT submission so the compatible is used (and causes dtbs_check complaints if it's omitted from the bindings)#asahi-dev · 2025-08-27 08:49
chadmedaccording to some theyre not even supposed to do that :P #asahi-dev · 2025-08-27 08:48
svenafter all the bindings are supposed to just describe hardware...#asahi-dev · 2025-08-27 08:48
svenshould be fine, we also got those gpu bindings upstream and only chaos tree is using them so far#asahi-dev · 2025-08-27 08:48
chadmedunfortunately i dont think EAS has any smarts in it to deal with clusters sanely#asahi-dev · 2025-08-27 08:47
chaos_princessiirc bindings need either a driver, or a tree that uses them#asahi-dev · 2025-08-27 08:47
jannauis it acceptable to add bcm4388 to brcmfmac's dt-bindings without driver support?#asahi-dev · 2025-08-27 08:46
chadmedi think what youre after is probably the job of EAS and a cpuidle driver working in concert#asahi-dev · 2025-08-27 08:45
chadmedandroid has a litany of insane schedulers that all do weird shit incompatible with upstream#asahi-dev · 2025-08-27 08:41
jannauotherwise I'd say that's something https://docs.kernel.org/scheduler/sched-energy.html should consider#asahi-dev · 2025-08-27 08:34
jannauscx_nest seems match somewhat#asahi-dev · 2025-08-27 08:26
jannaumaybe there is a sched_ext scheduler which does this (or it's easy to add this via sched_ext)