Skip to content

Add an i.MX25 specific CCM driver

Jean-Christophe Dubois qemu-arm qemu-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 3 repliesIn review
  2. v54 patches 2 repliesSuperseded
  3. v43 patches 9 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v33 patches7 repliesSuperseded
v22 patches5 repliesSuperseded
v12 patches0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5i.MX: Fix i.MX31 default/reset configuration.hw/misc/imx_ccm.c+1 -10 replies
2/5i.MX: rename i.MX CCM get_clock() function and CLK ID enum nameshw/misc/imx_ccm.c hw/timer/imx_epit.c hw/timer/imx_gpt.c +1 more+25 -270 replies
3/5i.MX: Split the CCM class into an abstact base class and a concrete class.hw/arm/fsl-imx25.c hw/arm/fsl-imx31.c hw/misc/Makefile.objs +8 more+521 -2680 replies
4/5i.MX: Add an i.MX25 specific CCM class/instance.hw/arm/fsl-imx25.c hw/misc/Makefile.objs hw/misc/imx25_ccm.c +2 more+424 -30 replies
5/5i.MX: move i.MX31 CCM object to register array.hw/misc/imx31_ccm.c include/hw/misc/imx31_ccm.h+115 -1112 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchPeter Crosthwaite
1/5R-b
2/5R-b
3/5R-b
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [Qemu-arm] [PATCH v6 0/5] Add an i.MX25 specific CCM driver

i.MX25 SOC has a different CCM device than i.MX31.

Qemu i.MX25 emulation was built with i.MX31 CCM driver. This allows Linux to work on top of the i.MX25 emultion but this is not correct.

Furthermore, other SOC we could emulate like i.MX6 have yet a different implementation of the CCM device.

So we split the i.MX31 into a generic base class and a specific i.MX31 class.

We then add an i.MX25 specific CCM Device and have the i.MX25 SOC use it.

Jean-Christophe Dubois (5):
i.MX: Fix i.MX31 default/reset configuration.
i.MX: rename i.MX CCM get_clock() function and CLK ID enum names i.MX: Split the CCM class into an abstact base class and a concrete
class.
i.MX: Add an i.MX25 specific CCM class/instance.
i.MX: move i.MX31 CCM object to register array.

 hw/arm/fsl-imx25.c          |   6 +-
 hw/arm/fsl-imx31.c          |   6 +-
 hw/misc/Makefile.objs       |   2 +
 hw/misc/imx25_ccm.c         | 341 ++++++++++++++++++++++++++++++++++++++++
 hw/misc/imx31_ccm.c         | 374 ++++++++++++++++++++++++++++++++++++++++++++
 hw/misc/imx_ccm.c           | 231 +++------------------------
 hw/timer/imx_epit.c         |  20 ++-
 hw/timer/imx_gpt.c          |  16 +-
 include/hw/arm/fsl-imx25.h  |   4 +-
 include/hw/arm/fsl-imx31.h  |   4 +-
 include/hw/misc/imx25_ccm.h |  79 ++++++++++
 include/hw/misc/imx31_ccm.h |  88 +++++++++++
 include/hw/misc/imx_ccm.h   |  75 ++++-----
 include/hw/timer/imx_epit.h |   5 +-
 include/hw/timer/imx_gpt.h  |   5 +-
 15 files changed, 966 insertions(+), 290 deletions(-)
 create mode 100644 hw/misc/imx25_ccm.c
 create mode 100644 hw/misc/imx31_ccm.c
 create mode 100644 include/hw/misc/imx25_ccm.h
 create mode 100644 include/hw/misc/imx31_ccm.h
Signature · 1 line
2.5.0