MLK-16540: include: mfd: Add MX8 MQ IOMUXC GPR header
authorRobert Chiras <robert.chiras@nxp.com>
Wed, 27 Sep 2017 10:24:13 +0000 (13:24 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:47:06 +0000 (15:47 -0500)
Add header file for the i.MX8mq IOMUXC GPR register offsets definitions.
Also, include definition for the GPR_MIPI_MUX_SEL from GPR13, needed by
MIPI-DSI driver.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
include/linux/mfd/syscon/imx8mq-iomuxc-gpr.h [new file with mode: 0644]

diff --git a/include/linux/mfd/syscon/imx8mq-iomuxc-gpr.h b/include/linux/mfd/syscon/imx8mq-iomuxc-gpr.h
new file mode 100644 (file)
index 0000000..cfb8577
--- /dev/null
@@ -0,0 +1,63 @@
+/*
+ * Copyright (C) 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __LINUX_IMX8MQ_IOMUXC_GPR_H
+#define __LINUX_IMX8MQ_IOMUXC_GPR_H
+
+#define IOMUXC_GPR0    0x00
+#define IOMUXC_GPR1    0x04
+#define IOMUXC_GPR2    0x08
+#define IOMUXC_GPR3    0x0c
+#define IOMUXC_GPR4    0x10
+#define IOMUXC_GPR5    0x14
+#define IOMUXC_GPR6    0x18
+#define IOMUXC_GPR7    0x1c
+#define IOMUXC_GPR8    0x20
+#define IOMUXC_GPR9    0x24
+#define IOMUXC_GPR10   0x28
+#define IOMUXC_GPR11   0x2c
+#define IOMUXC_GPR12   0x30
+#define IOMUXC_GPR13   0x34
+#define IOMUXC_GPR14   0x38
+#define IOMUXC_GPR15   0x3c
+#define IOMUXC_GPR16   0x40
+#define IOMUXC_GPR17   0x44
+#define IOMUXC_GPR18   0x48
+#define IOMUXC_GPR19   0x4c
+#define IOMUXC_GPR20   0x50
+#define IOMUXC_GPR21   0x54
+#define IOMUXC_GPR22   0x58
+#define IOMUXC_GPR23   0x5c
+#define IOMUXC_GPR24   0x60
+#define IOMUXC_GPR25   0x64
+#define IOMUXC_GPR26   0x68
+#define IOMUXC_GPR27   0x6c
+#define IOMUXC_GPR28   0x70
+#define IOMUXC_GPR29   0x74
+#define IOMUXC_GPR30   0x78
+#define IOMUXC_GPR31   0x7c
+#define IOMUXC_GPR32   0x80
+#define IOMUXC_GPR33   0x84
+#define IOMUXC_GPR34   0x88
+#define IOMUXC_GPR35   0x8c
+#define IOMUXC_GPR36   0x90
+#define IOMUXC_GPR37   0x94
+#define IOMUXC_GPR38   0x98
+#define IOMUXC_GPR39   0x9c
+#define IOMUXC_GPR40   0xa0
+#define IOMUXC_GPR41   0xa4
+#define IOMUXC_GPR42   0xa8
+#define IOMUXC_GPR43   0xac
+#define IOMUXC_GPR44   0xb0
+#define IOMUXC_GPR45   0xb4
+#define IOMUXC_GPR46   0xb8
+#define IOMUXC_GPR47   0xbc
+
+#define IMX8MQ_GPR13_MIPI_MUX_SEL      BIT(2)
+
+#endif /* __LINUX_IMX8MQ_IOMUXC_GPR_H */