linux-stable/drivers/clk/mediatek
Daniel Golle d3e8a91a84 clk: mediatek: mt7988-infracfg: fix clocks for 2nd PCIe port
Due to what seems to be an undocumented oddity in MediaTek's MT7988
SoC design the CLK_INFRA_PCIE_PERI_26M_CK_P2 clock requires
CLK_INFRA_PCIE_PERI_26M_CK_P3 to be enabled.

This currently leads to PCIe port 2 not working in Linux.

Reflect the apparent relationship in the clk driver to make sure PCIe
port 2 of the MT7988 SoC works.

Fixes: 4b4719437d ("clk: mediatek: add drivers for MT7988 SoC")
Suggested-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/1da2506a51f970706bf4ec9509dd04e0471065e5.1710367453.git.daniel@makrotopia.org
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2024-04-10 20:50:26 -07:00
..
Kconfig clk: mediatek: add drivers for MT7988 SoC 2024-01-03 15:57:02 -08:00
Makefile clk: mediatek: add drivers for MT7988 SoC 2024-01-03 15:57:02 -08:00
clk-apmixed.c
clk-cpumux.c clk: mediatek: cpumux: Add a determine_rate hook 2023-06-08 18:39:29 -07:00
clk-cpumux.h
clk-fhctl.c
clk-fhctl.h
clk-gate.c
clk-gate.h
clk-mt2701-aud.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt2701-bdp.c
clk-mt2701-eth.c
clk-mt2701-g3d.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt2701-hif.c
clk-mt2701-img.c
clk-mt2701-mm.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt2701-vdec.c
clk-mt2701.c clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data 2023-10-18 18:16:38 -07:00
clk-mt2712-apmixedsys.c clk: mediatek: Convert all remaining drivers to platform_driver's .remove_new() 2023-05-10 14:00:46 -07:00
clk-mt2712-bdp.c
clk-mt2712-img.c
clk-mt2712-jpgdec.c
clk-mt2712-mfg.c
clk-mt2712-mm.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt2712-vdec.c
clk-mt2712-venc.c
clk-mt2712.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt6765-audio.c
clk-mt6765-cam.c
clk-mt6765-img.c
clk-mt6765-mipi0a.c
clk-mt6765-mm.c
clk-mt6765-vcodec.c
clk-mt6765.c clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data 2023-10-18 18:15:10 -07:00
clk-mt6779-aud.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt6779-cam.c
clk-mt6779-img.c
clk-mt6779-ipe.c
clk-mt6779-mfg.c
clk-mt6779-mm.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt6779-vdec.c
clk-mt6779-venc.c
clk-mt6779.c clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data 2023-10-18 18:15:14 -07:00
clk-mt6795-apmixedsys.c clk: mediatek: Convert all remaining drivers to platform_driver's .remove_new() 2023-05-10 14:00:46 -07:00
clk-mt6795-infracfg.c clk: mediatek: Convert all remaining drivers to platform_driver's .remove_new() 2023-05-10 14:00:46 -07:00
clk-mt6795-mfg.c
clk-mt6795-mm.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt6795-pericfg.c clk: mediatek: Convert all remaining drivers to platform_driver's .remove_new() 2023-05-10 14:00:46 -07:00
clk-mt6795-topckgen.c
clk-mt6795-vdecsys.c
clk-mt6795-vencsys.c
clk-mt6797-img.c
clk-mt6797-mm.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt6797-vdec.c
clk-mt6797-venc.c
clk-mt6797.c clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data 2023-10-18 18:15:15 -07:00
clk-mt7622-apmixedsys.c clk: mediatek: mt7622-apmixedsys: Fix an error handling path in clk_mt8135_apmixed_probe() 2024-02-21 20:51:57 -08:00
clk-mt7622-aud.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7622-eth.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7622-hif.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7622-infracfg.c clk: mediatek: Convert all remaining drivers to platform_driver's .remove_new() 2023-05-10 14:00:46 -07:00
clk-mt7622.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7629-eth.c clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data 2023-10-18 18:15:15 -07:00
clk-mt7629-hif.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7629.c clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data 2023-10-18 18:15:15 -07:00
clk-mt7981-apmixed.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7981-eth.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7981-infracfg.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7981-topckgen.c clk: mediatek: mt7981-topckgen: flag SGM_REG_SEL as critical 2024-02-21 20:55:50 -08:00
clk-mt7986-apmixed.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7986-eth.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7986-infracfg.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7986-topckgen.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt7988-apmixed.c clk: mediatek: add drivers for MT7988 SoC 2024-01-03 15:57:02 -08:00
clk-mt7988-eth.c clk: mediatek: add drivers for MT7988 SoC 2024-01-03 15:57:02 -08:00
clk-mt7988-infracfg.c clk: mediatek: mt7988-infracfg: fix clocks for 2nd PCIe port 2024-04-10 20:50:26 -07:00
clk-mt7988-topckgen.c clk: mediatek: add drivers for MT7988 SoC 2024-01-03 15:57:02 -08:00
clk-mt7988-xfipll.c clk: mediatek: add drivers for MT7988 SoC 2024-01-03 15:57:02 -08:00
clk-mt8135-apmixedsys.c clk: mediatek: mt8135: Fix an error handling path in clk_mt8135_apmixed_probe() 2024-02-21 20:51:33 -08:00
clk-mt8135.c
clk-mt8167-apmixedsys.c
clk-mt8167-aud.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8167-img.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8167-mfgcfg.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8167-mm.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8167-vdec.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8167.c
clk-mt8173-apmixedsys.c clk: mediatek: clk-mt8173-apmixedsys: Use common error handling code in clk_mt8173_apmixed_probe() 2024-02-28 17:13:53 -08:00
clk-mt8173-img.c
clk-mt8173-infracfg.c clk: mediatek: Convert all remaining drivers to platform_driver's .remove_new() 2023-05-10 14:00:46 -07:00
clk-mt8173-mm.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8173-pericfg.c
clk-mt8173-topckgen.c Merge branches 'clk-platform', 'clk-i2c', 'clk-mediatek', 'clk-i2cid' and 'clk-vc5' into clk-next 2023-06-26 08:54:19 -07:00
clk-mt8173-vdecsys.c
clk-mt8173-vencsys.c
clk-mt8183-apmixedsys.c
clk-mt8183-audio.c
clk-mt8183-cam.c
clk-mt8183-img.c
clk-mt8183-ipu0.c
clk-mt8183-ipu1.c
clk-mt8183-ipu_adl.c
clk-mt8183-ipu_conn.c
clk-mt8183-mfgcfg.c
clk-mt8183-mm.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8183-vdec.c
clk-mt8183-venc.c
clk-mt8183.c clk: mediatek: mt8183: Correct parent of CLK_INFRA_SSPM_32K_SELF 2024-02-21 20:55:30 -08:00
clk-mt8186-apmixedsys.c clk: mediatek: Convert all remaining drivers to platform_driver's .remove_new() 2023-05-10 14:00:46 -07:00
clk-mt8186-cam.c
clk-mt8186-img.c
clk-mt8186-imp_iic_wrap.c
clk-mt8186-infra_ao.c
clk-mt8186-ipe.c
clk-mt8186-mcu.c
clk-mt8186-mdp.c
clk-mt8186-mfg.c
clk-mt8186-mm.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8186-topckgen.c Merge branches 'clk-platform', 'clk-i2c', 'clk-mediatek', 'clk-i2cid' and 'clk-vc5' into clk-next 2023-06-26 08:54:19 -07:00
clk-mt8186-vdec.c
clk-mt8186-venc.c
clk-mt8186-wpe.c
clk-mt8188-adsp_audio26m.c
clk-mt8188-apmixedsys.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8188-cam.c
clk-mt8188-ccu.c
clk-mt8188-img.c
clk-mt8188-imp_iic_wrap.c
clk-mt8188-infra_ao.c Merge branches 'clk-platform', 'clk-i2c', 'clk-mediatek', 'clk-i2cid' and 'clk-vc5' into clk-next 2023-06-26 08:54:19 -07:00
clk-mt8188-ipe.c
clk-mt8188-mfg.c
clk-mt8188-peri_ao.c
clk-mt8188-topckgen.c clk: mediatek: mt8188-topckgen: Refactor parents for top_dp/edp muxes 2024-01-03 15:55:08 -08:00
clk-mt8188-vdec.c
clk-mt8188-vdo0.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8188-vdo1.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8188-venc.c
clk-mt8188-vpp0.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8188-vpp1.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8188-wpe.c
clk-mt8192-apmixedsys.c clk: mediatek: Convert all remaining drivers to platform_driver's .remove_new() 2023-05-10 14:00:46 -07:00
clk-mt8192-aud.c
clk-mt8192-cam.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8192-img.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8192-imp_iic_wrap.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8192-ipe.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8192-mdp.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8192-mfg.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8192-mm.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8192-msdc.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8192-scp_adsp.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8192-vdec.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8192-venc.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8192.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8195-apmixedsys.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8195-apusys_pll.c clk: mediatek: Convert all remaining drivers to platform_driver's .remove_new() 2023-05-10 14:00:46 -07:00
clk-mt8195-cam.c
clk-mt8195-ccu.c
clk-mt8195-img.c
clk-mt8195-imp_iic_wrap.c
clk-mt8195-infra_ao.c
clk-mt8195-ipe.c
clk-mt8195-mfg.c
clk-mt8195-peri_ao.c
clk-mt8195-scp_adsp.c
clk-mt8195-topckgen.c clk: mediatek: mt8195-topckgen: Refactor parents for top_dp/edp muxes 2024-01-03 15:55:06 -08:00
clk-mt8195-vdec.c
clk-mt8195-vdo0.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8195-vdo1.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8195-venc.c
clk-mt8195-vpp0.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8195-vpp1.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8195-wpe.c
clk-mt8365-apmixedsys.c
clk-mt8365-apu.c
clk-mt8365-cam.c
clk-mt8365-mfg.c
clk-mt8365-mm.c clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mt8365-vdec.c
clk-mt8365-venc.c
clk-mt8365.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8516-apmixedsys.c
clk-mt8516-aud.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-mt8516.c
clk-mtk.c clk: mediatek: Do a runtime PM get on controllers during probe 2024-04-10 20:50:06 -07:00
clk-mtk.h clk: mediatek: Make mtk_clk_pdev_remove() return void 2023-05-10 13:36:03 -07:00
clk-mux.c clk: mediatek: clk-mux: Support custom parent indices for muxes 2024-01-03 15:55:02 -08:00
clk-mux.h clk: mediatek: clk-mux: Support custom parent indices for muxes 2024-01-03 15:55:02 -08:00
clk-pll.c clk: mediatek: add pcw_chg_bit control for PLLs of MT7988 2024-01-03 15:55:19 -08:00
clk-pll.h clk: mediatek: add pcw_chg_bit control for PLLs of MT7988 2024-01-03 15:55:19 -08:00
clk-pllfh.c
clk-pllfh.h
reset.c
reset.h