summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2017-06-08 15:34:47 -0700
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-12-09 23:10:54 +0100
commitd9431c6d4672b30c3d6fa4d1560043f4415751d7 (patch)
treed193b3394a89cae62603a9528ec80c2ab70bdfce /include
parent085f5d1fd0c2ff76e559c2b9d2abd908c79dd5e8 (diff)
clk: imx7d: create clocks behind rawnand clock gate
The rawnand clock gate gates two clocks, NAND_USDHC_BUS_CLK_ROOT and NAND_CLK_ROOT. However, the gate has been in the chain of the latter only. This does not allow to use the NAND_USDHC_BUS_CLK_ROOT only, e.g. as required by APBH-Bridge-DMA. Add new clocks which represent the clock after the gate, and use a shared clock gate to correctly model the hardware. Signed-off-by: Stefan Agner <stefan@agner.ch> Tested-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Han Xu <han.xu@nxp.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> (cherry picked from commit 22039d150f716e4e56215d70ad23fb92caa4476e)
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/clock/imx7d-clock.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/dt-bindings/clock/imx7d-clock.h b/include/dt-bindings/clock/imx7d-clock.h
index 8691a8549ec0..be08d7790752 100644
--- a/include/dt-bindings/clock/imx7d-clock.h
+++ b/include/dt-bindings/clock/imx7d-clock.h
@@ -451,11 +451,12 @@
#define IMX7D_CLK_ARM 437
#define IMX7D_CKIL 438
#define IMX7D_OCOTP_CLK 439
-#define IMX7D_CAAM_CLK 440
-#define IMX7D_PXP_IPG_CLK 441
-#define IMX7D_PXP_AXI_CLK 442
-#define IMX7D_ENET1_IPG_ROOT_CLK 443
-#define IMX7D_ENET2_IPG_ROOT_CLK 444
-#define IMX7D_CLK_END 445
-
+#define IMX7D_NAND_RAWNAND_CLK 440
+#define IMX7D_NAND_USDHC_BUS_RAWNAND_CLK 441
+#define IMX7D_CAAM_CLK 442
+#define IMX7D_PXP_IPG_CLK 443
+#define IMX7D_PXP_AXI_CLK 444
+#define IMX7D_ENET1_IPG_ROOT_CLK 445
+#define IMX7D_ENET2_IPG_ROOT_CLK 446
+#define IMX7D_CLK_END 447
#endif /* __DT_BINDINGS_CLOCK_IMX7D_H */