Skip to content
Snippets Groups Projects
  1. Jan 16, 2020
  2. Jan 14, 2020
  3. Jan 08, 2020
    • Peng Fan's avatar
      clk: imx: add i.MX8MP clk driver · c4cc2834
      Peng Fan authored
      
      Add i.MX8MP clk driver for i.MX8MP CLK driver model usage
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      c4cc2834
    • Peng Fan's avatar
      clk: imx: add imx_clk_mux2_flags · 6ddde48b
      Peng Fan authored
      
      Add imx_clk_mux2_flags which will be used by i.MX8MP
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      6ddde48b
    • Rasmus Villemoes's avatar
      mpc83xx_clk: always treat MPC83XX_CLK_PCI as invalid · fddf876a
      Rasmus Villemoes authored
      
      The current mpc83xx_clk driver is broken for any board for which
      mpc83xx_has_pci() is true, i.e. anything not MPC8308:
      
      When is_clk_valid() reports that MPC83XX_CLK_PCI is valid,
      init_all_clks() proceeds to call init_single_clk(), but that doesn't
      know about either MPC83XX_CLK_PCI or has any handling of the
      TYPE_SCCR_ONOFF mode correctly returned by retrieve_mode(). Hence
      init_single_clk() ends up returning -EINVAL, and the whole board hangs
      in serial_init().
      
      The quickest fix is to simply pretend that clock is invalid for
      all, since nobody can have been relying on it. Adding proper support
      seems to be a bit more involved than just handling TYPE_SCCR_ONOFF:
      
      - The power-on-reset value of SCCR[PCICM] is 0, so
        mpc83xx_clk_enable() would probably need to be tought to enable the
        clock.
      
      - The frequency of PCI_SYNC_OUT is either SYS_CLK_IN or SYS_CLK_IN/2
        depending on the CFG_CLKIN_DIV configuration input, but that can't
        be read from software, so to properly fill out
        ->speed[MPC83XX_CLK_PCI] I think one would need guidance from
        Kconfig or dtb.
      
      Partially fixes: 07d538d2 clk: Add MPC83xx clock driver
      
      Signed-off-by: default avatarRasmus Villemoes <rasmus.villemoes@prevas.dk>
      Reviewed-by: default avatarMario Six <mario.six@gdsys.cc>
      fddf876a
  4. Jan 07, 2020
  5. Dec 06, 2019
  6. Dec 03, 2019
  7. Dec 02, 2019
  8. Nov 17, 2019
  9. Nov 10, 2019
  10. Nov 07, 2019
  11. Nov 05, 2019
Loading