[PATCH 2/3] clk: imx: Build imx8mq clocks on arm64 only

2018-12-13 Thread Abel Vesa
The composite-8m, frac and sccg clocks are not used by any arm32 IMX SoC, therefore build them only on arm64. CONFIG_ARCH_MXC is arm64 only, use that. Signed-off-by: Abel Vesa --- drivers/clk/imx/Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/clk

[PATCH 1/3] arm64: Remove CONFIG_SOC_IMX8MQ and use ARCH_MXC instead

2018-12-13 Thread Abel Vesa
To keep aligned with arm64, remove the unnecessary SOC_IMX8MQ and use ARCH_MXC instead. Signed-off-by: Abel Vesa --- arch/arm64/Kconfig.platforms | 8 arch/arm64/boot/dts/freescale/Makefile | 2 +- drivers/clk/imx/Makefile | 3 ++- drivers/phy/freescale/Kconfig

[PATCH v5 5/6] arm64: dts: imx8mq: add watchdog devices

2018-12-09 Thread Abel Vesa
From: Baruch Siach Signed-off-by: Baruch Siach Signed-off-by: Lucas Stach --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index

[PATCH v5 3/6] arm64: add support for i.MX8M EVK board

2018-12-09 Thread Abel Vesa
From: Lucas Stach This is the evaluation kit board for the i.MX8M. The current level of support yields a working console and is able to boot userspace from SD card or Network. Signed-off-by: Lucas Stach Reviewed-by: Fabio Estevam (v1) Reviewed-by: Rob Herring (v3) Tested-by: Tested-by:

[PATCH v5 6/6] arm64: dts: imx8mq-evk: enable watchdog

2018-12-09 Thread Abel Vesa
From: Baruch Siach The external nWDOG signal connects to the EVK board reset circuit. Tested on the i.MX8MQ EVK rev B3. Signed-off-by: Baruch Siach Signed-off-by: Lucas Stach --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH v5 4/6] MAINTAINERS: add i.MX8 DT path to i.MX architecture

2018-12-09 Thread Abel Vesa
From: Lucas Stach Shawn agreed to take patches for the i.MX8 parts through his tree. Signed-off-by: Lucas Stach Reviewed-by: Dong Aisheng --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3625a8d..b41ebff 100644 --- a/MAINTAINERS +++

[PATCH v5 2/6] arm64: add basic DTS for i.MX8MQ

2018-12-09 Thread Abel Vesa
From: Lucas Stach This adds the basic DTS for the i.MX8MQ. For now only the following peripherals are supported: - IOMUXC (pin controller) - CCM (clock controller) - GPIO - UART - uSDHC (SD/eMMC controller) - FEC (ethernet controller) - i2c This is enough to get a very basic board support up

[PATCH v5 1/6] arm64: add basic Kconfig symbols for i.MX8

2018-12-09 Thread Abel Vesa
From: Lucas Stach Add basic Kconfig symbols to make the MXC architecture available in the ARM64 world. Signed-off-by: Lucas Stach Reviewed-by: Fabio Estevam --- arch/arm64/Kconfig.platforms | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/Kconfig.platforms

[PATCH v5 0/6] Add basic support for i.MX8MQ SoC and i.MX8MQ EVK board

2018-12-09 Thread Abel Vesa
Took this from Lucas since he's busy with some other work for the moment and I thought we might be able to get this ready for the merge window. Basically is just a respin with a minor fix for a comment from Rob. Lucas, thanks for all the effort with this. Changes since v5: * replaced the name

[PATCH v15 1/5] dt-bindings: Add binding for i.MX8MQ CCM

2018-12-01 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v15 1/5] dt-bindings: Add binding for i.MX8MQ CCM

2018-12-01 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v15 2/5] clk: imx: Add fractional PLL output clock

2018-12-01 Thread Abel Vesa
From: Lucas Stach This is a new fractional clock type introduced on i.MX8. The description of this fractional clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer

