Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: reset: imx7: Document usage on i.MX8MP SoC

The driver now supports i.MX8MP, so update bindings accordingly.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Anson Huang and committed by
Philipp Zabel
c4e181d6 ecd910f4

+53 -1
+3 -1
Documentation/devicetree/bindings/reset/fsl,imx7-src.txt
··· 10 10 - For i.MX8MQ SoCs should be "fsl,imx8mq-src", "syscon" 11 11 - For i.MX8MM SoCs should be "fsl,imx8mm-src", "fsl,imx8mq-src", "syscon" 12 12 - For i.MX8MN SoCs should be "fsl,imx8mn-src", "fsl,imx8mq-src", "syscon" 13 + - For i.MX8MP SoCs should be "fsl,imx8mp-src", "syscon" 13 14 - reg: should be register base and length as documented in the 14 15 datasheet 15 16 - interrupts: Should contain SRC interrupt ··· 52 51 <dt-bindings/reset/imx7-reset.h> for i.MX7, 53 52 <dt-bindings/reset/imx8mq-reset.h> for i.MX8MQ and 54 53 <dt-bindings/reset/imx8mq-reset.h> for i.MX8MM and 55 - <dt-bindings/reset/imx8mq-reset.h> for i.MX8MN 54 + <dt-bindings/reset/imx8mq-reset.h> for i.MX8MN and 55 + <dt-bindings/reset/imx8mp-reset.h> for i.MX8MP
+50
include/dt-bindings/reset/imx8mp-reset.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 2 + /* 3 + * Copyright 2020 NXP 4 + */ 5 + 6 + #ifndef DT_BINDING_RESET_IMX8MP_H 7 + #define DT_BINDING_RESET_IMX8MP_H 8 + 9 + #define IMX8MP_RESET_A53_CORE_POR_RESET0 0 10 + #define IMX8MP_RESET_A53_CORE_POR_RESET1 1 11 + #define IMX8MP_RESET_A53_CORE_POR_RESET2 2 12 + #define IMX8MP_RESET_A53_CORE_POR_RESET3 3 13 + #define IMX8MP_RESET_A53_CORE_RESET0 4 14 + #define IMX8MP_RESET_A53_CORE_RESET1 5 15 + #define IMX8MP_RESET_A53_CORE_RESET2 6 16 + #define IMX8MP_RESET_A53_CORE_RESET3 7 17 + #define IMX8MP_RESET_A53_DBG_RESET0 8 18 + #define IMX8MP_RESET_A53_DBG_RESET1 9 19 + #define IMX8MP_RESET_A53_DBG_RESET2 10 20 + #define IMX8MP_RESET_A53_DBG_RESET3 11 21 + #define IMX8MP_RESET_A53_ETM_RESET0 12 22 + #define IMX8MP_RESET_A53_ETM_RESET1 13 23 + #define IMX8MP_RESET_A53_ETM_RESET2 14 24 + #define IMX8MP_RESET_A53_ETM_RESET3 15 25 + #define IMX8MP_RESET_A53_SOC_DBG_RESET 16 26 + #define IMX8MP_RESET_A53_L2RESET 17 27 + #define IMX8MP_RESET_SW_NON_SCLR_M7C_RST 18 28 + #define IMX8MP_RESET_OTG1_PHY_RESET 19 29 + #define IMX8MP_RESET_OTG2_PHY_RESET 20 30 + #define IMX8MP_RESET_SUPERMIX_RESET 21 31 + #define IMX8MP_RESET_AUDIOMIX_RESET 22 32 + #define IMX8MP_RESET_MLMIX_RESET 23 33 + #define IMX8MP_RESET_PCIEPHY 24 34 + #define IMX8MP_RESET_PCIEPHY_PERST 25 35 + #define IMX8MP_RESET_PCIE_CTRL_APPS_EN 26 36 + #define IMX8MP_RESET_PCIE_CTRL_APPS_TURNOFF 27 37 + #define IMX8MP_RESET_HDMI_PHY_APB_RESET 28 38 + #define IMX8MP_RESET_MEDIA_RESET 29 39 + #define IMX8MP_RESET_GPU2D_RESET 30 40 + #define IMX8MP_RESET_GPU3D_RESET 31 41 + #define IMX8MP_RESET_GPU_RESET 32 42 + #define IMX8MP_RESET_VPU_RESET 33 43 + #define IMX8MP_RESET_VPU_G1_RESET 34 44 + #define IMX8MP_RESET_VPU_G2_RESET 35 45 + #define IMX8MP_RESET_VPUVC8KE_RESET 36 46 + #define IMX8MP_RESET_NOC_RESET 37 47 + 48 + #define IMX8MP_RESET_NUM 38 49 + 50 + #endif