1. 22 2月, 2019 2 次提交
  2. 25 1月, 2019 1 次提交
  3. 10 1月, 2019 1 次提交
  4. 29 12月, 2018 1 次提交
  5. 15 12月, 2018 5 次提交
    • A
      clk: imx: imx7ulp: add arm hsrun mode clocks support · 7128d7f7
      Anson Huang 提交于
      i.MX7ULP has a Cortex-A7 CPU which can run in RUN mode
      or HSRUN mode, it is controlled in SMC1 module. The RUN
      mode and HSRUN mode will use different clock source for
      ARM, "divcore" for RUN mode and "hsrun_divcore" for HSRUN
      mode, so the control bits in SMC1 module can be abstracted
      as a HW clock mux, this patch adds HSRUN mode related
      clocks in SCG1 module and adds "arm" clock in SMC1 module
      to support RUN mode and HSRUN mode switch.
      
      Latest clock tree in RUN mode as below:
      
       firc                                 0        0        0    48000000          0     0  50000
          firc_bus_clk                      0        0        0    48000000          0     0  50000
          hsrun_scs_sel                     0        0        0    48000000          0     0  50000
             hsrun_divcore                  0        0        0    48000000          0     0  50000
      
       sosc                                 3        3        3    24000000          0     0  50000
          spll_pre_sel                      1        1        1    24000000          0     0  50000
             spll_pre_div                   1        1        2    24000000          0     0  50000
                spll                        1        1        2   528000000          0     0  50000
                   spll_pfd0                1        1        1   500210526          0     0  50000
                      spll_pfd_sel          1        1        0   500210526          0     0  50000
                         spll_sel           1        1        0   500210526          0     0  50000
                            scs_sel         1        1        0   500210526          0     0  50000
                               divcore      1        1        0   500210526          0     0  50000
                                  arm       1        1        0   500210526          0     0  50000
      Signed-off-by: NAnson Huang <Anson.Huang@nxp.com>
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      7128d7f7
    • A
      clk: imx: add imx8qxp lpcg driver · 1e3121bf
      Aisheng Dong 提交于
      Add imx8qxp lpcg driver support
      
      Cc: Stephen Boyd <sboyd@kernel.org>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Signed-off-by: NDong Aisheng <aisheng.dong@nxp.com>
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      1e3121bf
    • A
      clk: imx: add lpcg clock support · 2f77296d
      Aisheng Dong 提交于
      The Low-Power Clock Gate (LPCG) modules contain a local programming
      model to control the clock gates for the peripherals. An LPCG module
      is used to locally gate the clocks for the associated peripheral.
      And they're bedind the SCU clock.
      
      Cc: Stephen Boyd <sboyd@kernel.org>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Signed-off-by: NDong Aisheng <aisheng.dong@nxp.com>
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      2f77296d
    • A
      clk: imx: add imx8qxp clk driver · c2cccb6d
      Aisheng Dong 提交于
      Add imx8qxp clk driver which is based on SCU firmware clock service.
      
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Stephen Boyd <sboyd@kernel.org>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Signed-off-by: NDong Aisheng <aisheng.dong@nxp.com>
      [sboyd@kernel.org: Move the makefile rule higher in the file]
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      c2cccb6d
    • A
      clk: imx: Make the i.MX8MQ CCM clock driver CLK_IMX8MQ dependant · d360b130
      Abel Vesa 提交于
      Remove the dependency between the i.MX8MQ CCM clock driver
      and the CONFIG_SOC_IMX8MQ and use CONFIG_CLK_IMX8MQ instead.
      CONFIG_CLK_IMX8MQ depends on ARCH_MXC && ARM64.
      Signed-off-by: NAbel Vesa <abel.vesa@nxp.com>
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      d360b130
  6. 14 12月, 2018 2 次提交
    • A
      clk: imx: add scu clock common part · fe37b482
      Aisheng Dong 提交于
      Add SCU clock common part which will be used by client clock drivers.
      SCU clocks are totally different from the legacy clocks (No much
      legacy things can be reused), it's using a firmware interface now based
      on SCU protocol. So a new configuration option CONFIG_MXC_CLK_SCU is added.
      
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Stephen Boyd <sboyd@kernel.org>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Signed-off-by: NDong Aisheng <aisheng.dong@nxp.com>
      [sboyd@kernel.org: Mark ccm_ipc_handle static]
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      fe37b482
    • A
      clk: imx: add configuration option for mmio clks · 3a48d918
      Aisheng Dong 提交于
      The patch introduces CONFIG_MXC_CLK option for legacy MMIO clocks,
      this is required to compile legacy MMIO clock conditionally when adding
      SCU based clocks for MX8 platforms later.
      
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Stephen Boyd <sboyd@kernel.org>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Signed-off-by: NDong Aisheng <aisheng.dong@nxp.com>
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      3a48d918
  7. 11 12月, 2018 6 次提交
  8. 04 12月, 2018 11 次提交
  9. 07 11月, 2018 1 次提交
    • A
      clk: imx7d: remove UART1 clock setting · ea662d2f
      Anson Huang 提交于
      There are clock assignments in all i.MX7D dtb files for UART1,
      below is the example in imx7d-sdb.dts, so setting UART1 clock
      in clock driver is NOT necessary, actually, module clocks setting
      should be done in module driver.
      
      &uart1 {
      	pinctrl-names = "default";
      	pinctrl-0 = <&pinctrl_uart1>;
      	assigned-clocks = <&clks IMX7D_UART1_ROOT_SRC>;
      	assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
      	status = "okay";
      };
      Signed-off-by: NAnson Huang <Anson.Huang@nxp.com>
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      ea662d2f
  10. 18 10月, 2018 5 次提交
  11. 17 10月, 2018 4 次提交
  12. 26 7月, 2018 1 次提交