[PATCH v15 2/5] clk: imx: Add fractional PLL output clock

2018-12-01 Thread Abel Vesa
From: Lucas Stach This is a new fractional clock type introduced on i.MX8. The description of this fractional clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer

[PATCH v15 4/5] clk: imx: Add imx composite clock

2018-12-01 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 178 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v15 5/5] clk: imx: Add clock driver for i.MX8MQ CCM

2018-12-01 Thread Abel Vesa
Add driver for the Clock Control Module found on i.MX8MQ. Signed-off-by: Anson Huang Signed-off-by: Bai Ping Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx8mq.c | 589

[PATCH v15 0/5] Add i.MX8MQ clock driver

2018-12-01 Thread Abel Vesa
by replacing with do_divs in clk-frac-pll Abel Vesa (2): clk: imx: Add imx composite clock clk: imx: Add clock driver for i.MX8MQ CCM Lucas Stach (3): dt-bindings: Add binding for i.MX8MQ CCM clk: imx: Add fractional PLL output clock clk: imx: Add SCCG PLL type .../devicetree/bindings

[PATCH v15 3/5] clk: imx: Add SCCG PLL type

2018-12-01 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. The description of this SCCG clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx

[PATCH v15 4/5] clk: imx: Add imx composite clock

2018-12-01 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 178 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v15 5/5] clk: imx: Add clock driver for i.MX8MQ CCM

2018-12-01 Thread Abel Vesa
Add driver for the Clock Control Module found on i.MX8MQ. Signed-off-by: Anson Huang Signed-off-by: Bai Ping Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx8mq.c | 589

[PATCH v15 0/5] Add i.MX8MQ clock driver

2018-12-01 Thread Abel Vesa
by replacing with do_divs in clk-frac-pll Abel Vesa (2): clk: imx: Add imx composite clock clk: imx: Add clock driver for i.MX8MQ CCM Lucas Stach (3): dt-bindings: Add binding for i.MX8MQ CCM clk: imx: Add fractional PLL output clock clk: imx: Add SCCG PLL type .../devicetree/bindings

[PATCH v15 3/5] clk: imx: Add SCCG PLL type

2018-12-01 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. The description of this SCCG clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx

[PATCH] clk: imx: Use do_div in SCCG due to 64-bit divisor

2018-11-29 Thread Abel Vesa
] Error 1 Fixes: 9fd680d0fafd ("clk: imx: add fractional PLL output clock") Signed-off-by: Abel Vesa Reported-by: Stephen Rothwell --- drivers/clk/imx/clk-frac-pll.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/clk/imx/clk-frac-pll.c b/drivers/clk/im

[PATCH] clk: imx: Use do_div in SCCG due to 64-bit divisor

2018-11-29 Thread Abel Vesa
] Error 1 Fixes: 9fd680d0fafd ("clk: imx: add fractional PLL output clock") Signed-off-by: Abel Vesa Reported-by: Stephen Rothwell --- drivers/clk/imx/clk-frac-pll.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/clk/imx/clk-frac-pll.c b/drivers/clk/im

[PATCH v14 4/5] clk: imx: Add imx composite clock

2018-11-29 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 178 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v14 4/5] clk: imx: Add imx composite clock

2018-11-29 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 178 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v14 3/5] clk: imx: Add SCCG PLL type

2018-11-29 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. The description of this SCCG clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx

[PATCH v14 3/5] clk: imx: Add SCCG PLL type

2018-11-29 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. The description of this SCCG clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx

[PATCH v14 1/5] dt-bindings: Add binding for i.MX8MQ CCM

2018-11-29 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v14 1/5] dt-bindings: Add binding for i.MX8MQ CCM

2018-11-29 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v14 5/5] clk: imx: Add clock driver for i.MX8MQ CCM

2018-11-29 Thread Abel Vesa
Add driver for the Clock Control Module found on i.MX8MQ. Signed-off-by: Anson Huang Signed-off-by: Bai Ping Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx8mq.c | 589

