dt-bindings: clock: imx93: Add PDM IPG clk
PATCH 1/3 dt-bindings: clock: imx93: Add PDM IPG clk
From: Chancel Liu <[email protected]>
Add PDM IPG clk.
--- include/dt-bindings/clock/imx93-clock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/dt-bindings/clock/imx93-clock.h +2 -1
@@ -203,6 +203,7 @@#define IMX93_CLK_ARM_PLL 198#define IMX93_CLK_A55_SEL 199#define IMX93_CLK_A55_CORE 200 -#define IMX93_CLK_END 201 +#define IMX93_CLK_PDM_IPG 201 +#define IMX93_CLK_END 202#endif
Signature · 1 line
2.34.1
PATCH 2/3 clk: imx93: Add PDM IPG clk
From: Chancel Liu <[email protected]>
The IPG clk and MCLK of PDM share the same control gate.
--- drivers/clk/imx/clk-imx93.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/clk/imx/clk-imx93.c +3 -1
@@ -32,6 +32,7 @@ static u32 share_count_sai1;static u32 share_count_sai2;static u32 share_count_sai3;static u32 share_count_mub; +static u32 share_count_pdm;static const char *const a55_core_sels[] = {"a55_alt" ,"arm_pll" };static const char *parent_names[MAX_SEL ][4 ] = {
@@ -236,7 +237,8 @@ static const struct imx93_clk_ccgr { { IMX93_CLK_USB_CONTROLLER_GATE, "usb_controller", "hsio_root", 0x9a00, }, { IMX93_CLK_USB_TEST_60M_GATE, "usb_test_60m", "hsio_usb_test_60m_root", 0x9a40, }, { IMX93_CLK_HSIO_TROUT_24M_GATE, "hsio_trout_24m", "osc_24m", 0x9a80, }, - { IMX93_CLK_PDM_GATE, "pdm", "pdm_root", 0x9ac0, }, + { IMX93_CLK_PDM_GATE, "pdm", "pdm_root", 0x9ac0, 0, &share_count_pdm}, + { IMX93_CLK_PDM_IPG, "pdm_ipg_clk", "bus_aon_root", 0x9ac0, 0, &share_count_pdm}, { IMX93_CLK_MQS1_GATE, "mqs1", "sai1_root", 0x9b00, }, { IMX93_CLK_MQS2_GATE, "mqs2", "sai3_root", 0x9b40, }, { IMX93_CLK_AUD_XCVR_GATE, "aud_xcvr", "audio_xcvr_root", 0x9b80, },
Signature · 1 line
2.34.1
Re: [PATCH 2/3] clk: imx93: Add PDM IPG clk
Quoted 7 lines · Jacky Bai
From: Chancel Liu<[email protected]>
The IPG clk and MCLK of PDM share the same control gate.
Reviewed-by Shengjiu Wang<[email protected]>Signed-off-by Chancel Liu<[email protected]>Signed-off-by Jacky Bai<[email protected]>
PATCH 3/3 clk: imx: Add 519.75MHz frequency support for imx9 pll
In reply to Jacky BaiFor video pll, it may need 519.75MHz clock frequency for the LVDS display usage. So add 519.75MHz frequency config support for video pll.
--- drivers/clk/imx/clk-fracn-gppll.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/imx/clk-fracn-gppll.c +1 -0
@@ -81,6 +81,7 @@ static const struct imx_fracn_gppll_rate_table fracn_tbl[] = {PLL_FRACN_GP (650000000U ,162 ,50 ,100 ,0 ,6 ),PLL_FRACN_GP (594000000U ,198 ,0 ,1 ,0 ,8 ),PLL_FRACN_GP (560000000U ,140 ,0 ,1 ,0 ,6 ), +PLL_FRACN_GP (519750000U ,173 ,25 ,100 ,1 ,8 ),PLL_FRACN_GP (498000000U ,166 ,0 ,1 ,0 ,8 ),PLL_FRACN_GP (484000000U ,121 ,0 ,1 ,0 ,6 ), PLL_FRACN_GP(445333333U, 167, 0, 1, 0, 9),
Signature · 1 line
2.34.1
Re: [PATCH 3/3] clk: imx: Add 519.75MHz frequency support for imx9 pll
Quoted 5 lines · Jacky Bai
For video pll, it may need 519.75MHz clock frequency for the LVDS display usage. So add 519.75MHz frequency config support for video pll.
Signed-off-by Jacky Bai<[email protected]>
Quoted 7 lines · Jacky Bai
From: Chancel Liu<[email protected]>
Add PDM IPG clk.
Reviewed-by Shengjiu Wang<[email protected]>Signed-off-by Chancel Liu<[email protected]>Signed-off-by Jacky Bai<[email protected]>
Quoted 9 lines · Jacky Bai
From: Chancel Liu <[email protected]>
Add PDM IPG clk.
Reviewed-by Shengjiu Wang <[email protected]>Signed-off-by Chancel Liu <[email protected]>Signed-off-by Jacky Bai <[email protected]>--- include/dt-bindings/clock/imx93-clock.h | 3 ++-
Best regards,
Krzysztof
Abel Vesa
AppliedQuoted 3 lines · Jacky Bai
Add PDM IPG clk.
Applied, thanks!
[1/3] dt-bindings: clock: imx93: Add PDM IPG clk
commit: 2fe182dd2783c870cb21f20732ff62f9cbb2451a
[2/3] clk: imx93: Add PDM IPG clk
commit: 3ea570486039a12bb9dcbec977c70390b3d3c902
[3/3] clk: imx: Add 519.75MHz frequency support for imx9 pll
commit: 07ba6d1ae524c627ac55bb98d5610d4fc44d3fe7Best regards,
Signature · 1 line
Abel Vesa <[email protected]>