[PATCH v5 0/3] Reset controller support for i.MX8MQ

From: Andrey Smirnov
Date: Mon Jan 21 2019 - 21:11:06 EST


This patch contains changes I made in order to add support for i.MX8MQ
to reset-imx7.c in order to enable support of PCIE IP block on i.MX8MQ
SoCs.

Feedback is welcome!

Thanks,
Andrey Smirnov

Changes since [v4]

- Reset driver reworked to support different IP variants by providing
different struct reset_control_ops instead of having a .prepare
callback

Changes since [v3]

- Kconfig entry is converted to use ARCH_MXC

- Collected Reviewed-by from Rob Herring

Changes since [v2]

- Constified "variant" field in struct imx7_src

- Moved dt-bindings/reset/imx8mq-reset.h to be a part of the patch
documenting DT bindings

Changes since [v1]

- Series re-written to use a per-variant LUT instead of using a
single table

- Changed driver to use "imx8mq" insead of "imx8m" to match other
drivers and CONFIG_ARCH_IMX8MQ

- Updated list of exported i.MX8MQ resets, add missing and remove
bogus ones (hopefully nothing is missing this time)

[v4] lkml.kernel.org/r/20181220010700.8598-1-andrew.smirnov@xxxxxxxxx
[v3] lkml.kernel.org/r/20181217023827.7947-1-andrew.smirnov@xxxxxxxxx
[v2] lkml.kernel.org/r/20181128043738.12714-1-andrew.smirnov@xxxxxxxxx
[v1] lkml.kernel.org/r/20181117181131.9330-2-andrew.smirnov@xxxxxxxxx

Andrey Smirnov (3):
reset: imx7: Add plubming to support multiple IP variants
dt-bindings: reset: imx7: Document usage on i.MX8MQ SoCs
reset: imx7: Add support for i.MX8MQ IP block variant

.../bindings/reset/fsl,imx7-src.txt | 7 +-
drivers/reset/Kconfig | 4 +-
drivers/reset/reset-imx7.c | 172 ++++++++++++++++--
include/dt-bindings/reset/imx8mq-reset.h | 64 +++++++
4 files changed, 229 insertions(+), 18 deletions(-)
create mode 100644 include/dt-bindings/reset/imx8mq-reset.h

--
2.20.1