[PATCH v14 5/5] clk: imx: Add clock driver for i.MX8MQ CCM

2018-11-29 Thread Abel Vesa
Add driver for the Clock Control Module found on i.MX8MQ. Signed-off-by: Anson Huang Signed-off-by: Bai Ping Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx8mq.c | 589

[PATCH v14 0/5] Add i.MX8MQ clock driver

2018-11-29 Thread Abel Vesa
Here is a link to the 13th version: https://lkml.org/lkml/2018/11/13/1020 Changes since v13: * included changes suggested by Stephen Boyd Abel Vesa (2): clk: imx: Add imx composite clock clk: imx: Add clock driver for i.MX8MQ CCM Lucas Stach (3): dt-bindings: Add binding for i.MX8MQ CCM

[PATCH v14 2/5] clk: imx: Add fractional PLL output clock

2018-11-29 Thread Abel Vesa
From: Lucas Stach This is a new fractional clock type introduced on i.MX8. The description of this fractional clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer

[PATCH v14 0/5] Add i.MX8MQ clock driver

2018-11-29 Thread Abel Vesa
Here is a link to the 13th version: https://lkml.org/lkml/2018/11/13/1020 Changes since v13: * included changes suggested by Stephen Boyd Abel Vesa (2): clk: imx: Add imx composite clock clk: imx: Add clock driver for i.MX8MQ CCM Lucas Stach (3): dt-bindings: Add binding for i.MX8MQ CCM

[PATCH v14 2/5] clk: imx: Add fractional PLL output clock

2018-11-29 Thread Abel Vesa
From: Lucas Stach This is a new fractional clock type introduced on i.MX8. The description of this fractional clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer

[PATCH v13 4/5] clk: imx: Add imx composite clock

2018-11-13 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 178 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v13 4/5] clk: imx: Add imx composite clock

2018-11-13 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 178 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v13 5/5] clk: imx: Add clock driver for i.MX8MQ CCM

2018-11-13 Thread Abel Vesa
Add driver for the Clock Control Module found on i.MX8MQ. Signed-off-by: Anson Huang Signed-off-by: Bai Ping Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx8mq.c | 589

[PATCH v13 5/5] clk: imx: Add clock driver for i.MX8MQ CCM

2018-11-13 Thread Abel Vesa
Add driver for the Clock Control Module found on i.MX8MQ. Signed-off-by: Anson Huang Signed-off-by: Bai Ping Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx8mq.c | 589

[PATCH v13 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-11-13 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v13 0/5] Add i.MX8MQ clock driver

2018-11-13 Thread Abel Vesa
Here is a link to the 12th version: https://lkml.org/lkml/2018/11/7/642 Changes since v12: * replaced the division in clk_pll_recalc_rate in clk-frac with do_div as suggested by Stephen Abel Vesa (2): clk: imx: Add imx composite clock clk: imx: Add clock driver for i.MX8MQ CCM Lucas

[PATCH v13 3/5] clk: imx: Add SCCG PLL type

2018-11-13 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. The description of this SCCG clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx

[PATCH v13 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-11-13 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v13 0/5] Add i.MX8MQ clock driver

2018-11-13 Thread Abel Vesa
Here is a link to the 12th version: https://lkml.org/lkml/2018/11/7/642 Changes since v12: * replaced the division in clk_pll_recalc_rate in clk-frac with do_div as suggested by Stephen Abel Vesa (2): clk: imx: Add imx composite clock clk: imx: Add clock driver for i.MX8MQ CCM Lucas

[PATCH v13 3/5] clk: imx: Add SCCG PLL type

2018-11-13 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. The description of this SCCG clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx

[PATCH v13 2/5] clk: imx: add fractional PLL output clock

2018-11-13 Thread Abel Vesa
From: Lucas Stach This is a new fractional clock type introduced on i.MX8. The description of this fractional clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer

