arm64: dts: imx8mq: Add system reset controller
Subsystems (2)
PATCH 1/1 arm64: dts: imx8mq: Add system reset controller
We can reuse the src from fsl,imx51-src as with other imx SOCs.
---
I'm mostly interested in the syscon part to be able to use regmap for MIPI DSI here.
Patch is against next-20190114 plus Lucas "arm64: dts: imx8mq: move watchdog nodes to correct location" but also applies to
https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/log/?h=imx/dt64
It will conflict with "arm64: dts: imx8mq: add GPC power domains" which is not yet in any tree I've seen.
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +7 -0
@@ -252,6 +252,13 @@ "clk_ext1", "clk_ext2", "clk_ext3", "clk_ext4"; }; + + src: src@30390000 { + compatible = "fsl,imx8mq-src", "fsl,imx51-src", "syscon"; + reg = <0x30390000 0x10000>; + interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; + #reset-cells = <1>; + }; }; bus@30400000 { /* AIPS2 */
Signature · 1 line
2.20.1
Am Dienstag, den 15.01.2019, 12:46 +0100 schrieb Guido Günther:
Quoted 1 line
We can reuse the src from fsl,imx51-src as with other imx SOCs.
That's not true. The SRC is significantly different from the i.MX51 one. See series "[PATCH v4 0/3] Reset controller support for i.MX8MQ".
We generally don't add the DT nodes until at least the binding, better yet the full driver, is upstream.
Regards,
Lucas
Quoted 29 lines
Quoted 2 lines
Signed-off-by Guido Günther <[email protected]>---
I'm mostly interested in the syscon part to be able to use regmap for MIPI DSI here.Patch is against next-20190114 plus Lucas "arm64: dts: imx8mq: move watchdog nodes to correct location" but also applies to
https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/log/?h=imx/dt64
It will conflict with "arm64: dts: imx8mq: add GPC power domains" which is not yet in any tree I've seen.
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 7 +++++++
1 file changed, 7 insertions(+)arch/arm64/boot/dts/freescale/imx8mq.dtsi +1
-0@@ -252,6 +252,13 @@ > "clk_ext1", "clk_ext2", > "clk_ext3", "clk_ext4"; > }; + > > + src: src@30390000 { > + compatible = "fsl,imx8mq-src", "fsl,imx51-src", "syscon"; > + reg = <0x30390000 0x10000>;
Quoted 6 lines
Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mq.dtsi +3
-0+ interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; + #reset-cells = <1>; + };};
Quoted 1 line
bus@30400000 { /* AIPS2 */
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi,
Quoted 8 lines · Lucas Stach
Am Dienstag, den 15.01.2019, 12:46 +0100 schrieb Guido Günther:
Quoted 1 line
We can reuse the src from fsl,imx51-src as with other imx SOCs.
That's not true. The SRC is significantly different from the i.MX51 one. See series "[PATCH v4 0/3] Reset controller support for i.MX8MQ".
We generally don't add the DT nodes until at least the binding, better yet the full driver, is upstream.
I guess I got carried away by the parts I needed working and mostly requiring the syscon part. So let's hold that off, thanks for the quick reply.
Cheers,
-- Guido