* [PATCH 0/2] imx: add hdmi 27m phy clk @ 2022-02-25 9:00 Peng Fan (OSS) 2022-02-25 9:00 ` [PATCH 1/2] arm64: dts: imx8mq: add hdmi phy 27m clock Peng Fan (OSS) 2022-02-25 9:00 ` [PATCH 2/2] clk: imx8mq: add 27m phy pll ref clock Peng Fan (OSS) 0 siblings, 2 replies; 7+ messages in thread From: Peng Fan (OSS) @ 2022-02-25 9:00 UTC (permalink / raw) To: sboyd, robh+dt, shawnguo, s.hauer, abel.vesa Cc: kernel, festevam, linux-imx, linux-clk, devicetree, linux-arm-kernel, linux-kernel, Peng Fan From: Peng Fan <peng.fan@nxp.com> add hdmi 27m phy clk, so pll could source from this clock Peng Fan (2): arm64: dts: imx8mq: add hdmi phy 27m clock clk: imx8mq: add 27m phy pll ref clock arch/arm64/boot/dts/freescale/imx8mq.dtsi | 7 +++++++ drivers/clk/imx/clk-imx8mq.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] arm64: dts: imx8mq: add hdmi phy 27m clock 2022-02-25 9:00 [PATCH 0/2] imx: add hdmi 27m phy clk Peng Fan (OSS) @ 2022-02-25 9:00 ` Peng Fan (OSS) 2022-02-25 12:09 ` Abel Vesa 2022-04-06 13:24 ` Shawn Guo 2022-02-25 9:00 ` [PATCH 2/2] clk: imx8mq: add 27m phy pll ref clock Peng Fan (OSS) 1 sibling, 2 replies; 7+ messages in thread From: Peng Fan (OSS) @ 2022-02-25 9:00 UTC (permalink / raw) To: sboyd, robh+dt, shawnguo, s.hauer, abel.vesa Cc: kernel, festevam, linux-imx, linux-clk, devicetree, linux-arm-kernel, linux-kernel, Peng Fan From: Peng Fan <peng.fan@nxp.com> The i.MX8MQ PLL support hdmi phy 27m as pll reference clock, so add a fixed clock for it. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 5b3e849f554d..1eca2b431467 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -63,6 +63,13 @@ osc_27m: clock-osc-27m { clock-output-names = "osc_27m"; }; + hdmi_phy_27m: clock-hdmi-phy-27m { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + clock-output-names = "hdmi_phy_27m"; + }; + clk_ext1: clock-ext1 { compatible = "fixed-clock"; #clock-cells = <0>; -- 2.25.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] arm64: dts: imx8mq: add hdmi phy 27m clock 2022-02-25 9:00 ` [PATCH 1/2] arm64: dts: imx8mq: add hdmi phy 27m clock Peng Fan (OSS) @ 2022-02-25 12:09 ` Abel Vesa 2022-04-06 13:24 ` Shawn Guo 1 sibling, 0 replies; 7+ messages in thread From: Abel Vesa @ 2022-02-25 12:09 UTC (permalink / raw) To: Peng Fan (OSS) Cc: sboyd, robh+dt, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-clk, devicetree, linux-arm-kernel, linux-kernel, Peng Fan On 22-02-25 17:00:01, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > The i.MX8MQ PLL support hdmi phy 27m as pll reference clock, > so add a fixed clock for it. > > Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Abel Vesa <abel.vesa@nxp.com> > --- > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index 5b3e849f554d..1eca2b431467 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -63,6 +63,13 @@ osc_27m: clock-osc-27m { > clock-output-names = "osc_27m"; > }; > > + hdmi_phy_27m: clock-hdmi-phy-27m { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <27000000>; > + clock-output-names = "hdmi_phy_27m"; > + }; > + > clk_ext1: clock-ext1 { > compatible = "fixed-clock"; > #clock-cells = <0>; > -- > 2.25.1 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] arm64: dts: imx8mq: add hdmi phy 27m clock 2022-02-25 9:00 ` [PATCH 1/2] arm64: dts: imx8mq: add hdmi phy 27m clock Peng Fan (OSS) 2022-02-25 12:09 ` Abel Vesa @ 2022-04-06 13:24 ` Shawn Guo 1 sibling, 0 replies; 7+ messages in thread From: Shawn Guo @ 2022-04-06 13:24 UTC (permalink / raw) To: Peng Fan (OSS) Cc: sboyd, robh+dt, s.hauer, abel.vesa, kernel, festevam, linux-imx, linux-clk, devicetree, linux-arm-kernel, linux-kernel, Peng Fan On Fri, Feb 25, 2022 at 05:00:01PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > The i.MX8MQ PLL support hdmi phy 27m as pll reference clock, > so add a fixed clock for it. > > Signed-off-by: Peng Fan <peng.fan@nxp.com> Applied, thanks! ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/2] clk: imx8mq: add 27m phy pll ref clock 2022-02-25 9:00 [PATCH 0/2] imx: add hdmi 27m phy clk Peng Fan (OSS) 2022-02-25 9:00 ` [PATCH 1/2] arm64: dts: imx8mq: add hdmi phy 27m clock Peng Fan (OSS) @ 2022-02-25 9:00 ` Peng Fan (OSS) 2022-02-25 12:08 ` Abel Vesa 2022-04-07 9:16 ` Abel Vesa 1 sibling, 2 replies; 7+ messages in thread From: Peng Fan (OSS) @ 2022-02-25 9:00 UTC (permalink / raw) To: sboyd, robh+dt, shawnguo, s.hauer, abel.vesa Cc: kernel, festevam, linux-imx, linux-clk, devicetree, linux-arm-kernel, linux-kernel, Peng Fan From: Peng Fan <peng.fan@nxp.com> According to pll documentation, the 3rd pll ref clock should be hdmi phy 27m clock, not dummy clock. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- drivers/clk/imx/clk-imx8mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c index 83cc2b1c3294..a9e69b6355ed 100644 --- a/drivers/clk/imx/clk-imx8mq.c +++ b/drivers/clk/imx/clk-imx8mq.c @@ -25,7 +25,7 @@ static u32 share_count_sai6; static u32 share_count_dcss; static u32 share_count_nand; -static const char * const pll_ref_sels[] = { "osc_25m", "osc_27m", "dummy", "dummy", }; +static const char * const pll_ref_sels[] = { "osc_25m", "osc_27m", "hdmi_phy_27m", "dummy", }; static const char * const arm_pll_bypass_sels[] = {"arm_pll", "arm_pll_ref_sel", }; static const char * const gpu_pll_bypass_sels[] = {"gpu_pll", "gpu_pll_ref_sel", }; static const char * const vpu_pll_bypass_sels[] = {"vpu_pll", "vpu_pll_ref_sel", }; -- 2.25.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] clk: imx8mq: add 27m phy pll ref clock 2022-02-25 9:00 ` [PATCH 2/2] clk: imx8mq: add 27m phy pll ref clock Peng Fan (OSS) @ 2022-02-25 12:08 ` Abel Vesa 2022-04-07 9:16 ` Abel Vesa 1 sibling, 0 replies; 7+ messages in thread From: Abel Vesa @ 2022-02-25 12:08 UTC (permalink / raw) To: Peng Fan (OSS) Cc: sboyd, robh+dt, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-clk, devicetree, linux-arm-kernel, linux-kernel, Peng Fan On 22-02-25 17:00:02, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > According to pll documentation, the 3rd pll ref clock should be > hdmi phy 27m clock, not dummy clock. > > Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Abel Vesa <abel.vesa@nxp.com> > --- > drivers/clk/imx/clk-imx8mq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c > index 83cc2b1c3294..a9e69b6355ed 100644 > --- a/drivers/clk/imx/clk-imx8mq.c > +++ b/drivers/clk/imx/clk-imx8mq.c > @@ -25,7 +25,7 @@ static u32 share_count_sai6; > static u32 share_count_dcss; > static u32 share_count_nand; > > -static const char * const pll_ref_sels[] = { "osc_25m", "osc_27m", "dummy", "dummy", }; > +static const char * const pll_ref_sels[] = { "osc_25m", "osc_27m", "hdmi_phy_27m", "dummy", }; > static const char * const arm_pll_bypass_sels[] = {"arm_pll", "arm_pll_ref_sel", }; > static const char * const gpu_pll_bypass_sels[] = {"gpu_pll", "gpu_pll_ref_sel", }; > static const char * const vpu_pll_bypass_sels[] = {"vpu_pll", "vpu_pll_ref_sel", }; > -- > 2.25.1 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] clk: imx8mq: add 27m phy pll ref clock 2022-02-25 9:00 ` [PATCH 2/2] clk: imx8mq: add 27m phy pll ref clock Peng Fan (OSS) 2022-02-25 12:08 ` Abel Vesa @ 2022-04-07 9:16 ` Abel Vesa 1 sibling, 0 replies; 7+ messages in thread From: Abel Vesa @ 2022-04-07 9:16 UTC (permalink / raw) To: Peng Fan (OSS) Cc: sboyd, robh+dt, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-clk, devicetree, linux-arm-kernel, linux-kernel, Peng Fan On 22-02-25 17:00:02, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > According to pll documentation, the 3rd pll ref clock should be > hdmi phy 27m clock, not dummy clock. > > Signed-off-by: Peng Fan <peng.fan@nxp.com> Applied, thanks! > --- > drivers/clk/imx/clk-imx8mq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c > index 83cc2b1c3294..a9e69b6355ed 100644 > --- a/drivers/clk/imx/clk-imx8mq.c > +++ b/drivers/clk/imx/clk-imx8mq.c > @@ -25,7 +25,7 @@ static u32 share_count_sai6; > static u32 share_count_dcss; > static u32 share_count_nand; > > -static const char * const pll_ref_sels[] = { "osc_25m", "osc_27m", "dummy", "dummy", }; > +static const char * const pll_ref_sels[] = { "osc_25m", "osc_27m", "hdmi_phy_27m", "dummy", }; > static const char * const arm_pll_bypass_sels[] = {"arm_pll", "arm_pll_ref_sel", }; > static const char * const gpu_pll_bypass_sels[] = {"gpu_pll", "gpu_pll_ref_sel", }; > static const char * const vpu_pll_bypass_sels[] = {"vpu_pll", "vpu_pll_ref_sel", }; > -- > 2.25.1 > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-04-07 9:17 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-02-25 9:00 [PATCH 0/2] imx: add hdmi 27m phy clk Peng Fan (OSS) 2022-02-25 9:00 ` [PATCH 1/2] arm64: dts: imx8mq: add hdmi phy 27m clock Peng Fan (OSS) 2022-02-25 12:09 ` Abel Vesa 2022-04-06 13:24 ` Shawn Guo 2022-02-25 9:00 ` [PATCH 2/2] clk: imx8mq: add 27m phy pll ref clock Peng Fan (OSS) 2022-02-25 12:08 ` Abel Vesa 2022-04-07 9:16 ` Abel Vesa
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).