[PATCH v13 2/5] clk: imx: add fractional PLL output clock

2018-11-13 Thread Abel Vesa
From: Lucas Stach This is a new fractional clock type introduced on i.MX8. The description of this fractional clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer

Re: [PATCH v9 3/5] clk: imx: add SCCG PLL type

2018-11-08 Thread Abel Vesa
On Wed, Nov 07, 2018 at 04:18:35PM -0800, Stephen Boyd wrote: > Quoting Abel Vesa (2018-11-07 12:26:25) > > On Wed, Nov 07, 2018 at 11:01:02AM -0800, Stephen Boyd wrote: > > > > > > > > > What's the plan to clean it up? > > > > So I'm doing this

Re: [PATCH v9 3/5] clk: imx: add SCCG PLL type

2018-11-08 Thread Abel Vesa
On Wed, Nov 07, 2018 at 04:18:35PM -0800, Stephen Boyd wrote: > Quoting Abel Vesa (2018-11-07 12:26:25) > > On Wed, Nov 07, 2018 at 11:01:02AM -0800, Stephen Boyd wrote: > > > > > > > > > What's the plan to clean it up? > > > > So I'm doing this

Re: [PATCH v9 3/5] clk: imx: add SCCG PLL type

2018-11-07 Thread Abel Vesa
On Wed, Nov 07, 2018 at 11:01:02AM -0800, Stephen Boyd wrote: > Quoting Abel Vesa (2018-11-07 03:54:45) > > On Wed, Oct 17, 2018 at 12:55:52PM -0700, Stephen Boyd wrote: > > > Quoting Abel Vesa (2018-09-24 03:39:55) > > > > +static unsigned long clk_pll2

Re: [PATCH v9 3/5] clk: imx: add SCCG PLL type

2018-11-07 Thread Abel Vesa
On Wed, Nov 07, 2018 at 11:01:02AM -0800, Stephen Boyd wrote: > Quoting Abel Vesa (2018-11-07 03:54:45) > > On Wed, Oct 17, 2018 at 12:55:52PM -0700, Stephen Boyd wrote: > > > Quoting Abel Vesa (2018-09-24 03:39:55) > > > > +static unsigned long clk_pll2

[PATCH v12 2/5] clk: imx: add fractional PLL output clock

2018-11-07 Thread Abel Vesa
From: Lucas Stach This is a new fractional clock type introduced on i.MX8. The description of this fractional clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer

[PATCH v12 4/5] clk: imx: Add imx composite clock

2018-11-07 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 178 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v12 2/5] clk: imx: add fractional PLL output clock

2018-11-07 Thread Abel Vesa
From: Lucas Stach This is a new fractional clock type introduced on i.MX8. The description of this fractional clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer

[PATCH v12 4/5] clk: imx: Add imx composite clock

2018-11-07 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 178 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v12 0/5] Add i.MX8MQ clock driver

2018-11-07 Thread Abel Vesa
* fixed the all other comments from Stephen Abel Vesa (2): clk: imx: Add imx composite clock clk: imx: Add clock driver for i.MX8MQ CCM Lucas Stach (3): dt-bindings: add binding for i.MX8MQ CCM clk: imx: add fractional PLL output clock clk: imx: Add SCCG PLL type .../devicetree/bindings

[PATCH v12 3/5] clk: imx: Add SCCG PLL type

2018-11-07 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. The description of this SCCG clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx

[PATCH v12 0/5] Add i.MX8MQ clock driver

2018-11-07 Thread Abel Vesa
* fixed the all other comments from Stephen Abel Vesa (2): clk: imx: Add imx composite clock clk: imx: Add clock driver for i.MX8MQ CCM Lucas Stach (3): dt-bindings: add binding for i.MX8MQ CCM clk: imx: add fractional PLL output clock clk: imx: Add SCCG PLL type .../devicetree/bindings

[PATCH v12 3/5] clk: imx: Add SCCG PLL type

