Skip to content

RFC soc: imx: Refactor BLK CTRL driver

Abel Vesa linux-arm-kernel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3soc: imx: make i.MX8MM BLK CTRL a separate driverdrivers/soc/imx/Kconfig drivers/soc/imx/Makefile drivers/soc/imx/imx8m-blk-ctrl.c +2 more+257 -2060 replies
2/3soc: imx: make i.MX8MN BLK CTRL a separate driverdrivers/soc/imx/Kconfig drivers/soc/imx/Makefile drivers/soc/imx/imx8m-blk-ctrl.c +1 more+109 -930 replies
3/3soc: imx: Rename generic BLK CTRL driver to suggest future usabilitydrivers/soc/imx/Makefile drivers/soc/imx/imx-blk-ctrl.c drivers/soc/imx/imx-blk-ctrl.h +2 more+62 -620 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] soc: imx: Refactor BLK CTRL driver

This splits the SoC specific parts into separate drivers for i.MX8MM and i.MX8MN. Should be more readable and easier to maintain.

As for the i.MX8MP BLK CTRL driver (sent by Lucas here:
https://lore.kernel.org/linux-arm-kernel/[email protected]/raw)
It can remain as a separate driver until we figure out what is the overlap and how can we make it use the generic part.

This patchset doesn't rely on the above-mentioned patch and does not impact it in any way.

Abel Vesa (3):
soc: imx: make i.MX8MM BLK CTRL a separate driver
soc: imx: make i.MX8MN BLK CTRL a separate driver
soc: imx: Rename generic BLK CTRL driver to suggest future usability

 drivers/soc/imx/Kconfig           |  14 +
 drivers/soc/imx/Makefile          |   4 +-
 drivers/soc/imx/imx-blk-ctrl.c    | 322 ++++++++++++++++
 drivers/soc/imx/imx-blk-ctrl.h    |  72 ++++
 drivers/soc/imx/imx8m-blk-ctrl.c  | 617 ------------------------------
 drivers/soc/imx/imx8mm-blk-ctrl.c | 173 +++++++++
 drivers/soc/imx/imx8mn-blk-ctrl.c | 101 +++++
 7 files changed, 685 insertions(+), 618 deletions(-)
 create mode 100644 drivers/soc/imx/imx-blk-ctrl.c
 create mode 100644 drivers/soc/imx/imx-blk-ctrl.h
 delete mode 100644 drivers/soc/imx/imx8m-blk-ctrl.c
 create mode 100644 drivers/soc/imx/imx8mm-blk-ctrl.c
 create mode 100644 drivers/soc/imx/imx8mn-blk-ctrl.c
Signature · 1 line
2.31.1