Marek Vasut
66db1d3cbd
PCI/pwrctrl: Add optional slot clock for PCI slots
Add the ability to enable optional slot clock into the pwrctrl driver.
This is used to enable slot clock in split-clock topologies, where the PCIe
host/controller supply and PCIe slot supply are not provided by the same
clock. The PCIe host/controller clock should be described in the controller
node as the controller clock, while the slot clock should be described in
controller bridge/slot subnode.
Example DT snippet:
&pcicontroller {
clocks = <&clk_dif 0>; /* PCIe controller clock */
pci@0,0 {
#address-cells = <3>;
#size-cells = <2>;
reg = <0x0 0x0 0x0 0x0 0x0>;
compatible = "pciclass,0604";
device_type = "pci";
clocks = <&clk_dif 1>; /* PCIe slot clock */
vpcie3v3-supply = <®_3p3v>;
ranges;
};
};
Example clock topology:
____________ ____________
| PCIe host | | PCIe slot |
| | | |
| PCIe RX<|==================|>PCIe TX |
| PCIe TX<|==================|>PCIe RX |
| | | |
| PCIe CLK<|======.. ..======|>PCIe CLK |
'------------' || || '------------'
|| ||
____________ || ||
| 9FGV0441 | || ||
| | || ||
| CLK DIF0<|======'' ||
| CLK DIF1<|==========''
| CLK DIF2<|
| CLK DIF3<|
'------------'
Immutable commit for Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2025-06-13 16:59:52 -05:00
..
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-06 11:50:47 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-05-15 16:25:20 -06:00
2025-06-08 09:07:37 +02:00
2025-05-30 09:15:40 -07:00
2025-06-03 11:53:55 -07:00
2025-06-08 09:07:37 +02:00
2025-05-24 08:29:32 +02:00
2025-06-08 09:07:37 +02:00
2025-05-30 20:21:36 +02:00
2025-06-08 09:07:37 +02:00
2025-05-23 13:26:24 -07:00
2025-05-12 23:50:49 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-03 13:24:14 -07:00
2025-06-08 09:07:37 +02:00
2025-06-07 10:05:35 -07:00
2025-05-21 14:08:44 +02:00
2025-05-27 15:22:01 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-03 08:39:20 -07:00
2025-06-08 09:07:37 +02:00
2025-05-22 18:04:43 +02:00
2025-06-08 09:07:37 +02:00
2025-05-24 22:49:07 +02:00
2025-05-27 16:48:47 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-05-19 17:09:50 +03:00
2025-06-08 09:07:37 +02:00
2025-06-05 08:49:30 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-03 11:53:55 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-06 11:50:47 -07:00
2025-05-31 15:44:16 -07:00
2025-05-19 15:37:53 +05:30
2025-06-08 09:07:37 +02:00
2025-06-13 16:59:52 -05:00
2025-06-08 09:07:37 +02:00
2025-05-28 14:55:35 -07:00
2025-06-05 08:20:21 -07:00
2025-05-30 09:46:28 -07:00
2025-06-08 09:07:37 +02:00
2025-05-19 16:11:05 +02:00
2025-05-31 19:12:53 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-06 13:16:50 -07:00
2025-06-06 13:20:26 -07:00
2025-06-02 11:04:29 -07:00
2025-05-20 21:46:10 -05:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-05-16 21:06:11 +02:00
2025-05-31 07:53:30 -07:00
2025-06-05 08:07:24 -07:00
2025-06-06 13:22:31 -07:00
2025-05-21 14:53:17 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-05-27 16:28:02 -07:00
2025-05-21 12:26:51 +02:00
2025-06-08 09:07:37 +02:00
2025-06-06 20:02:51 -07:00
2025-06-06 11:50:47 -07:00
2025-06-08 09:07:37 +02:00
2025-05-27 10:27:53 -04:00
2025-06-04 11:26:17 -07:00
2025-05-29 08:15:35 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-05-27 10:27:54 -04:00
2025-06-06 11:50:47 -07:00
2025-06-08 09:07:37 +02:00
2025-05-23 07:09:00 +02:00