2018-11-07 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. The description of this SCCG clock can be found here: https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx

[PATCH v12 5/5] clk: imx: Add clock driver for i.MX8MQ CCM

2018-11-07 Thread Abel Vesa
Add driver for the Clock Control Module found on i.MX8MQ. Signed-off-by: Anson Huang Signed-off-by: Bai Ping Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx8mq.c | 589

[PATCH v12 5/5] clk: imx: Add clock driver for i.MX8MQ CCM

2018-11-07 Thread Abel Vesa
Add driver for the Clock Control Module found on i.MX8MQ. Signed-off-by: Anson Huang Signed-off-by: Bai Ping Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx8mq.c | 589

[PATCH v12 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-11-07 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v12 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-11-07 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

Re: [PATCH v9 2/5] clk: imx: add fractional PLL output clock

2018-11-07 Thread Abel Vesa
On Wed, Oct 17, 2018 at 12:59:44PM -0700, Stephen Boyd wrote: > Quoting Abel Vesa (2018-09-24 03:39:54) > > From: Lucas Stach > > > > This is a new clock type introduced on i.MX8. > > Ok, what's the clock type? Add another sentence please. > Added in the ne

Re: [PATCH v9 2/5] clk: imx: add fractional PLL output clock

2018-11-07 Thread Abel Vesa
On Wed, Oct 17, 2018 at 12:59:44PM -0700, Stephen Boyd wrote: > Quoting Abel Vesa (2018-09-24 03:39:54) > > From: Lucas Stach > > > > This is a new clock type introduced on i.MX8. > > Ok, what's the clock type? Add another sentence please. > Added in the ne

Re: [PATCH v9 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-11-07 Thread Abel Vesa
On Wed, Oct 17, 2018 at 12:44:52PM -0700, Stephen Boyd wrote: > Quoting Abel Vesa (2018-09-24 03:39:57) > > From: Lucas Stach > > > > Add driver for the Clock Control Module found on i.MX8MQ. > > > > This is largely based on the downstream driver from Anson Hu

Re: [PATCH v9 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-11-07 Thread Abel Vesa
On Wed, Oct 17, 2018 at 12:44:52PM -0700, Stephen Boyd wrote: > Quoting Abel Vesa (2018-09-24 03:39:57) > > From: Lucas Stach > > > > Add driver for the Clock Control Module found on i.MX8MQ. > > > > This is largely based on the downstream driver from Anson Hu

Re: [PATCH v9 3/5] clk: imx: add SCCG PLL type

2018-11-07 Thread Abel Vesa
On Wed, Oct 17, 2018 at 12:55:52PM -0700, Stephen Boyd wrote: > Quoting Abel Vesa (2018-09-24 03:39:55) > > diff --git a/drivers/clk/imx/clk-sccg-pll.c b/drivers/clk/imx/clk-sccg-pll.c > > new file mode 100644 > > index 000..a9837fa > > --- /dev/null > > +++

Re: [PATCH v9 3/5] clk: imx: add SCCG PLL type

2018-11-07 Thread Abel Vesa
On Wed, Oct 17, 2018 at 12:55:52PM -0700, Stephen Boyd wrote: > Quoting Abel Vesa (2018-09-24 03:39:55) > > diff --git a/drivers/clk/imx/clk-sccg-pll.c b/drivers/clk/imx/clk-sccg-pll.c > > new file mode 100644 > > index 000..a9837fa > > --- /dev/null > > +++

Re: [PATCH v9 4/5] clk: imx: add imx composite clock

2018-10-18 Thread Abel Vesa
On Wed, Oct 17, 2018 at 12:51:35PM -0700, Stephen Boyd wrote: > Quoting Abel Vesa (2018-09-24 03:39:56) > > + clk = clk_register_composite(NULL, name, parent_names, num_parents, > > + mux_hw, _

Re: [PATCH v9 4/5] clk: imx: add imx composite clock

2018-10-18 Thread Abel Vesa
On Wed, Oct 17, 2018 at 12:51:35PM -0700, Stephen Boyd wrote: > Quoting Abel Vesa (2018-09-24 03:39:56) > > + clk = clk_register_composite(NULL, name, parent_names, num_parents, > > + mux_hw, _

Re: [PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-10 Thread Abel Vesa
On Wed, Oct 10, 2018 at 07:37:44AM +0200, Sascha Hauer wrote: > On Tue, Oct 09, 2018 at 10:56:14PM +, Leonard Crestez wrote: > > On Tue, 2018-10-09 at 08:37 +0000, Abel Vesa wrote: > > > +struct clk *imx_clk_composite_8m_flags(const char *name, > > > +

Re: [PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-10 Thread Abel Vesa
On Wed, Oct 10, 2018 at 07:37:44AM +0200, Sascha Hauer wrote: > On Tue, Oct 09, 2018 at 10:56:14PM +, Leonard Crestez wrote: > > On Tue, 2018-10-09 at 08:37 +0000, Abel Vesa wrote: > > > +struct clk *imx_clk_composite_8m_flags(const char *name, > > > +

[PATCH v11 2/5] clk: imx: add fractional PLL output clock

2018-10-10 Thread Abel Vesa
From: Lucas Stach This is a new clock type introduced on i.MX8. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-frac-pll.c | 215 + drivers/clk/imx/clk.h

[PATCH v11 4/5] clk: imx: add imx composite clock

2018-10-10 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 181 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v11 2/5] clk: imx: add fractional PLL output clock

2018-10-10 Thread Abel Vesa
From: Lucas Stach This is a new clock type introduced on i.MX8. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-frac-pll.c | 215 + drivers/clk/imx/clk.h

[PATCH v11 4/5] clk: imx: add imx composite clock

2018-10-10 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 181 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v11 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-10-10 Thread Abel Vesa
From: Lucas Stach Add driver for the Clock Control Module found on i.MX8MQ. This is largely based on the downstream driver from Anson Huang and Bai Ping at NXP, plus the imx composite clock from Abel Vesa at NXP, with only some small adaptions to mainline from me. Signed-off-by: Lucas Stach

[PATCH v11 3/5] clk: imx: add SCCG PLL type

2018-10-10 Thread Abel Vesa
Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 3 +- drivers/clk/imx/clk-sccg-pll.c | 237 + drivers/clk/imx/clk.h | 9 ++ 3 files changed, 248 insertions(+), 1 deletion(-) create mode 100644 drivers/clk

[PATCH v11 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-10-10 Thread Abel Vesa
From: Lucas Stach Add driver for the Clock Control Module found on i.MX8MQ. This is largely based on the downstream driver from Anson Huang and Bai Ping at NXP, plus the imx composite clock from Abel Vesa at NXP, with only some small adaptions to mainline from me. Signed-off-by: Lucas Stach

[PATCH v11 3/5] clk: imx: add SCCG PLL type

2018-10-10 Thread Abel Vesa
Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 3 +- drivers/clk/imx/clk-sccg-pll.c | 237 + drivers/clk/imx/clk.h | 9 ++ 3 files changed, 248 insertions(+), 1 deletion(-) create mode 100644 drivers/clk

[PATCH v11 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-10-10 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v11 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-10-10 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v11 0/5] Add i.MX8MQ clock driver

2018-10-10 Thread Abel Vesa
Changes since v10: * Renamed everything from imx_clk_composite_8m to imx8m_clk_composite Abel Vesa (1): clk: imx: add imx composite clock Lucas Stach (4): dt-bindings: add binding for i.MX8MQ CCM clk: imx: add fractional PLL output clock clk: imx: add SCCG PLL type clk: imx: add clock

[PATCH v11 0/5] Add i.MX8MQ clock driver

2018-10-10 Thread Abel Vesa
Changes since v10: * Renamed everything from imx_clk_composite_8m to imx8m_clk_composite Abel Vesa (1): clk: imx: add imx composite clock Lucas Stach (4): dt-bindings: add binding for i.MX8MQ CCM clk: imx: add fractional PLL output clock clk: imx: add SCCG PLL type clk: imx: add clock

[PATCH v10 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-10-09 Thread Abel Vesa
From: Lucas Stach Add driver for the Clock Control Module found on i.MX8MQ. This is largely based on the downstream driver from Anson Huang and Bai Ping at NXP, plus the imx composite clock from Abel Vesa at NXP, with only some small adaptions to mainline from me. Signed-off-by: Lucas Stach

[PATCH v10 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-10-09 Thread Abel Vesa
From: Lucas Stach Add driver for the Clock Control Module found on i.MX8MQ. This is largely based on the downstream driver from Anson Huang and Bai Ping at NXP, plus the imx composite clock from Abel Vesa at NXP, with only some small adaptions to mainline from me. Signed-off-by: Lucas Stach

[PATCH v10 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-10-09 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v10 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-10-09 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v10 2/5] clk: imx: add fractional PLL output clock

2018-10-09 Thread Abel Vesa
From: Lucas Stach This is a new clock type introduced on i.MX8. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-frac-pll.c | 215 + drivers/clk/imx/clk.h

[PATCH v10 3/5] clk: imx: add SCCG PLL type

2018-10-09 Thread Abel Vesa
Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 3 +- drivers/clk/imx/clk-sccg-pll.c | 237 + drivers/clk/imx/clk.h | 9 ++ 3 files changed, 248 insertions(+), 1 deletion(-) create mode 100644 drivers/clk

[PATCH v10 2/5] clk: imx: add fractional PLL output clock

2018-10-09 Thread Abel Vesa
From: Lucas Stach This is a new clock type introduced on i.MX8. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-frac-pll.c | 215 + drivers/clk/imx/clk.h

[PATCH v10 3/5] clk: imx: add SCCG PLL type

2018-10-09 Thread Abel Vesa
Signed-off-by: Abel Vesa Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 3 +- drivers/clk/imx/clk-sccg-pll.c | 237 + drivers/clk/imx/clk.h | 9 ++ 3 files changed, 248 insertions(+), 1 deletion(-) create mode 100644 drivers/clk

[PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-09 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 181 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v10 0/5] Add i.MX8MQ clock driver

2018-10-09 Thread Abel Vesa
Changes since v9: * Replaced DIV_ROUND_UP_ULL with DIV_ROUND_UP * Renamed the entire composite to composite-8m Abel Vesa (1): clk: imx: add imx composite clock Lucas Stach (4): dt-bindings: add binding for i.MX8MQ CCM clk: imx: add fractional PLL output clock clk: imx: add SCCG PLL

[PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-09 Thread Abel Vesa
the composite clock with those. Signed-off-by: Abel Vesa Suggested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-composite-8m.c | 181 + drivers/clk/imx/clk.h | 16 3 files changed

[PATCH v10 0/5] Add i.MX8MQ clock driver

2018-10-09 Thread Abel Vesa
Changes since v9: * Replaced DIV_ROUND_UP_ULL with DIV_ROUND_UP * Renamed the entire composite to composite-8m Abel Vesa (1): clk: imx: add imx composite clock Lucas Stach (4): dt-bindings: add binding for i.MX8MQ CCM clk: imx: add fractional PLL output clock clk: imx: add SCCG PLL

[PATCH v9 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-09-24 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v9 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-09-24 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

[PATCH v9 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-09-24 Thread Abel Vesa
From: Lucas Stach Add driver for the Clock Control Module found on i.MX8MQ. This is largely based on the downstream driver from Anson Huang and Bai Ping at NXP, plus the imx composite clock from Abel Vesa at NXP, with only some small adaptions to mainline from me. Signed-off-by: Lucas Stach

<    1   2   3   4   5   6   7   8   >