summaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx/clk-imx8mm.c
Commit message (Collapse)AuthorAgeFilesLines
* clk: imx8m: drop clk settingsPeng Fan2020-07-141-34/+0
| | | | | | | We use non-dm code to configure the clk settings in order to simplify dm clk driver in future, so remove the duplicated code from clk driver Signed-off-by: Peng Fan <peng.fan@nxp.com>
* clk: imx8mm/8mn: Add USB clocksYe Li2020-07-141-0/+17
| | | | | | | | Add USB relevant clocks to support usb clock settings for both DM USB host and gadget drivers Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
* clk: imx8mm: Add qspi clockPeng Fan2020-07-141-0/+7
| | | | | | Add qspi clock Signed-off-by: Peng Fan <peng.fan@nxp.com>
* clk: imx8mm: fix clk set parentPeng Fan2020-07-141-1/+4
| | | | | | | Fix clk set parent, so we could still have correct clocks after parent changing. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* common: Drop log.h from common headerSimon Glass2020-05-181-0/+1
| | | | | | Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
* clk: Fix error checking of dev_read_addr_ptrSean Anderson2020-01-261-1/+1
| | | | | | dev_read_addr_ptr returns NULL on error, not FDT_ADDR_T_NONE. Signed-off-by: Sean Anderson <seanga2@gmail.com>
* clk: imx: imx8mm: Fix the first root clock in imx8mm_ahb_sels[]Frieder Schrempf2019-12-061-1/+1
| | | | | | | | The 24MHz oscillator clock is referenced by "clock-osc-24m" and not "osc_24m". Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
* clk: imx: imx8mm: add set_parent callbackPeng Fan2019-11-051-0/+19
| | | | | | | | | Add set_parent callback, then assigned-clock-parents in dts could be work. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de> Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
* clk: imx8mm: add enet clkPeng Fan2019-11-051-0/+27
| | | | | | | | | Add enet ref/timer/PHY_REF/root clk which are required to make enet function well. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de> Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
* clk: imx: add i.MX8MM clk driverPeng Fan2019-08-221-0/+415
Add i.MX8MM clk driver support. Signed-off-by: Peng Fan <peng.fan@nxp.com>