]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: clk/ingenic: Add MDMA and BDMA clocks
authorPaul Cercueil <paul@crapouillou.net>
Mon, 20 Dec 2021 19:33:18 +0000 (19:33 +0000)
committerStephen Boyd <sboyd@kernel.org>
Fri, 7 Jan 2022 01:51:11 +0000 (17:51 -0800)
commitb64d588e520dd8f963f6f9a5b0a6660b82552ec8
treecb09e5299b7b0c12700ede3148a1a9fbd8637329
parent40a9af63ae9ec42386d6c40b14f92fb56557c9a8
dt-bindings: clk/ingenic: Add MDMA and BDMA clocks

The Ingenic JZ4760 and JZ4770 both have an extra DMA core named BDMA
dedicated to the NAND and BCH controller, but which can also do
memory-to-memory transfers. The JZ4760 additionally has a DMA core named
MDMA dedicated to memory-to-memory transfers. The programming manual for
the JZ4770 does have a bit for a MDMA clock, but does not seem to have
the hardware wired in.

Add macros for the MDMA and BDMA clocks to the dt-bindings include
files, so that they can be used within Device Tree files.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20211220193319.114974-2-paul@crapouillou.net
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
include/dt-bindings/clock/ingenic,jz4760-cgu.h
include/dt-bindings/clock/ingenic,jz4770-cgu.h